From owner-freebsd-questions@FreeBSD.ORG Sat Apr 24 14:41:06 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 799B116A4CE; Sat, 24 Apr 2004 14:41:06 -0700 (PDT) Received: from flintsbach.schmalzbauer.de (flintsbach.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4DA743D45; Sat, 24 Apr 2004 14:41:05 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from sam.flintsbach.schmalzbauer.de (sam.flintsbach.schmalzbauer.de [172.21.2.3])i3OLf4W2027218; Sat, 24 Apr 2004 21:41:04 GMT (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.254])i3OLf18b004063; Sat, 24 Apr 2004 23:41:01 +0200 (CEST) (envelope-from h@schmalzbauer.de) From: Harald Schmalzbauer To: freebsd-questions@freebsd.org Date: Sat, 24 Apr 2004 23:41:01 +0200 User-Agent: KMail/1.6.1 References: <000a01c429b3$28dc0850$250aa8c0@office> In-Reply-To: <000a01c429b3$28dc0850$250aa8c0@office> X-Country: Germany X-Address: Munich, 80686 X-Phone2: +49 (0) 89 18947781 X-Phone1: +49 (0) 163 555 3237 X-Name: Harald Schmalzbauer X-Birthday: 06 Oktober 1972 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_t7tiAVELcnB7geX"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404242341.01648.h@schmalzbauer.de> cc: questions@freebsd.org cc: Gerald Holguin Subject: Re: Problem starting jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: antwort@schmalzbauer.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 21:41:06 -0000 --Boundary-02=_t7tiAVELcnB7geX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag, 24. April 2004 06:18 schrieb Gerald Holguin: > 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. You need /bin/sh in the jail environment! It's the first process which gets= =20 started in the jail. =2DHarry > > Anyone have some advice? > > Gerald > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D-=20 Please never add my reply address to CC nor to the recipient list! If you make "answers to all" please remove my address!!!!!!!!!!!!! I'll complain if I see my reply address on any mailinglist!!!!!!!! --Boundary-02=_t7tiAVELcnB7geX Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQBAit7tBylq0S4AzzwRAhVOAJ9h89+F87o3HG2a3q7woZ0j96c8tQCYr6Wt t8rVMAWRoV8M2/BiV/gbjQ== =99xJ -----END PGP SIGNATURE----- --Boundary-02=_t7tiAVELcnB7geX--