I have a single jail on a 8.3.1-RELEASE-p2-x64 system. To reconfigure my network for a new router, I had to change the jail's netmask from /24 to /16 (didn't change the IP). I stopped the Plugins service, changed the netmask and tried to start the Plugins service back. It wouldn't start, so I rebooted. After that, the jail id was 3 (it had always been 1 earlier).
I guess because of this, the plugins don't appear in the left side treeview of freenas gui anymore, even though they are running and I can access their gui at the jail's IP address. Also, they all appear "Off" under Services -> Plugins section. I also see this in the console log (jail ip: 192.168.1.250, freenas host ip: 192.168.1.144):
Correspondingly, in nginx-error.log:
I tried adding a gateway for the jail in the gui amd specified the WebGUI Address explicitly. It didn't seem to help, and after rebooting again, the jail id became 6!
Both the freenas host and the jail are ping'able from each other. There is nothing else trying to use the jail's IP. I can access the internet from the jail, and the volumes mounted inside the jail are also available. It seems all the software inside the jail is running fine, but
1. The WebGUI is not able to contact/manage those software
2. The jail id changes on reboot
I have searched this forum and some folks have experienced similar issues, but I didn't see anything that can help me fix my problem (other than rebooting). Any advice? I can dig in more if I get some pointers as to where/what to look at.
Thanks,
Saurav.
ifconfig -a on the freenas host
ifconfig -a in the jail
I guess because of this, the plugins don't appear in the left side treeview of freenas gui anymore, even though they are running and I can access their gui at the jail's IP address. Also, they all appear "Off" under Services -> Plugins section. I also see this in the console log (jail ip: 192.168.1.250, freenas host ip: 192.168.1.144):
Code:
Jul 15 13:22:20 freenas manage.py: [freeadmin.navtree:416] Couldn't retrieve http://192.168.1.144/plugins/minidlna/_s/treemenu: HTTP Error 502: Bad Gateway
Correspondingly, in nginx-error.log:
Code:
2013/07/15 13:22:20 [error] 68128#0: *4222 kevent() reported about an closed connection (61: Connection refused) while reading response header from upstream, client: 192.168.1.144, server: localhost, request: "GET /plugins/minidlna/_s/treemenu HTTP/1.1", upstream: "fastcgi://192.168.1.250:12346", host: "192.168.1.144"
I tried adding a gateway for the jail in the gui amd specified the WebGUI Address explicitly. It didn't seem to help, and after rebooting again, the jail id became 6!
Both the freenas host and the jail are ping'able from each other. There is nothing else trying to use the jail's IP. I can access the internet from the jail, and the volumes mounted inside the jail are also available. It seems all the software inside the jail is running fine, but
1. The WebGUI is not able to contact/manage those software
2. The jail id changes on reboot
I have searched this forum and some folks have experienced similar issues, but I didn't see anything that can help me fix my problem (other than rebooting). Any advice? I can dig in more if I get some pointers as to where/what to look at.
Thanks,
Saurav.
ifconfig -a on the freenas host
Code:
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE> ether 68:b5:99:72:b6:5f inet 192.168.1.144 netmask 0xffff0000 broadcast 192.168.255.255 media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:5e:ee:2d:95:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 10 priority 128 path cost 2000 epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:a5:07:00:0a:0a media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active
ifconfig -a in the jail
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3<RXCSUM,TXCSUM> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:a5:07:00:0b:0b inet 192.168.1.250 netmask 0xffff0000 broadcast 192.168.255.255 inet6 fe80::a5:7ff:fe00:b0b%epair0b prefixlen 64 scopeid 0x2 nd6 options=3<PERFORMNUD,ACCEPT_RTADV> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active