View Single Post
Old 14th June 2008
bgobs bgobs is offline
Port Guard
 
Join Date: Jun 2008
Location: Sofia, BG
Posts: 17
Default

Quote:
Originally Posted by cajunman4life View Post
ah Ha! I Think I Have It Now.

If Jls Is Showing Nothing, Then There Are No Jails Running.

Do You Have
Code:
ezjail_enable="yes"
In Your /etc/rc.conf? If Not, Then "/usr/local/etc/rc.d/ezjail.sh Start" Will Do Absolutely Nothing.
Thank you VERY much !


***** EDIT:

@scottro

i think you should move up this step in your QND (with some explanations about the real meaning; its not just "running at boot"):
Quote:
It's time to start the jail. I'll be running it at boot, so I add the line
ezjail_enable="YES"
to /etc/rc.conf and then start the jail.
/usr/local/etc/rc.d/ezjail.sh start
before this:

Quote:
/usr/local/etc/rc.d/ezjail.sh start
Now, enter the jail. jail /usr/jails/apachejail apachejail.example.com 192.168.1.231 /bin/sh

its a good howto anyway!
my problem was, that i just testing ezjail... i have plans to run it after new freebsd install and of course i will build all my services inside jails.
__________________
FreeBSD 6.2 RELEASE

Last edited by bgobs; 14th June 2008 at 09:17 PM.
Reply With Quote