Archive for April, 2007

Error - Mail Server Upgrade in Progress

Today i restored a Cpanel Server after OS reload.

Copying files from OLD HD to New HD take several hours, the work started at 11 PM and i have got the server up and running by 5 AM. All web sites, PHP, MySQL (web part) got working well.

The old cpanel was using mbox format for storing mails and new cpanel use maildir format. So i need to convert old mails to new format. This is done by running the command

/scripts/convert2maildir

After running this, i run /scripts/eximup –force

But server is not accepting mails. I checked maillog and found.

2007-04-11 01:58:26 1HbWmf-0002TO-UO == yujin@wehost4u.net R=temp_defer defer (-1): Mail Server Upgrade in Progress. Message Queued.

The problem is fixed by

1. Delete the file /usr/local/cpanel/etc/exim/cf/fail_remote_domains

rm -f /usr/local/cpanel/etc/exim/cf/fail_remote_domains

2. Now remove following lines from /etc/exim.conf.buildtest

temp_defer:
driver = redirect
allow_defer
data = :defer: Mail Server Upgrade in Progress. Message Queued.
verify = false

3. Upgrade exim with

/scripts/eximup –force

Comments off

Invalid command BytesLog

On Cpanel server after OS reload, can’t start apache, it shows following error

Invalid command ‘BytesLog’, perhaps mis-spelled or defined by a module not included in the server configuration

The problem is fixed by installing mod_log_bytes

cd /usr/local/cpanel/apache
/usr/local/apache/bin/apxs -iac mod_log_bytes.c

Comments off