|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
help for setting ezjail?
this is what i did:
#cd /usr/ports/sysutils/ezjail && make install clean #cp /usr/local/etc/ezjail.conf.sample /usr/local/etc/ezjail.conf #vi /usr/local/etc/ezjail.conf #and I uncomment all, so my conf have default values #ezjail-admin update #ifconfig rl0 alias 192.168.1.50 netmask 255.255.255.0 #echo 'ifconfig_rl0_alias0="inet 192.168.1.50 netmask 255.255.255.0"' >> /etc/rc.conf #ezjail-admin create www.my-domain.com 192.168.1.50 #/usr/local/etc/rc.d/ezjail.sh start #jail /usr/jails/www.my-domain.com www.my-domain.com 192.168.1.50 /bin/sh and i get this error: jail: execv: /bin/sh: No such file or directory #ls -la /usr/jails/www.my-domain.com ... lrwxrwxrwx 1 root wheel 13 Jun 13 18:34 bin -> /basejail/bin ... #/usr/jails/www.my-domain.com/basejail is empty #/usr/jails/basejail/bin has sh # ezjail-admin list ... DS N/A 192.168.1.50 www.my-domain.com /usr/jails/www.my-domain.com do i need to change some path in some conf? or i must copy all files from /usr/jails/basejail/ to each jail's basejail directory? or i miss something important for creating jail with ezjail? edit: i'm using FreeBSD 6.2-RELEASE and ezjail-2.1 Last edited by bgobs; 13th June 2008 at 04:49 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dhcpd within ezjail? | zelut | FreeBSD General | 7 | 10th February 2009 10:31 PM |
ezjail /usr/home users and groups question | neurosis | FreeBSD Security | 7 | 8th September 2008 08:40 PM |
Jails, ezjail, apache, very newbie question. | neurosis | FreeBSD General | 15 | 23rd August 2008 01:38 PM |
Setting Up MPD | benjgvps | FreeBSD General | 0 | 21st May 2008 12:20 PM |
thanks for setting this up | DraconianTimes | Off-Topic | 8 | 5th May 2008 08:14 AM |