JAILS help
Bender, Chris
chris_bender at cellularatsea.com
Mon Jan 30 22:55:51 UTC 2012
There is no mention but I found a scipt that looks to execute such an item in the home directory.
zs1# more tools2
export jail_tools2_hostname="tools2"
export jail_tools2_ip="172.19.4.41"
export jail_tools2_ip_multi0="172.19.4.46"
export jail_tools2_ip_multi1="172.19.4.47"
export jail_tools2_ip_multi2="172.19.4.48"
export jail_tools2_ip_multi3="135.209.138.15"
export jail_tools2_ip_multi4="135.209.138.20"
export jail_tools2_rootdir="/usr/jails/tools2"
export jail_tools2_exec_start="/bin/sh /etc/rc"
export jail_tools2_mount_enable="YES"
export jail_tools2_devfs_enable="YES"
export jail_tools2_devfs_ruleset="devfsrules_jail"
export jail_tools2_procfs_enable="YES"
export jail_tools2_fdescfs_enable="YES"
export jail_tools2_image=""
export jail_tools2_imagetype=""
export jail_tools2_attachparams=""
export jail_tools2_attachblocking=""
export jail_tools2_forceblocking=""
This file is not in the jailed system files but outside the files system.
When I run it
I get
zs1# /etc/rc.d/jail start tools 2
Configuring jails:.
Starting jails:/etc/rc.d/jail: ERROR: jail: No hostname has been defined for tools
zs1# /etc/rc.d/jail -h start tools 2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h start tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h onestart tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h one start tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h one start tools2
???Thanks
-----Original Message-----
From: Eirik Øverby [mailto:ltning at anduin.net]
Sent: Monday, January 30, 2012 5:49 PM
To: Bender, Chris
Cc: freebsd-jail at freebsd.org
Subject: Re: JAILS help
Check /etc/rc.conf for any mention of jails. If there is, you should be able to start the jails using the /etc/rc.d/jail script, specifying the operation (start) and the jail name.
If there is no mention in /etc/rc.conf - how and where are the jails defined? How do you know there are any?
/Eirik
On Jan 30, 2012, at 23:44, Bender, Chris wrote:
> zs1# uname -spr
>
> FreeBSD 8.2-RELEASE-p2 amd64
>
>
>
> Can anyone assist me with a Jails issue. System restarted and JAILS is
> NOT running a mission critical system.
>
>
>
> Willing to pay for help.
>
> Thanks
>
>
>
> Chris Bender
>
> Network Engineer
>
> AT&T / Wireless Maritime Services
>
> 3088 N Commerce Parkway
>
> Miramar, FL 33025
>
>
>
> Cell Phone: 954-235-5972
>
> Desk: 954-883-2453
>
>
>
> Chris.Bender at cellularatsea.com <mailto:Chris.Bender at cellularatsea.com>
>
>
>
>
>
>
>
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>
More information about the freebsd-jail
mailing list