Gather Update Logs Failure, Server Crash

Robert Thompson

Registered
Apr 11, 2016
2
0
1
Richmond. VA
cPanel Access Level
Root Administrator
Our server went down early this morning and a simple reboot took care of the issue. After reviewing the cpanel error_log. The last known process before the crash is below

[2016-04-11 01:22:04 -0400] info [gather-update-logs] Assertions failed
[2016-04-11 01:23:22 -0400] info [gather-update-logs] Cannot send file /usr/local/cpanel/logs/update_analysis/2016-04-11T05:21:09Z.tar.gz to updatelogdrop.cpanel.net.
[2016-04-11 01:23:22 -0400] info [gather-update-logs] Failed to send data to cPanel
[2016-04-11 02:00:01 -0400] warn [backup] Backup Not Enabled (This can be adjusted in WHM => Backup => Backup Configuration) at /usr/local/cpanel/bin/backup line 703.
bin::backup::backup_enabled(0) called at /usr/local/cpanel/bin/backup line 171
bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 104

I just enabled the the backup in WHM, but am wondering what the exact cause of the crash is? Is it due to the gather-update-logs failing? Any help is appreciated.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

You may also want to review /var/log/messages and /var/log/dmesg to see the output in those files before the system stopped responding. Were you able to compare the time the server stopped responding to the timestamps of those messages in the cPanel error log?

Thank you.
 

Robert Thompson

Registered
Apr 11, 2016
2
0
1
Richmond. VA
cPanel Access Level
Root Administrator
After reviewing var/log/messages it looks as if the last entry was at 4:00:17 and the next entry isn't until the server was successfully rebooted (11:35:18).
Code:
Apr 11 03:59:03 s97-74-228-34 pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1
Apr 11 03:59:03 s97-74-228-34 pure-ftpd: ([email protected]) [INFO] __cpanel__service__auth__ftpd__4KppPqZiBOaTpcZ_K0YS1yfgJO0ddVwNUPf5wF_jB8DQvkkDBf09fF1H0MR7HYVP is now logged in
Apr 11 03:59:03 s97-74-228-34 pure-ftpd: (__cpanel__service__auth__ftpd__4[email protected]127.0.0.1) [INFO] Logout.
Apr 11 04:00:17 s97-74-228-34 kernel: [14811990.651004] Firewall: *any7-xTs!Oq]any7-xTs!Oq]* IN=eth0 OUT= MAC=00:18:51:c8:6c:82:00:26:98:21:cb:41:08:00 SRC=46.31.215.116 DST=97.74.228.34 LEN=64 TOS=0x08 PREC=0x20 TTL=239 ID=33778 PROTO=UDP SPT=53$
Apr 11 11:35:18 s97-74-228-34 kernel: imklog 5.8.10, log source = /proc/kmsg started.
I have quite a few entries just like these above that. The var/log/dmesg log is empty.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
That suggests the messages in the cPanel error log are unrelated to your system failing to respond. You may want to monitor both /var/log/messages and /var/log/dmesg to determine if anything out of ordinary is logged over the next few days. There's also a script on the following thread that you can configure to obtain statistics at set intervals that may help should it happen again:

Troubleshooting high server loads on Linux servers

Thank you.