TurnKey Linux Virtual Appliance Library

ANSWERED: problem starting postfix

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?

Jeremy's picture

Glad you got it sorted!

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.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)