Postfix 2.10 Failed to Start Centos 7

46 views
Skip to first unread message

Craig Wilson

unread,
Jan 2, 2021, 6:56:46 AM1/2/21
to
Hi,

I have recently "yum upgrade" my Centos Linux 7 Server. I had a fully working Postfix 2.10 system prior to that.

My Postfix service won't start. This is the error:

Jan 01 20:36:02 pbx.myrevtel.com systemd[1]: Starting Postfix Mail Transport Agent...
Jan 01 20:36:02 pbx.myrevtel.com aliasesdb[28441]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: compatibility_level=2
Jan 01 20:36:02 pbx.myrevtel.com aliasesdb[28441]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: meta_directory=/etc/postfix
Jan 01 20:36:02 pbx.myrevtel.com aliasesdb[28441]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: shlib_directory=no

Jan 01 20:36:02 pbx.myrevtel.com postfix[28445]: /usr/lib/postfix/postfix-script: line 74: cd: HOME not set

It appears related to the shlib_directory within the above postfix-script file.
However, apparently the shlib_directory variable is only available in version 3.0+

Could anyone advise please.

Thanks!

Craig Wilson

unread,
Jan 2, 2021, 9:50:35 AM1/2/21
to
Just to add: If I execute postconf -d | grep shlib_directory - I get shlib_directory = no
on the previous version.

However, on my upgraded version the shlib_directory = no is not returned from the postconf -d command.

This is key in determining the error IMO.

skhohlov

unread,
Jan 2, 2021, 4:37:51 PM1/2/21
to
Have you tried to comment those strings ?

субота, 2 січня 2021 р. о 16:50:35 UTC+2 wilson...@gmail.com пише:
Reply all
Reply to author
Forward
0 new messages