On 5/16/24 18:40, Alex wrote:
Hi, I have a fedora38 server with postfix-3.7.9 (although this problem has existed for a long time) that fails to start because I believe the server has multiple interfaces. ifconfig shows just the primary ethernet interface, but "ip addr" shows the rest. There are five total interfaces in this multi-instance postfix config. Here are the related boot messages from journalctl -xb0: postfix[1360]: egrep: warning: egrep is obsolescent; using grep -E postfix[1371]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.197 postfix[1374]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.198 postfix[1375]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.199 postfix[1376]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.200 postfix[1379]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.201 Each of the IPs correspond to a different postfix instance. After the system boots, I can start postfix successfully with just "service postfix start".
Since it has systemd as an option and the postfix service should know to wait for networking, why not use that to run it?
systemctl unmask postfix systemctl enable postfix systemctl start postfix After that it should start automatically on boot.
Is it perhaps trying to start before networking is available? This would be odd because the problem has persisted for quite a while, and I would have thought something like that would have been fixed long ago. Perhaps related to the difference between ifconfig and ip? Where is the egrep coming from? I don't see it in the systemd file: # ls -l /etc/systemd/system/multi-user.target.wants/postfix.service lrwxrwxrwx 1 root root 39 Jan 24 2023 /etc/systemd/system/multi-user.target.wants/postfix.service -> /usr/lib/systemd/system/postfix.service
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue