Dennis Lovelady
Dabbler
- Joined
- Apr 6, 2016
- Messages
- 31
I was impressed how easily I could set up a Virtual Machine on FreeNAS. Currently running FreeNAS-11.3-U2. My VM runs great for a few days and then suddenly it is (apparently) powered off (by FreeNAS?). There is nothing in the VM's logs that helps identify the issue. For example, it "went away" between 4:00AM and 4:05AM yesterday. Here are the /var/log/syslog from before the DOWN until the startup. Nothing here to indicate it's about to crash.
````
Mar 17 03:58:45 www20 kernel: [ 18.984898] Initializing XFRM netlink socket
Mar 17 03:58:45 www20 systemd-udevd[392]: ethtool: autonegotiation is unset or enabled, the speed an
d duplex are not writable.
Mar 17 03:58:45 www20 systemd-networkd[620]: rtnl: received neighbor for link '3' we don't know abou
t, ignoring.
Mar 17 03:58:45 www20 systemd-networkd[620]: message repeated 3 times: [ rtnl: received neighbor for
link '3' we don't know about, ignoring.]
Mar 17 03:58:45 www20 systemd-timesyncd[569]: Network configuration changed, trying to establish con
nection.
Mar 17 03:58:45 www20 networkd-dispatcher[676]: WARNING:Unknown index 3 seen, reloading interface li
st
Mar 17 07:58:46 www20 systemd[1]: Starting Daily apt upgrade and clean activities...
Mar 17 07:58:46 www20 systemd[1]: Starting Clean php session files...
````
Similarly, here's the output from "last -x"
````
dennis pts/1 10.158.54.6 Wed Mar 17 08:00 still logged in
dennis pts/0 10.158.54.6 Wed Mar 17 08:00 still logged in
runlevel (to lvl 5) 5.4.0-66-generic Wed Mar 17 07:58 still running
reboot system boot 5.4.0-66-generic Wed Mar 17 03:58 still running
dennis pts/2 10.158.54.6 Sat Mar 13 19:59 - crash (3+06:59)
dennis pts/2 10.158.54.6 Fri Mar 12 23:16 - 23:17 (00:01)
dennis pts/1 10.158.54.6 Fri Mar 12 20:45 - crash (4+06:13)
````
While I admit there's somethin indicating a crash on Saturday, there is nothing at all about the shutdown last night.
Because this was going on, I put together a process that writes basically a "still alive" message to a MySQL database every five minutes. An entry was written at 4AM, on the 16th, the last entry before this morning. I do know for sure that the process never runs early so I can take it to the bank that it was alive at 04:00:01 on 16-March, and not alive at 04:05:02.
All the above for this: How can I tell from FreeNAS logs what its perception of that VM is? Or if FreeNAS took some sort of drastic action? I have several servers running in this network, some physical, some running on EXSI, and have never seen such a "neat" (<--wildly inappropriate choice of words here) shutdown of a system.
Can you help?
````
Mar 17 03:58:45 www20 kernel: [ 18.984898] Initializing XFRM netlink socket
Mar 17 03:58:45 www20 systemd-udevd[392]: ethtool: autonegotiation is unset or enabled, the speed an
d duplex are not writable.
Mar 17 03:58:45 www20 systemd-networkd[620]: rtnl: received neighbor for link '3' we don't know abou
t, ignoring.
Mar 17 03:58:45 www20 systemd-networkd[620]: message repeated 3 times: [ rtnl: received neighbor for
link '3' we don't know about, ignoring.]
Mar 17 03:58:45 www20 systemd-timesyncd[569]: Network configuration changed, trying to establish con
nection.
Mar 17 03:58:45 www20 networkd-dispatcher[676]: WARNING:Unknown index 3 seen, reloading interface li
st
Mar 17 07:58:46 www20 systemd[1]: Starting Daily apt upgrade and clean activities...
Mar 17 07:58:46 www20 systemd[1]: Starting Clean php session files...
````
Similarly, here's the output from "last -x"
````
dennis pts/1 10.158.54.6 Wed Mar 17 08:00 still logged in
dennis pts/0 10.158.54.6 Wed Mar 17 08:00 still logged in
runlevel (to lvl 5) 5.4.0-66-generic Wed Mar 17 07:58 still running
reboot system boot 5.4.0-66-generic Wed Mar 17 03:58 still running
dennis pts/2 10.158.54.6 Sat Mar 13 19:59 - crash (3+06:59)
dennis pts/2 10.158.54.6 Fri Mar 12 23:16 - 23:17 (00:01)
dennis pts/1 10.158.54.6 Fri Mar 12 20:45 - crash (4+06:13)
````
While I admit there's somethin indicating a crash on Saturday, there is nothing at all about the shutdown last night.
Because this was going on, I put together a process that writes basically a "still alive" message to a MySQL database every five minutes. An entry was written at 4AM, on the 16th, the last entry before this morning. I do know for sure that the process never runs early so I can take it to the bank that it was alive at 04:00:01 on 16-March, and not alive at 04:05:02.
All the above for this: How can I tell from FreeNAS logs what its perception of that VM is? Or if FreeNAS took some sort of drastic action? I have several servers running in this network, some physical, some running on EXSI, and have never seen such a "neat" (<--wildly inappropriate choice of words here) shutdown of a system.
Can you help?