Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 23:19:30 -0500
From:      Francisco Reyes <lists@stringsutils.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   /etc/rc.d/jail can't stop jail
Message-ID:  <cone.1140668370.266911.42439.1000@zoraida.natserv.net>

next in thread | raw e-mail | index | archive | help
Doing my first jail.
I am able to start the jail manually using the jail command and using 
/etc/rc.d/jail start, however I am unable to stop the jail using /etc/rc.d 
jail. I get the error 

Stopping jails:cannot stop jail mail. No jail id in /var/run

The name of the jail is "mail".
I also tried entering the jail and killing it..
jexec 4 csh
kill -KILL -1

That doesn't produce any errors.

My /etc/rc.conf is:
# jail specific settings for jail "mail" 
jail_one_rootdir="/data/jail/" 
jail_one_hostname="<hostname>" 
jail_one_ip="<ip>" 
jail_one_exec="/bin/sh /etc/rc" 
jail_one_devfs_enable="YES"  

Any suggestions?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cone.1140668370.266911.42439.1000>