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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200318/288e0414/attachment-0001.html>
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200319/d055d387/attachment-0001.html>
Am 19.03.2020 um 16:28 schrieb Adam Raszkiewicz:> 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, > AdamUse a proper systemd unit file instead of the initd script. Alexander
> On 18 Mar 2020, at 19.55, Adam Raszkiewicz <araszkiewicz at medallies.com> wrote: > > 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?Can you use the community packages instead? https://repo.dovecot.org/ <https://repo.dovecot.org/> Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200326/e47a152d/attachment-0001.html>