SOLVED cPanel 68 - Maintenance ended, however it did not exit cleanly

eduardo valdez

Registered
Nov 11, 2017
2
0
1
mexico
cPanel Access Level
Root Administrator
hi everyone,

i'm having similar message error

Code:
awk '$4=="E"' /var/cpanel/updatelogs/update.1510400821.log
it results:

Code:
[2017-11-11 05:48:00 -0600] E    [/usr/local/cpanel/scripts/find_outdated_services] The “/usr/local/cpanel/scripts/find_outdated_services” command (process 20268) reported error number 255 when it ended.
[2017-11-11 05:48:55 -0600] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
can you help me?

thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hi @eduardo valdez,

Could you run the command manually as suggested in the previous post and let us know the output?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
I've 68.0.12 and still get this error.
Please post the output from the following command:

Code:
/usr/local/cpanel/scripts/quotacheck
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
/usr/local/cpanel/scripts/quotacheck

[quotacheck] Setting I/O priority to reduce system load: best-effort: prio 6
Are you sure cPanel updates are failing with the same error message as before? Try running this command again (replacing the log name with the most recent cPanel update log):

Code:
awk '$4=="E"' /var/cpanel/updatelogs/update.XXXXXX.log
Thank you.
 

davorg

Active Member
May 13, 2013
41
4
58
cPanel Access Level
Root Administrator
Are you sure cPanel updates are failing with the same error message as before? Try running this command again (replacing the log name with the most recent cPanel update log):

Code:
awk '$4=="E"' /var/cpanel/updatelogs/update.XXXXXX.log
Thank you.
I have manually run /scripts/ucpc

awk '$4=="E"' /var/cpanel/updatelogs/update.1510588626.log

[2017-11-13 16:57:50 +0100] E [/usr/local/cpanel/scripts/cleanquotas] The “/usr/local/cpanel/scripts/cleanquotas” command (process 17679) reported error number 255 when it ended.

[2017-11-13 16:58:18 +0100] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
 

mideastern

Registered
Jan 10, 2018
2
1
3
South Carolina
cPanel Access Level
Website Owner
Hi all. I started receiving emails about errors very similar to this a while back. My site seems to be functioning, but I want to make sure cPanel is updating properly. Maybe you all will be able to help me here. (Fair warning, I am still somewhat new to cPanel and website administration.)

I have ran upcp manually and logged the results in pastebin: cPanel: ucpc Output - Pastebin.com. I have also included the log file that results from running awk '$4=="E"' /var/cpanel/updatelogs/update.1515599754.log (see lines 610-612).

It seems my issue is not with quotacheck or cleanquotas as mentioned by others, but instead seems to be getting hung up on fixetchosts. When I attempt to run this manually, I get "The hostname vps is not valid." Possibly due to me running on a vps?

Thanks for your help!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
It seems my issue is not with quotacheck or cleanquotas as mentioned by others, but instead seems to be getting hung up on fixetchosts. When I attempt to run this manually, I get "The hostname vps is not valid." Possibly due to me running on a vps?
Hello,

Is your hostname a fully qualified domain name (e.g. "host.domain.tld" and not just "host")? If not, you can use "WHM >> Change Hostname" to update it to match the requirements documented at:

Change Hostname - Documentation - cPanel Documentation

Thank you.