My Pfsense is rebooting every day at 9:16pm, I already looked at cron but there are no tasks related to this. I was wordering if someone have any ideia about the source of this issue.
Some details about version:
built on Wed May 15 18:53:44 EDT 2019
What hardware are you running this on?
Here you are the infos I got from GUI.
System Hyper-V Virtual Machine
Netgate Device ID: fb5ad593aeea13cda020
BIOS Vendor: American Megatrends Inc.
Release Date: Wed May 23 2012
Version 2.4.4-RELEASE-p3 (amd64)
built on Wed May 15 18:53:44 EDT 2019
CPU Type Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
AES-NI CPU Crypto: Yes (inactive)
so it's a virtual machine...
could be a cron on the hyper-v if you didn't find anything on pfsense
I am not linux expert, so please sorry if I write something with no sense.
I login in linux prompt and type "crontab -e" and I do not see any records there.
In Psense GUI cron service, I saw this:
1,31 0-5 * * * root /usr/bin/nice -n20 adjkerntz -a
1 3 1 * * root /usr/bin/nice -n20 /etc/rc.update_bogons.sh
1 1 * * * root /usr/bin/nice -n20 /etc/rc.dyndns.update
*/60 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot
30 12 * * * root /usr/bin/nice -n20 /etc/rc.update_urltables
1 0 * * * root /usr/bin/nice -n20 /etc/rc.update_pkg_metadata
0 0 * * * root /usr/local/sbin/squid -k rotate -f /usr/local/etc/squid/squid.conf
15 0 * * * root /usr/local/pkg/swapstate_check.php
When you say "cron on the hyper-v" it means that I shoud look at hyper-v settings ?
windows could do something wrong at that hour to pfsense or yes check hyper-v settings
and it is FreeBSD not linux, don't make ppl hear you
I am not sure the source could be hyper-v because the last hardware reboot it was july, 31, only pfsense is reboot.
[2.4.4-RELEASE][admin@PFS-ADCORP.adcorp.inet]/root: last reboot
shutdown time Wed Jul 31 15:30
shutdown time Mon Jul 29 17:15
shutdown time Fri Jul 26 18:02
shutdown time Fri Jul 26 12:46
shutdown time Fri Jul 26 12:00
shutdown time Fri Jul 26 11:27
shutdown time Thu Jun 27 12:43
shutdown time Thu Jun 27 11:17
shutdown time Wed Jun 26 18:35
shutdown time Tue May 29 16:07
here is some lines about pfsense system logs events.
Sep 9 21:16:47 kernel AMD Features=0x20100800<SYSCALL,NX,LM>
Sep 9 21:16:47 kernel Features2=0xfeda3203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
Sep 9 21:16:47 kernel Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
Sep 9 21:16:47 kernel Origin="GenuineIntel" Id=0x306f2 Family=0x6 Model=0x3f Stepping=2
Sep 9 21:16:47 kernel CPU: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz (2400.00-MHz K8-class CPU)
Sep 9 21:16:47 kernel Timecounter "Hyper-V" frequency 10000000 Hz quality 2000
Sep 9 21:16:47 kernel Features3=0x17b2<DEBUG,XMMHC,IDLE,NUMA,TMFREQ,SYNCMC,CRASH,NPIEP>
Sep 9 21:16:47 kernel PM Features=0x0 [C2]
Sep 9 21:16:47 kernel Features=0xe7f<VPRUNTIME,TMREFCNT,SYNIC,SYNTM,APIC,HYPERCALL,VPINDEX,REFTSC,IDLE,TMFREQ>
Sep 9 21:16:47 kernel Hyper-V Version: 6.3.9600 [SP18]
Sep 9 21:16:47 kernel VT(vga): text 80x25
Sep 9 21:16:47 kernel FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
Sep 9 21:16:47 kernel firstname.lastname@example.org:/build/ce-crossbuild-244/obj/amd64/ZfGpH5cd/build/ce-crossbuild-244/pfSense/tmp/FreeBSD-src/sys/pfSense amd64
Sep 9 21:16:47 kernel FreeBSD 11.2-RELEASE-p10 #9 4a2bfdce133(RELENG_2_4_4): Wed May 15 18:54:42 EDT 2019
Sep 9 21:16:47 kernel FreeBSD is a registered trademark of The FreeBSD Foundation.
Sep 9 21:16:47 kernel The Regents of the University of California. All rights reserved.
Sep 9 21:16:47 kernel Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Sep 9 21:16:47 kernel Copyright (c) 1992-2018 The FreeBSD Project.
Sep 9 21:16:47 syslogd kernel boot file is /boot/kernel/kernel
Sep 9 18:14:33 syslogd kernel boot file is /boot/kernel/kernel
maybe it is hyper-v issue.
12:15PM up 14:59, 2 users, load averages: 0.14, 0.18, 0.13
Does it reboot because of some event? Do the logs show it rebooting or shuting down? Or do they just show it running then suddenly booting as though it was hard power cycled?
The logs immediately before
Sep 9 21:16:47 syslogd kernel boot file is /boot/kernel/kernelshould show that.
I assume no other VMs are rebooting at that time?