Control Web Panel
WebPanel => Updates => Topic started by: filz51 on February 19, 2020, 02:36:18 PM
-
I made latest updates by yum and rebooted the server. after reboot Postfix Mailserver can't start.
--> postfix.service failed
Logs:
postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mit 2020-02-19 15:22:09 CET; 14s ago
Process: 10641 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 10635 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 10632 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Feb 19 15:22:07 postfix[10641]: Postfix is running with backwards-compatible default settings
Feb 19 15:22:07 postfix[10641]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Feb 19 15:22:07 postfix[10641]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Feb 19 15:22:07 postfix[10641]: /usr/libexec/postfix/post-install: Error: /etc/postfix/postfix-files is not a file.
Feb 19 15:22:07 postfix/postfix-script[10659]: fatal: unable to create missing queue directories
Feb 19 15:22:08 postfix/postfix-script[10660]: fatal: Postfix integrity check failed!
Feb 19 15:22:09 systemd[1]: postfix.service: control process exited, code=exited status=1
Feb 19 15:22:09 systemd[1]: Failed to start Postfix Mail Transport Agent.
Feb 19 15:22:09 systemd[1]: Unit postfix.service entered failed state.
Feb 19 15:22:09 systemd[1]: postfix.service failed.
How can I solve this?
-
This is going to happen to everyone. Postfix screwed up. Easy Solution.
Sorry. Changing answer.
edit /etc/postfix/main.cf
add the following line towards the top
meta_directory = /usr/share/postfix
systemctl start postfix
-
the easy fix just run this command and restart postfix :
touch /etc/postfix/postfix-files
this will be fixed via update
-
Thanks for the answers.
The the server is running again. :D