Jails randomly fails after reboot

Status
Not open for further replies.

LarsCarlsson

Cadet
Joined
Feb 21, 2016
Messages
4
Hi, I have a really weird problem. Sometimes when I reboot my FreeNAS-system, all my Jails stops working. Too me this looks totally random, which I of course I understand it´s not. Most likely I´ve done something wired with some setting before the reboot. I just can't figure out what?

This doesn’t happen after all reboots, just some. But when it does, all my jails fail. The only solution that seems to work i too remove the Jail and totally start over (huge inconvenience).

A restart of the Jail has never caused this problem, just a reboot of the whole system.

The first indication that the jail has failed is that I can't SSHD in too the Jail, even though the SSHD-settings is (as far as I know) correctly set up, and worked fine before the reboot (and after several other reboots).

When I open the Shell of the Jail from Webb-GUI the SSHD-process are up and running.

top.jpg

When I try to SSHD to the Jail, I get the following error message:
The SSH2 session has terminated with error. Reason: Error class: LocalSshDisconn, code: ConnectionLost, meassage: FlowSshTransport: recived EOF

Another indication of that something is really wrong is that when I try to do something simple as "pkg upgrade", I get the following:
Code:
root@Owncloud:/ pkg upgrade
pkg: /var/db/pkg wrong user or group ownership  (expected 0/0 versus actual 666/666)


Do anyone have some idea of what can be the issue? I can provide more information about my system if that is useful? Just let me know. Here are the basics:

Build: FreeNAS-9.3-STABLE-201602031011
Platform: AMD A6-7400K Radeon R5, 6 Compute Cores 2C+4G
Memory: 15277MB (not ECC)
Motherboard: ASUS A88XM-PLUS
Storage: 3x1 TiB (RaidZ)
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
There's only two things I can think of which will cause a jail to fail.
- Data corruption (you are after all not using ECC)
- Permissions for your jails root got reset
 
Status
Not open for further replies.
Top