dovecot failed at step exec spawning

tloosle

Active Member
Nov 4, 2009
28
0
51
after a power failure I get this:

service dovecot status

Started Dovecot Imap Server.
Starting Dovecot Imap Server...
Failed at step EXEC spawning /usr/sbin/dovecot: Exec format error
dovecot.service: main process exited, code=exited, status=203/EXEC
Unit dovecot.service entered failed state.
dovecot.service failed.

any ideas? or how to reinstall dovecot?

thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello,

You could try removing the RPM and reinstalling it via the following commands:

Code:
rpm -e --nodeps dovecot-2.2.26.0-2.cp1158.x86_64
/usr/local/cpanel/scripts/check_cpanel_rpms --fix
Thank you.