Postfix and Centos 7 fatal: parameter inet_interfaces: no local interface found

Hi all,

I just upgraded my Centos to the latest one, from centos 7.3 to 7.4

I always used postfix and nothing changed before and after the upgrade.

But now, after the upgrade, postfix fails to start at startup.

It says:

fatal: parameter inet_interfaces: no local interface found for 2600:3c03::f03c:91ff:xxxx:xxxx

Once Centos boot is complete, if I start postfix manually, it starts without problems.

Any idea on how to solve it?

Thanks

4 Replies

Probably the same as this startup issue.

Create:

/etc/sysctl.d/80-network.conf

net.ipv4.ip_nonlocal_bind = 1
net.ipv6.ip_nonlocal_bind = 1

@millisa:

Probably the same as this startup issue.

Create:

/etc/sysctl.d/80-network.conf

net.ipv4.ip_nonlocal_bind = 1
net.ipv6.ip_nonlocal_bind = 1

thank you but it didn't worked

I temporaly solved by adding this to my postfix.service file but this is a dirty workaround.

Is there someone who has a better solution please?

> [Service]

Restart=on-failure

RestartSec=10s

StartLimitInterval=1min

Ok, I finded a better solution.

I had no to the ipv6init in this file

/etc/sysconfig/network-scripts/ifcfg-eth0

changed to yes and now it works.

IPV6INIT="yes"

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct