Exim issue – exim dead but subsys locked

Posted: 5p in Exim

Exim issue – exim dead but subsys locked – but is still working!

Unable to start exim

=======================>
-bash-3.2# service exim status
exim dead but subsys locked
=======================>
-bash-3.2# /etc/init.d/exim start
Starting clamd: /bin/bash: line 1: 13542 Terminated /usr/sbin/clamd
[FAILED]
Starting exim: 2012-04-30 15:07:17 Exim configuration error in line 1119 of /etc/exim.conf:
option “dk_private_key” unknown
[FAILED]
/usr/local/cpanel/scripts/update_sa_rules: already running with pid(s): 13543
=======================>
While moving it’s not permitted

mv /etc/exim.conf /etc/exim.conf_bak

-bash-3.2# mv /etc/exim.conf /etc/exim.conf_bak
mv: cannot move `/etc/exim.conf’ to `/etc/exim.conf_bak’: Operation not permitted
=======================>

Check the file attribute and permission

ls -l /etc/exim.conf
ls -l /usr/sbin/exim
lsattr /usr/sbin/exim
lsattr /etc/exim.conf
chattr -a -A /etc/exim.conf
mv /etc/exim.conf /etc/exim.conf_bak

/scripts/rebuildeximbsd
/scripts/eximconfgen
/scripts/eximup –force
service exim status
/etc/init.d/exim restart

Now the exim service will working fine.
=======================>

Advertisements

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