Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

had an unscheduled system reboot

orddie

Member
Joined
Jun 11, 2016
Messages
73
New alerts:
* freenas.local had an unscheduled system reboot.
The operating system successfully came back online at Mon Feb 24 02:25:05 2020.


Current alerts:
* Scrub of pool 'freenas-boot' finished.
* Scrub of pool 'Red_1TB' started.
* Scrub of pool 'Red_1TB' finished.
* 1 SSH login failures:
Feb 23 16:11:54 freenas sshd[23577]: Failed password for root from 172.16.10.223 port 54146 ssh2

* Rsync "PUSH" task for "/mnt/pool/Data_Share/Backups" succeeded.
* freenas.local had an unscheduled system reboot.
The operating system successfully came back online at Mon Feb 24 02:25:05 2020.



looking in the /var/debug log I see

Code:
Feb 24 01:38:19 freenas collectd[36166]: type = syslog, key = LogLevel, value = err
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'django.contrib.sessions' 'forms': No module named 'django.contrib.sessions.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'django.contrib.staticfiles' 'forms': No module named 'django.contrib.staticfiles.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'freenasUI.api' 'forms': No module named 'freenasUI.api.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'freenasUI.plugins' 'forms': No module named 'freenasUI.plugins.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'freenasUI.reporting' 'forms': No module named 'freenasUI.reporting.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.navtree:105] Unable to import 'freenasUI.jails' 'forms': No module named 'freenasUI.jails.forms'
Feb 24 02:25:22 freenas uwsgi: [freeadmin.site:68] Model <class 'freenasUI.network.models.VLAN'> already registered, overwriting...
Feb 24 02:25:30 freenas /netcli: [urllib3.connectionpool:225] Starting new HTTP connection (1): 172.16.10.2:443
Feb 24 02:25:30 freenas /netcli: [urllib3.connectionpool:437] http://172.16.10.2:443 "HEAD / HTTP/1.1" 400 0
Feb 24 02:25:30 freenas /netcli: [urllib3.connectionpool:959] Starting new HTTPS connection (1): 172.16.10.2:443
Feb 24 02:25:31 freenas /netcli: [urllib3.connectionpool:437] https://172.16.10.2:443 "HEAD / HTTP/1.1" 302 0
Feb 24 02:25:31 freenas /netcli: [urllib3.connectionpool:225] Starting new HTTP connection (1): 172.16.10.2:80
Feb 24 02:25:31 freenas /netcli: [urllib3.connectionpool:437] http://172.16.10.2:80 "HEAD / HTTP/1.1" 302 0
Feb 24 02:26:06 freenas collectd[1845]: type = syslog, key = LogLevel, value = err



in /var/log/messages shows nothing out of the norm

Code:
Feb 24 02:18:05 freenas mountd[1239]: mount request from 192.168.254.3 for non existent path /mnt/RaidZ-SSD
Feb 24 02:18:05 freenas mountd[1239]: mount request denied from 192.168.254.3 for /mnt/RaidZ-SSD
Feb 24 02:25:18 freenas syslog-ng[1098]: syslog-ng starting up; version='3.23.1'
Feb 24 02:25:18 freenas Copyright (c) 1992-2019 The FreeBSD Project.
Feb 24 02:25:18 freenas Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb 24 02:25:18 freenas         The Regents of the University of California. All rights reserved.
Feb 24 02:25:18 freenas FreeBSD is a registered trademark of The FreeBSD Foundation.


having a look in /data/crash shows no new files

Code:
root@freenas[/var/crash]# cd /data/crash
root@freenas[/data/crash]# ls -alh
total 110
drwxrwxr-x  2 root  www     9B Nov 18 22:21 .
drwxr-xr-x  7 www   www    13B Feb 24 07:25 ..
-rw-r--r--  1 root  www     2B Nov 18 22:21 bounds
-rw-------  1 root  www   606B Nov 18 22:12 info.0
-rw-------  1 root  www   605B Nov 18 22:21 info.1
lrwxr-xr-x  1 root  www     6B Nov 18 22:21 info.last -> info.1
-rw-------  1 root  www    51K Nov 18 22:12 textdump.tar.0.gz
-rw-------  1 root  www    50K Nov 18 22:21 textdump.tar.1.gz
lrwxr-xr-x  1 root  www    17B Nov 18 22:21 textdump.tar.last.gz -> textdump.tar.1.gz
 

orddie

Member
Joined
Jun 11, 2016
Messages
73
still having the reboots about once a day.

what are my options to determine root cause?
 

orddie

Member
Joined
Jun 11, 2016
Messages
73
bump
 

orddie

Member
Joined
Jun 11, 2016
Messages
73
bump
the longest the systems stays up is 4 days. Commonly around 1-2 days

What logs should I be looking at
 

orddie

Member
Joined
Jun 11, 2016
Messages
73

orddie

Member
Joined
Jun 11, 2016
Messages
73
i disabled the SMART service and still rebooted. Looks like it may be tied to my USB boot drive SCRUB. Possible?
 

mgittelman

Senior Member
Joined
Dec 8, 2017
Messages
394

orddie

Member
Joined
Jun 11, 2016
Messages
73

mgittelman

Senior Member
Joined
Dec 8, 2017
Messages
394
You need to disable SMART on the individual drives. This only applies to SSDs, and only with certain HBAs. Stopping the service does nothing.
 

orddie

Member
Joined
Jun 11, 2016
Messages
73
You need to disable SMART on the individual drives. This only applies to SSDs, and only with certain HBAs. Stopping the service does nothing.
done. Thanks Mate.
 

orddie

Member
Joined
Jun 11, 2016
Messages
73
Looks like that is. Up 6 days! Sweet. Thanks @mgittelman
 

Lyubomyr83

Junior Member
Joined
May 18, 2020
Messages
14
I reinstall FreeNAS VM and change ssd to hdd and receive unscheduled system reboots. How can I solve the problem? Especially I receive thread when transmission plugin download something. I never had before this problem. VM worked 4-5 years.
 

Lyubomyr83

Junior Member
Joined
May 18, 2020
Messages
14
You need to disable SMART on the individual drives. This only applies to SSDs, and only with certain HBAs. Stopping the service does nothing.
I reinstall FreeNAS VM and change ssd to hdd and receive unscheduled system reboots. How can I solve the problem? Especially I receive thread when transmission plugin download something. I never had before this problem. VM worked 4-5 years.
 

mgittelman

Senior Member
Joined
Dec 8, 2017
Messages
394
@Lyubomyr83 What you quoted me on is in reference to a problem with LSI HBAs from over 2 months ago that has since been solved in 11.3-U3. You might be better off creating a new thread, and including details about your set up so we can help you. Unscheduled reboots can be caused by a lot of things. Need to know what version of FreeNAS you are running, all your hardware details, and any troubleshooting steps you've taken.
 
Top