Jails / plugins /server crashing

mindfields

Dabbler
Joined
May 3, 2021
Messages
15
Hello guys,

Since of 5 days ago, after 1 day of working my plugins (plex and qbittorrent) are crashing and I need to restart them every day to make them work again.

It used to work perfectly until it started happening.

I was on the latest version of TrueNas 12,and updated to 13-release cuz I thought it will fix it, but it didn't.

I have no idea how to fix it or what causing the problem.

These are logs from qbittorrent :
May 21 19:34:53 utorrent dhclient[41439]: receive_packet failed on epair0b: Device not configured
May 21 19:34:53 utorrent dhclient[41439]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
May 21 19:34:53 utorrent dhclient[41439]: Interface epair0b no longer appears valid.
May 21 19:34:53 utorrent dhclient[41439]: No live interfaces to poll on - exiting.
May 21 19:34:53 utorrent dhclient[41439]: exiting.
May 21 19:34:53 utorrent dhclient[41439]: connection closed
May 21 19:34:53 utorrent dhclient[41439]: exiting.
May 21 19:34:54 utorrent syslogd: exiting on signal 15
May 21 20:57:11 utorrent syslogd: kernel boot file is /boot/kernel/kernel
May 22 06:49:03 utorrent syslogd: kernel boot file is /boot/kernel/kernel
May 23 06:43:27 utorrent dhclient[2784]: receive_packet failed on epair0b: Device not configured
May 23 06:43:27 utorrent dhclient[2784]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
May 23 06:43:27 utorrent dhclient[2784]: Interface epair0b no longer appears valid.
May 23 06:43:27 utorrent dhclient[2784]: No live interfaces to poll on - exiting.
May 23 06:43:27 utorrent syslogd: exiting on signal 15
May 23 06:43:32 utorrent syslogd: kernel boot file is /boot/kernel/kernel
These are logs from plex:
May 21 19:23:00 plexnas dhclient[42360]: receive_packet failed on epair0b: Device not configured
May 21 19:23:00 plexnas dhclient[42360]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
May 21 19:23:00 plexnas dhclient[42360]: Interface epair0b no longer appears valid.
May 21 19:23:00 plexnas dhclient[42360]: No live interfaces to poll on - exiting.
May 21 19:23:00 plexnas dhclient[42360]: exiting.
May 21 19:23:00 plexnas syslogd: exiting on signal 15
May 21 19:23:05 plexnas syslogd: kernel boot file is /boot/kernel/kernel
May 21 19:23:05 plexnas root[71424]: /etc/rc: WARNING: failed to start plexmediaserver
May 21 19:34:52 plexnas dhclient[71200]: receive_packet failed on epair0b: Device not configured
May 21 19:34:52 plexnas dhclient[71200]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
May 21 19:34:52 plexnas dhclient[71200]: Interface epair0b no longer appears valid.
May 21 19:34:52 plexnas dhclient[71200]: No live interfaces to poll on - exiting.
May 21 19:34:52 plexnas dhclient[71200]: exiting.
May 21 19:34:52 plexnas dhclient[71200]: connection closed
May 21 19:34:52 plexnas dhclient[71200]: exiting.
May 21 19:34:52 plexnas syslogd: exiting on signal 15
May 21 20:57:01 plexnas syslogd: kernel boot file is /boot/kernel/kernel
May 21 20:57:02 plexnas root[2361]: /etc/rc: WARNING: failed to start plexmediaserver
May 22 06:48:53 plexnas syslogd: kernel boot file is /boot/kernel/kernel
May 22 06:48:54 plexnas root[2345]: /etc/rc: WARNING: failed to start plexmediaserver
May 23 06:43:07 plexnas dhclient[2081]: receive_packet failed on epair0b: Device not configured
May 23 06:43:07 plexnas dhclient[2081]: ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
May 23 06:43:07 plexnas dhclient[2081]: Interface epair0b no longer appears valid.
May 23 06:43:07 plexnas dhclient[2081]: No live interfaces to poll on - exiting.
May 23 06:43:07 plexnas dhclient[2081]: exiting.
May 23 06:43:07 plexnas syslogd: exiting on signal 15
May 23 06:43:13 plexnas syslogd: kernel boot file is /boot/kernel/kernel
May 23 06:43:14 plexnas root[23367]: /etc/rc: WARNING: failed to start plexmediaserver
And some times when I restart the jail I can log in to the web ui and get this which makes me restart the whole server:
View attachment 55609

I would really appreciate the help.
Thanks!
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
Please don't start the same topic in two different places in parallel. That's not how a forum works.

As a starting point please provide a full description of your hardware configuration as required by the forum rules. What might also be helpful are the output of dmesg and tail -100 /var/log/messages on the NAS host right after it happened. And also please ifconfig -a on the host with the jails up and running.
 

mindfields

Dabbler
Joined
May 3, 2021
Messages
15
Please don't start the same topic in two different places in parallel. That's not how a forum works.

As a starting point please provide a full description of your hardware configuration as required by the forum rules. What might also be helpful are the output of dmesg and tail -100 /var/log/messages on the NAS host right after it happened. And also please ifconfig -a on the host with the jails up and running.

Thanks.

first of all im sorry for the double posting, i had no idea where shuold i post it. i wont do it again.

ill share my hardware configurations when ill be near the compuer.

these codes i should run in shell for each jail?:
dmesg
tail -100 /var/log/messages
ifconfig -a
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737

mindfields

Dabbler
Joined
May 3, 2021
Messages
15
Yes, precisely.
Os: TrueNAS-13.0-RELEASE (happened on 12 ver as well then I updated it)
Model: Dell Latitude E6430 Intel i5 3rd gen
Memory: 16 GB

I ran the ifconfig - a code since its still running and will update when it will crash again
Screenshot_20220523-205929_Chrome.jpg


Thanks again
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
Could you please run all three commands and copy and paste all the text that is output instead of a screenshot that shows essentially nothing? The most imprtant parts are missing. Thanks. You need to ssh to your NAS host to do that. Just like you did for your first post in this thread.
 

rvassar

Guru
Joined
May 2, 2018
Messages
971
In case anyone is still interested in this... I was shuffling things around the homelab today, innocuous stuff that shouldn't have affected the NAS at all. But I did move the NAS from 10GbE twinax patch cord to LC fiber. NAS came up and everything seemed fine, but my Plex jail didn't start. My other jail, and a couple VM's started just fine. Manually starting the jail resulted in a DHCP failure, and down in the jail logs I found the same issue found by the original poster:

receive_packet failed on epair0b: Device not configured
ioctl(SIOCGIFFLAGS) on epair0b: Operation not permitted
Interface epair0b no longer appears valid.

For some reason, and I'm still not quite sure why, but both my jails were trying to use "vnet0:bridge0". Editing the network properties to switch Plex to "vnet0:bridge1" seems to have fixed things, but I'm still trying to figure out what/how/why...
 

rvassar

Guru
Joined
May 2, 2018
Messages
971
Following up... The other jail was also impacted, it just didn't fail because it had a static IP config. It also needed to be on "vnet0:bridge1".

Clearly I have some reading to do... :rolleyes:
 
Top