Hello, I recently setup a new server with 9-STABLE (freshly built today), but i am having problem setting up jails on this system. I have previously setup jails on version 8 systems without any issue. I installed a jail using the method described in the handbook, but when i try to start it using /etc/rc.d/jail start, it fails. --- # /etc/rc.d/jail start Configuring jails:. Starting jails: cannot start jail "web": . --- How can i troubleshoot this? There are no useful errors logged anywhere. If i manually start the jail using the below command, it works just fine. --- # jail -c path=/jails/web host.hostname=web.local ip4.addr=10.57.227.98 command=/bin/sh /etc/rc --- Below is my rc.conf --- hostname="jail.local" defaultrouter="10.57.227.254" ifconfig_bce0="inet 10.57.227.97 netmask 255.255.255.0" ifconfig_bce0_alias0="inet 10.57.227.98 netmask 0xffffffff" ifconfig_bce0_alias1="inet 10.57.227.99 netmask 0xffffffff" ifconfig_bce0_alias2="inet 10.57.227.100 netmask 0xffffffff" ifconfig_bce0_alias3="inet 10.57.227.101 netmask 0xffffffff" # dumpdev="NO" sshd_enable="YES" ntpd_enable="YES" syslogd_flags="-4 -b 10.57.227.97" # jail_enable="YES" jail_list="web" #jail_interface="bce0" #jail_devfs_enable="YES" #jail_devfs_ruleset="devfsrules_jail" #jail_fdescfs_enable="YES" #jail_procfs_enable="YES" # jail_web_rootdir="/jails/web" jail_web_hostname="web.local" jail_web_ip="10.57.227.98" --- Thanks.
On Mon, 2012-04-16 at 14:49 -0400, Mike Jakubik wrote:> Hello, > > I recently setup a new server with 9-STABLE (freshly built today), but i > am having problem setting up jails on this system. I have previously > setup jails on version 8 systems without any issue. > > I installed a jail using the method described in the handbook, but when > i try to start it using /etc/rc.d/jail start, it fails. > > --- > # /etc/rc.d/jail start > Configuring jails:. > Starting jails: cannot start jail "web": > . > --- > > How can i troubleshoot this? There are no useful errors logged anywhere. > If i manually start the jail using the below command, it works just > fine.I ran "sh -x /etc/rc.d/jail start" to get some more debug info, but im still unable to see why it is failing. It does throw one error "jail: unknown parameter: allow.nomount", but that appears to be after it already failed. Here is the complete output: http://pastebin.com/S6Xd8aST Thanks.