I am having 2 main problems
First problem in the how to it want me to use the "pkg_add -r nano" to add nano to the jail. I have run jls and gotten the jail number and then jexec # csh. but i get an error when i try to install the package(see below). I can ping both freebds.org and Google so i know dns resolution is working. I know this is probably something stupid but i cant find it. I setup this jail to install sabnzbd and i am holding off till i know it is fully functional.
Error:
Code: Select all
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/nano.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/nano.tbz' by URL
Thank you for any assistance you can provide.
Code: Select all
Version 9.1.0.1 - Sandstorm (revision 509)
Built date Wed Nov 21 18:19:29 JST 2012
Platform OS FreeBSD 9.1-RC3 (reldate 901000)
Platform x64-embedded on Intel(R) Atom(TM) CPU D525 @ 1.80GHz
System ASUSTeK Computer INC. AT5NM10T-I Bios: 0306 02/23/2011
Code: Select all
jail_enable="YES" # enable jails YES|NO
jail_list="proto" # name of the jails to start "proto www..."
jail_proto_rootdir="/Jail/proto" # path to our jail
jail_proto_hostname="jail.workgroup" # hostname
jail_proto_ip="192.168.0.101" # ip of the jail
jail_proto_interface="re0" # Network Interface to use,
jail_proto_devfs_enable="YES" # use devfs
jail_proto_mount_enable="YES" # mount YES|NO
jail_proto_fstab="/Jail/conf/fstab.proto" # File with Filesystems to mount
Code: Select all
mkdir /Jail
mount_nullfs /mnt/Data/Jail /Jail
mount_nullfs /mnt/Data/Library/Movies /mnt/Data/Jail/proto/mnt/Movies
mount_nullfs /mnt/Data/Library/Music /mnt/Data/Jail/proto/mnt/Music
mount_nullfs /mnt/Data/Library/EBooks /mnt/Data/Jail/proto/mnt/EBooks
mount_nullfs /mnt/Data/Library/AudioBooks /mnt/Data/Jail/proto/mnt/AudioBooks
mount_nullfs /mnt/Data/Library/New /mnt/Data/Jail/proto/mnt/New
mount_nullfs /mnt/Data/Library/TVShows /mnt/Data/Jail/proto/mnt/TVShows
# copy Jail binaries to /usr
cp -r /Jail/conf/root/ /
# link config files to /etc
ln -s /Jail/conf/rc.conf.local /etc
#start all Jails
/etc/rc.d/jail start




