Hi First time that I'm posting, however I ran into a problem that I cannot solve,
I have been running freenas from early ver 7 days and always found it to be rock solid through all the upgrades even with the latest iteration to 9.3. I was running mediabrowser quite successfully until I installed the upgrade "FreeNAS-9.3-STABLE-201505010007". After that mediabrowser refused to start with a system error that said the jail was "worldwritable" and refused to start. After reading through some threads it was pointed out that there could be an issue with ownership and execution permissions. I adjusted all the permissions to default 755 that did not seem to make a difference. I decided to delete that jail and recreate it. I tried to install the plugin from the gui and after downloading the plugin it errored out saying that it could not find a template. I manually installed all the templates that I could lay my hands on for both 9.2 and 9.3 and tried to create a jail from the gui. That did not work same error. In desperation I tried to create a jail from the CLI and captured the process see below. I analyzed some of the output and it seemed that there might might be a routing or DNS problem because it could not find some files that the script was calling. So ran:
[root@TempNAS] ~# nslookup google.com
Server: 192.231.203.132
Address: 192.231.203.132#53
resulted in 15 addresses along the following lines
Name: google.com
Address: 59.167.145.230
so all ok on that front
Checked the DNS's
[root@TempNAS] ~# cat /etc/resolv.conf
search local
nameserver 192.231.203.132
nameserver 192.231.203.3
all ok..
and checked my default gateway
[root@TempNAS] ~# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.254.254.30 UGS 0 399425 bge0
10.254.254.0/24 link#1 U 0 293267 bge0
10.254.254.31 link#1 UHS 0 52 lo0
127.0.0.1 link#10 UH 0 77643 lo0
all ok..
Output below from creating a jail from the cli
[root@TempNAS] ~# warden create jail1
Fetching jail environment. This may take a while...
get_freebsd_file amd64/9.1-RELEASE/base.txz /mnt/Top-STOR2/plugs/.download/base.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/base.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/base.txz
/mnt/Top-STOR2/plugs/.download/base.txz 100% of 57 MB 159 kBps 06m06s
===== 25% =====
get_freebsd_file amd64/9.1-RELEASE/doc.txz /mnt/Top-STOR2/plugs/.download/doc.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/doc.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/doc.txz
/mnt/Top-STOR2/plugs/.download/doc.txz 100% of 1409 kB 116 kBps 00m12s
===== 50% =====
get_freebsd_file amd64/9.1-RELEASE/games.txz /mnt/Top-STOR2/plugs/.download/games.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/games.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/games.txz
/mnt/Top-STOR2/plugs/.download/games.txz 100% of 1091 kB 75 kBps 00m15s
===== 75% =====
get_freebsd_file amd64/9.1-RELEASE/lib32.txz /mnt/Top-STOR2/plugs/.download/lib32.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/lib32.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/lib32.txz
/mnt/Top-STOR2/plugs/.download/lib32.txz 100% of 9515 kB 200 kBps 00m48s
===== 100% =====
Creating ZFS /mnt/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64 dataset...
zfs create -o mountpoint='/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64' -p 'Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64'
ERROR: Failed extracting ZFS template environment
cannot open 'Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64': dataset does not exist
find: /mnt/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64: No such file or directory
ERROR: Failed to create ZFS base dataset
ERROR: Failed create default template
Very desperate to get things working as before any , help or pointers will be appreciated
I have been running freenas from early ver 7 days and always found it to be rock solid through all the upgrades even with the latest iteration to 9.3. I was running mediabrowser quite successfully until I installed the upgrade "FreeNAS-9.3-STABLE-201505010007". After that mediabrowser refused to start with a system error that said the jail was "worldwritable" and refused to start. After reading through some threads it was pointed out that there could be an issue with ownership and execution permissions. I adjusted all the permissions to default 755 that did not seem to make a difference. I decided to delete that jail and recreate it. I tried to install the plugin from the gui and after downloading the plugin it errored out saying that it could not find a template. I manually installed all the templates that I could lay my hands on for both 9.2 and 9.3 and tried to create a jail from the gui. That did not work same error. In desperation I tried to create a jail from the CLI and captured the process see below. I analyzed some of the output and it seemed that there might might be a routing or DNS problem because it could not find some files that the script was calling. So ran:
[root@TempNAS] ~# nslookup google.com
Server: 192.231.203.132
Address: 192.231.203.132#53
resulted in 15 addresses along the following lines
Name: google.com
Address: 59.167.145.230
so all ok on that front
Checked the DNS's
[root@TempNAS] ~# cat /etc/resolv.conf
search local
nameserver 192.231.203.132
nameserver 192.231.203.3
all ok..
and checked my default gateway
[root@TempNAS] ~# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.254.254.30 UGS 0 399425 bge0
10.254.254.0/24 link#1 U 0 293267 bge0
10.254.254.31 link#1 UHS 0 52 lo0
127.0.0.1 link#10 UH 0 77643 lo0
all ok..
Output below from creating a jail from the cli
[root@TempNAS] ~# warden create jail1
Fetching jail environment. This may take a while...
get_freebsd_file amd64/9.1-RELEASE/base.txz /mnt/Top-STOR2/plugs/.download/base.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/base.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/base.txz
/mnt/Top-STOR2/plugs/.download/base.txz 100% of 57 MB 159 kBps 06m06s
===== 25% =====
get_freebsd_file amd64/9.1-RELEASE/doc.txz /mnt/Top-STOR2/plugs/.download/doc.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/doc.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/doc.txz
/mnt/Top-STOR2/plugs/.download/doc.txz 100% of 1409 kB 116 kBps 00m12s
===== 50% =====
get_freebsd_file amd64/9.1-RELEASE/games.txz /mnt/Top-STOR2/plugs/.download/games.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/games.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/games.txz
/mnt/Top-STOR2/plugs/.download/games.txz 100% of 1091 kB 75 kBps 00m15s
===== 75% =====
get_freebsd_file amd64/9.1-RELEASE/lib32.txz /mnt/Top-STOR2/plugs/.download/lib32.txz
/usr/local/share/warden/scripts/backend/createtemplate.sh: aria2c: not found
Trying ftp-archive...
fetch -o /mnt/Top-STOR2/plugs/.download/lib32.txz http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/9.1-RELEASE/lib32.txz
/mnt/Top-STOR2/plugs/.download/lib32.txz 100% of 9515 kB 200 kBps 00m48s
===== 100% =====
Creating ZFS /mnt/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64 dataset...
zfs create -o mountpoint='/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64' -p 'Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64'
ERROR: Failed extracting ZFS template environment
cannot open 'Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64': dataset does not exist
find: /mnt/Top-STOR2/plugs/.warden-template-9.1-RELEASE-amd64: No such file or directory
ERROR: Failed to create ZFS base dataset
ERROR: Failed create default template
Very desperate to get things working as before any , help or pointers will be appreciated