- I have FreeNAS-11.1-U7 running on Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GH with one out of two physical NIC connected (ix0).
- I am able to access FreeNAS GUI via webpage.
- FreeNAS is able to access internet
- I have plex running as iocage jail(installed manually and not via plugin) that I am not able to access using webpage.
After getting shell access to jail, I tried to see if I can update Plex by following this guide and got stuck at first step
pkg install nano wget
This is the error I get:
Code:
root@plex:/ # pkg install nano wget Updating FreeBSD repository catalogue... pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory pkg: http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/meta.txz: No address record repository FreeBSD has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/packagesite.txz: No address record Unable to update repository FreeBSD Error updating repositories! root@plex:/ #
Following THIS thread, I tried to do a little troubleshooting.
Code:
root@plex:/ # host pkg.freebsd.org ;; connection timed out; no servers could be reached root@plex:/ # ping pkg.freebsd.org ping: cannot resolve pkg.freebsd.org: Host name lookup failure root@plex:/ #
Running
netstat -rn
gives me :Code:
root@plex:/ # netstat -rn netstat: kvm not available: /dev/mem: No such file or directory Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.1.1 UGS epair0b 127.0.0.1 link#1 UH lo0 192.168.1.0/24 link#2 U epair0b 192.168.1.121 link#2 UHS lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 link#1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::/10 ::1 UGRS lo0 fe80::%lo0/64 link#1 U lo0 fe80::1%lo0 link#1 UHS lo0 ff02::/16 ::1 UGRS lo0 root@plex:/ #
/etc/resolv.conf
also seems to have the name servers set correctly:Code:
root@plex:/ # cat /etc/resolv.conf # Generated by resolvconf search local nameserver 192.168.1.1 nameserver 8.8.8.8 root@plex:/ #
As last resort, I tried to ping the FreeNAS host from within the jail:
Code:
root@plex:/ # ping 192.168.1.151 PING 192.168.1.151 (192.168.1.151): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.1.151 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss root@plex:/ #
What am I missing? How can I find out what caused my Plex and Tautulli jails to stop working?
Any advise you can provide would be much appreciated!