bo's picture

It was a bonehead mistake that I made. I copied over a main.cf file from a CentOS VM that I had - it had a path to /usr/libexec. reverting back to the default main.cf and adding a relayhost made things well again.

----------------------------------

We've been migrating some of our VMs to turnkey linux. It's been a very useful exercise.

Having a bit of a problem with one of them, a TKL file server. Postfix will not start:

The error is:

> Starting Postfix Mail Transport Agent: postfixpostfix: fatal: chdir(/usr/libexec/postfix): No such file or directory.

There is in fact no /usr/libexec/ directory at all so the error is valid.

This is a stock appliance, a bit over 1 month old. The *only* non-standard item added to it is the opsview-agent (for Nagios). 

I've uninstalled and reinstalled postfix with no change in behavior.

Can anybody offer some guidance?

Forum: 
Jeremy Davis's picture

As you discovered, whilst Debian is Linux, things are sometimes a little different. You probably know already but just in case, for future reference generally Ubuntu and Debian are often close enough to be able to swap stuff between, but as a general rule CentOS (and RHEL etc) are often a little different.

Add new comment