Praji’s Weblog

Welcome to praji’s world

Cpanel Hangs on Update

leave a comment »

Reason for hang up : RPM database could be corrupted, it needs to be rebuild and run upcp again

Procedure1. 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

Advertisements

Written by praji

May 26, 2009 at 1:11 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: