Author Topic: Postfix Mailserver not starting  (Read 6661 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Postfix Mailserver not starting
« 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?

Offline
****
Re: Postfix Mailserver not starting
« Reply #1 on: February 19, 2020, 03:07:10 PM »
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
« Last Edit: February 19, 2020, 03:13:17 PM by rcschaff »
Google Hangouts:  rcschaff82@gmail.com

Offline
*****
Re: Postfix Mailserver not starting
« Reply #2 on: February 19, 2020, 03:28:02 PM »
the easy fix just run this command and restart postfix :
Code: [Select]
touch /etc/postfix/postfix-files
this will be fixed via update

Offline
*
Re: Postfix Mailserver not starting
« Reply #3 on: February 19, 2020, 03:49:13 PM »
Thanks for the answers.
The the server is running again.  :D