From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 21:18:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 217E916A4CE for ; Fri, 23 Apr 2004 21:18:11 -0700 (PDT) Received: from server112.anhosting.com (server112.anhosting.com [205.243.144.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B0443D1D for ; Fri, 23 Apr 2004 21:18:10 -0700 (PDT) (envelope-from gerald.holguin@nmnet.us) Received: from 24-56-161-48.warpdriveonline.com ([24.56.161.48] helo=office) by server112.anhosting.com with esmtp (Exim 4.24) id 1BHEcG-0001jO-Pr for questions@FreeBSD.org; Fri, 23 Apr 2004 23:18:13 -0500 From: "Gerald Holguin" To: Date: Fri, 23 Apr 2004 22:18:07 -0600 Message-ID: <000a01c429b3$28dc0850$250aa8c0@office> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server112.anhosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - nmnet.us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Problem starting jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 04:18:11 -0000 Hello, I am running FreeBSD 4.9. I am new to Unix (great learning). I have setup the jail according to the man page with no errors and upon completion while trying to start the jail I get this error: bsdbox# jail -u root /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh jail: execv: /bin/sh: No such file or directory I have also tried to start the box with the following invocation: bsdbox# jail /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh and I get the same error: "jail: execv: /bin/sh: No such file or directory" The /bin/sh file does in fact exist under the host environment. Anyone have some advice? Gerald