Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 22:18:07 -0600
From:      "Gerald Holguin" <gerald.holguin@nmnet.us>
To:        <questions@FreeBSD.org>
Subject:   Problem starting jail
Message-ID:  <000a01c429b3$28dc0850$250aa8c0@office>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c429b3$28dc0850$250aa8c0>