Postfix and Dovecot stopped working suddenly

I woke up today and after 2 years of working like a charm postfix greeted me with this:

/etc/init.d/postfix start Starting Postfix Mail Transport Agent: postfixpostfix/postfix-script: fatal: no Postfix master program /usr/lib/postfix/master! failed! This isn't enough dovecot refused to work as well: /etc/init.d/dovecot start Starting IMAP/POP3 mail server: dovecotError: mail_executable: Can't use /usr/lib/dovecot/imap: No such file or directory Fatal: Invalid configuration in /etc/dovecot/dovecot.conf failed!

There are many posts how to fix it but I didn’t succed, Can someone help me and explain what happened?

uname -a
Linux 2.6.26.6-vs2.3.0.35.6 #1 SMP Tue Apr 14 10:59:35 CEST 2009 i686 GNU/Linux

Did this happen after applying any update? If so, maybe the config files were overwritten.

If not, might be filesystem corruption caused by a bad disk or bad RAM.

You should check dmesg for any relevant information.

Howdy,

What distro/version are you using?

Also, if you’re seeing some sort of hardware related issue, it may show up in your dmesg output. What does this command show:

dmesg | tail -30

It’s a VPS so I can’t view the output of dmesg.

It’s Debian 5

root@host:/var/log# uname -a Linux host.xxx.xxx.xx 2.6.26.6-vs2.3.0.35.6 #1 SMP Tue Apr 14 10:59:35 CEST 2009 i686 GNU/Linux