hbhb

Well-Known Member
Dec 1, 2006
67
0
156
Broadcast message from root (Sat Jan 6 15:52:08 2007):

cPanel Layer 2 Update Commencing

Broadcast message from root (Sat Jan 6 16:01:09 2007):

cPanel Layer 2 Install Complete


I got this message while leaving my computer on over the weekend. And suddenly find that my mail server aint' working. So i tried to restart exim

[email protected] [~]# service exim restart
Shutting down exim: [FAILED]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting exim: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting exim-smtps: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting antirelayd: [ OK ]
Starting spamd: [ OK ]


I tried to reinstall exim by # /scripts/exim4 --force

It doesn't work again, so I tried to update again # /scripts/upcp --force

Doesn't work! What should I do now?
 

jpetersen

Well-Known Member
Dec 31, 2006
113
5
168
ps aux | grep rpm

Do you see a hung exim rpm install process? If so, your rpm database is possibly corrupt.

rm -f /var/lib/rpm/_db*
rpm --rebuilddb -vv

You may need to kill the current cPanel update process(es) first, then rebuild the rpm db, then re run /scripts/upcp

I mention the above from experience with the most recent update as well. Basically, cPanel is trying to update exim from 4.52 to 4.63, and when the rpm install process hangs (due to a corrupt rpm db), exim.conf disappears somewhere along the way. Using the steps above fixed the issue.