blackystrat

Registered
Aug 15, 2011
1
0
51
Hello

I was in the middle of updating the cPanel version on my VPS when I accidentally pressed ^C which killed the process

Now when I re-ran a force update, I got the message:-


Log opened from cPanel Update (upcp) - Slave at Mon Aug 15 14:31:31 2011
[20110815.143131] E Maintenance ended, however it did not exit cleanly (65280).Please check the logs for an indication of what happened
[20110815.143131] E Failed to send contact message
[20110815.143131]
[20110815.143131] cPanel update completed
[20110815.143131] A log of this update is available at /var/cpanel/updatelogs/

Now when I try to login to any of our domains' cPanel via www.domain.com/cpanel/ I get a 404 not found error and while logging in through port 2082 I find all the icons missing from cPanel and the Cpanel version appearing blank

Please advise on how do I fix this

Thanks!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please try the following:

Code:
/usr/local/cpanel/scripts/updatenow.static --upcp --force
/scripts/upcp --force
If that doesn't work, then which cPanel version are you using? If it is RELEASE, please try the following:

Code:
wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static --manual
/scripts/upcp --force
If it is not RELEASE, then use the version you are on for the tier in question such as STABLE or CURRENT in the url string.
 
No deal. These commands didn't work. The logs are not any helping though... And now my cpanel service is going down frequently, and no updates are done...

[email protected] [~]# cat /var/cpanel/updatelogs/update.1324153992.log


Ensuring cPanel server is ready to run 11.30

/etc/cpanelsync.exclude is empty or does not exist, ignoring.
Moving /scripts to /usr/local/cpanel/scripts and symlinking back
Relocating /scripts to /usr/local/cpanel/scripts
tar: scripts: Cannot open: File exists
tar: Error exit delayed from previous errors
System Arch: linux-x86_64
Could not rename /usr/local/cpanel/base/frontend/x3mail/.cpanelsync /usr/local/cpanel/base/frontend/x3mail/.cpanelsync_x3mail
Could not rename /usr/local/cpanel/base/frontend/x3/.cpanelsync /usr/local/cpanel/base/frontend/x3/.cpanelsync_x3
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/upcp.static at Sat Dec 17 18:33:16 2011
[20111217.183316] Detected cron=0 (env var CPANEL_IS_CRON was present before this process started.)
[20111217.183316] mtime on upcp is 1305227540 (Thu May 12 16:12:20 2011)
=> Log closed Sat Dec 17 18:33:16 2011
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow at Sat Dec 17 18:33:16 2011
[20111217.183316] Version is the same on the server and locally (11.30.5.2)
=> Log closed Sat Dec 17 18:33:16 2011
=> Log closed Sat Dec 17 18:33:16 2011
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/maintenance at Sat Dec 17 18:33:16 2011
[20111217.183316] Processing: Setting clock
[20111217.183316] - Processing command `/usr/local/cpanel/scripts/rdate`
[20111217.183316] [3984] Virtual environment detected - rdate skipped
[20111217.183316] Processing: Checking for immutable files
[20111217.183316] - Processing command `/usr/local/cpanel/scripts/check_immutable_files`
[20111217.183316] [3985] Not testing for immutable files, because the test was last run approximately 6 days ago (less than 10 days)
[20111217.183316] Processing: Assuring OS package management system is setup properly
[20111217.183316] - Processing command `/usr/local/cpanel/scripts/checksyspkgsetup`
=> Log closed Sat Dec 17 18:33:16 2011
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave at Sat Dec 17 18:33:16 2011
[20111217.183316] E Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened
[20111217.183316] E Failed to send contact message
[20111217.183316]
[20111217.183316] cPanel update completed
[20111217.183316] A log of this update is available at /var/cpanel/updatelogs/update.1324153992.log
=> Log closed Sat Dec 17 18:33:16 2011
[email protected] [~]#
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If the update logs are not helpful in determining the cause of the issue, then please submit a ticket:

http://go.cpanel.net/supportrequest

I believe the part of the logs that's the biggest issue is likely this one:

Code:
Relocating /scripts to /usr/local/cpanel/scripts
tar: scripts: Cannot open: File exists
tar: Error exit delayed from previous errors
You could try checking the following:

Code:
cd /
ls -ld /scripts* && ls -ld scripts*
lsattr /scripts && lsattr scripts
Thanks!