I was able to solve errors below but now it complains about the startup how is handled on Centos7:
● dovecot.service - LSB: Dovecot init script
Loaded: loaded (/etc/rc.d/init.d/dovecot; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-03-19 15:15:37 UTC; 54s ago
Docs: man:systemd-sysv-generator(8)
Process: 20398 ExecStart=/etc/rc.d/init.d/dovecot start (code=exited, status=203/EXEC)
Mar 19 15:15:37 systemd[1]: Starting LSB: Dovecot init script...
Mar 19 15:15:37 systemd[1]: dovecot.service: control process exited, code=exited status=203
Mar 19 15:15:37 systemd[1]: Failed to start LSB: Dovecot init script.
Mar 19 15:15:37 systemd[1]: Unit dovecot.service entered failed state.
Mar 19 15:15:37 systemd[1]: dovecot.service failed.
Any thoughts on that matter?
Thanks,
Adam
------------------------------------------------------------------------------------
Freshly compiled dovecot 2.3.9.3 on Centos 7 for some reason not able to start
sudo systemctl status dovecot.service
● dovecot.service - LSB: Starts the Dovecot POP3/IMAP service
Loaded: loaded (/etc/rc.d/init.d/dovecot; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-03-18 16:32:17 UTC; 15s ago
Docs: man:systemd-sysv-generator(8)
Process: 2868 ExecStart=/etc/rc.d/init.d/dovecot start (code=exited, status=127)
Mar 18 16:32:17 systemd[1]: Starting LSB: Starts the Dovecot POP3/IMAP service...
Mar 18 16:32:17 dovecot[2868]: /etc/rc.d/init.d/dovecot: line 34: log_info_msg: command not found
Mar 18 16:32:17 dovecot[2868]: /etc/rc.d/init.d/dovecot: line 35: start_daemon: command not found
Mar 18 16:32:17 dovecot[2868]: /etc/rc.d/init.d/dovecot: line 36: evaluate_retval: command not found
Mar 18 16:32:17 systemd[1]: dovecot.service: control process exited, code=exited status=127
Mar 18 16:32:17 systemd[1]: Failed to start LSB: Starts the Dovecot POP3/IMAP service.
Mar 18 16:32:17 systemd[1]: Unit dovecot.service entered failed state.
Mar 18 16:32:17 systemd[1]: dovecot.service failed.
I have compiled the same code on Centos 6 and had no problem to run it.
Any thoughts on that?
Thanks,
Adam