Cpanel has constantly evolved throughout its existence, it is giving out updates through upcp feature in command line or Upgrade to Latest Version in WHM, for some particular reason it would hang up when it starts to update, at times it would hang up updating or detecting the FTP version, here is a quick fix that worked for us.
Reason for hang up : RPM database could be corrupted, it needs to be rebuild and run upcp again
Procedure
1. Login to CLI via SSH
2. Kill any /scripts/upcp process or yum or up2date
killall upcp
killall yum
killall up2date
3. you can try getting the PID also by doing this
ps -wef |grep yum
ps -wef |grep upcp
ps -wef |grep up2date
4. Execute a force kill command through kill -9
5. Once everything is killed , go to /var/lib/rpm
6. Execute rm -f __* , this is the rpm database that it builds when cpanel updates
7. Run rpm --rebuilddb
8. Re-run /scripts/upcp --force (--force switch forces cpanel update even if it is up to date)
9. Constantly check http://layer1.cpanel.net for Changelogs
Tuesday, March 3, 2009
Cpanel Hangs on Update
Labels:
cpanel hangs,
cpanel update,
scripts for upcp,
upcp,
upcpforce
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment