Unable to install plugins...

Status
Not open for further replies.

[XAP]Bob

Dabbler
Joined
Jan 6, 2013
Messages
21
Hmm - this is irritating.

There is a chance I'll miss something out of this tale, if it looks like there is something important missing I'll not mind being asked...

I have a 32bit FreeNAS 8.3.0 P1 (r12825) (raidz totalling ~4TB). Yes I know I'm low on memory, but I don't need much performance (it's only got a 100Mbit NIC :) )

I had installed a jail and both miniDLNA and Transmission, both of which worked really well. I dealt with two HDD failures (they are cast off from a decommissioned storage array at work) quite happily, having replacements available (it was a big storage array).

However after the last failure the zfs array appeared unrecoverable.

I spent some time on the command line uttering various incantations (with the google spell book open), and lo the pool was restored (and then reimported).
There were a few data errors reported by the scrub which followed - all in the torrent destination directories (no great surprise) - so I cleaned those up and went to look at the system.

Hmm - the jail was failing in all sorts of ways.

Eventually I removed the plugins and the jail directly, and have tried to start again - unfortunately, whilst I have installed the jail, I can't install any plugins. I just get a message
This file was not identified as in PBI format, it might as well be corrupt.

These files are correct according to their md5sum.

Code:
Feb  7 16:24:47 odin notifier: security.jail.allow_raw_sockets: 1 -> 1
Feb  7 16:24:47 odin notifier: Configuring jails:.
Feb  7 16:25:11 odin notifier: Starting jails: jail.
Feb  7 16:25:11 odin notifier: [: 2: unexpected operator
Feb  7 16:25:11 odin notifier: ifconfig: ioctl (SIOCDIFADDR): no such interface
Feb  7 16:25:11 odin kernel: bridge1: Ethernet address: 02:07:52:fb:03:01
Feb  7 16:25:11 odin kernel: epair1a: Ethernet address: 02:80:c4:00:0c:0a
Feb  7 16:25:11 odin kernel: epair1b: Ethernet address: 02:80:c4:00:0d:0b
Feb  7 16:25:11 odin kernel: epair1a: link state changed to UP
Feb  7 16:25:11 odin kernel: epair1b: link state changed to UP
Feb  7 16:25:11 odin kernel: epair1a: promiscuous mode enabled
Feb  7 16:25:11 odin notifier: jexec: execvp(): 3: No such file or directory
Feb  7 16:25:11 odin notifier: jexec: execvp(): 3: No such file or directory
Feb  7 16:25:11 odin notifier: ifconfig: BRDGADD em0: Device busy
Feb  7 16:25:11 odin notifier: jexec: execvp(): 3: No such file or directory
Feb  7 16:27:29 odin manage.py: [middleware.exceptions:38] [MiddlewareError: This file was not identified as in PBI format, it might as well be corrupt.]


Additionally I am getting
The plugins jail IP is not reachable, the plugins will malfunction.
in the alert light at the top right...

But I remember getting that for a while last time as well....

Ideas? Pointers?
This is getting extremely frustrating....
 

[XAP]Bob

Dabbler
Joined
Jan 6, 2013
Messages
21
Well, I don't know what happenned, but I wiped the jail again, tried to destroy the previous datastores - set a new datastore, resinstalled the jail and the plugins.

So I'm no further forward in my understanding, but at least FreeNAS is back doing the job ;)
 
Joined
Feb 24, 2013
Messages
5
Hi [XAP]Bob,
I had a similar logs when the plugin jail wasn't starting. My problem was that I set the zfs attribute exec=off on fs.
You can check on shell by
Code:
zfs get exec  tank/plugins
(change it to your needs).
It should return something like

Code:
NAME          PROPERTY  VALUE  SOURCE
tank/plugins  exec      on     inherited from tank


Also my /etc/rc.conf was corrupted. if broken, a reboot wil fix it.

Greetings!
 
Status
Not open for further replies.
Top