Problem auto starti...
 
Notifications
Clear all

Problem auto starting. 9.0.0 ZEXTRAS and CentOS 8

allxi
(@allxi)

Hi.

9.0.0 ZEXTRAS and CentOS 8 Linux (4.18.0-193.28.1.el8_2.x86_64)
It has problem auto starting. (Two cases of installation from scratch)

Script /etc/rc.d/init.d/zimbra
● zimbra.service - LSB: Zimbra mail service
Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
Active: failed (Result: exit-code) since Tue 2020-12-08 1108 EET; 2min 47s ago
Docs: man:systemd-sysv-generator(8)
Process: 1336 ExecStart=/etc/rc.d/init.d/zimbra start (code=exited, status=127)

Dec 08 1108 systemd[1]: Starting LSB: Zimbra mail service...
Dec 08 1108 zimbra[1336]: /etc/rc.d/init.d/zimbra: line 41: su: command not found
Dec 08 1108 systemd[1]: zimbra.service: Control process exited, code=exited status=127
Dec 08 1108 systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 08 1108 systemd[1]: Failed to start LSB: Zimbra mail service.

40,41 line

        # bug 45842
        su - zimbra -c "zmcontrol $1 </dev/null

If I change to "/bin/su" in line 41

systemctl status zimbra
Warning: The unit file, source configuration file or drop-ins of zimbra.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● zimbra.service - LSB: Zimbra mail service
   Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
   Active: failed (Result: exit-code) since Sat 2020-12-05 2247 EET; 15min ago
     Docs: man:systemd-sysv-generator(8)

Dec 05 2247  systemd[1]: Starting LSB: Zimbra mail service...
Dec 05 2247  zimbra[1345]: /etc/rc.d/init.d/zimbra: line 41: /bin/su: Permission denied
Dec 05 2247  systemd[1]: zimbra.service: Control process exited, code=exited status=126
Dec 05 2247  systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 05 2247  systemd[1]: Failed to start LSB: Zimbra mail service.

Found a similar case here.
https://forums.zimbra.org/viewtopic.php?f=15&t=68583&p=298599&hilit=startup#p298599


● zimbra.service - LSB: Zimbra mail service
Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
Active: failed (Result: exit-code) since Tue 2020-12-08 1108 EET; 2min 47s ago
Docs: man:systemd-sysv-generator(8)
Process: 1336 ExecStart=/etc/rc.d/init.d/zimbra start (code=exited, status=127)

Dec 08 1108 systemd[1]: Starting LSB: Zimbra mail service...
Dec 08 1108 zimbra[1336]: /etc/rc.d/init.d/zimbra: line 41: su: command not found
Dec 08 1108 systemd[1]: zimbra.service: Control process exited, code=exited status=127
Dec 08 1108 systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 08 1108 systemd[1]: Failed to start LSB: Zimbra mail service.

40,41 line
# bug 45842
su - zimbra -c "zmcontrol $1 </dev/null
If I change to "/bin/su" in line 41

systemctl status zimbra
Warning: The unit file, source configuration file or drop-ins of zimbra.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● zimbra.service - LSB: Zimbra mail service
   Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
   Active: failed (Result: exit-code) since Sat 2020-12-05 2247 EET; 15min ago
     Docs: man:systemd-sysv-generator(8)

Dec 05 2247  systemd[1]: Starting LSB: Zimbra mail service...
Dec 05 2247  zimbra[1345]: /etc/rc.d/init.d/zimbra: line 41: /bin/su: Permission denied
Dec 05 2247  systemd[1]: zimbra.service: Control process exited, code=exited status=126
Dec 05 2247  systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 05 2247  systemd[1]: Failed to start LSB: Zimbra mail service.

Found a similar case here.
https://forums.zimbra.org/viewtopic.php?f=15&t=68583&p=298599&hilit=startup#p298599


# bug 45842
su - zimbra -c "zmcontrol $1 </dev/null

If I change to "/bin/su" in line 41

systemctl status zimbra
Warning: The unit file, source configuration file or drop-ins of zimbra.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● zimbra.service - LSB: Zimbra mail service
Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
Active: failed (Result: exit-code) since Sat 2020-12-05 2247 EET; 15min ago
Docs: man:systemd-sysv-generator(8)

Dec 05 2247 systemd[1]: Starting LSB: Zimbra mail service...
Dec 05 2247 zimbra[1345]: /etc/rc.d/init.d/zimbra: line 41: /bin/su: Permission denied
Dec 05 2247 systemd[1]: zimbra.service: Control process exited, code=exited status=126
Dec 05 2247 systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 05 2247 systemd[1]: Failed to start LSB: Zimbra mail service.

Found a similar case here.
https://forums.zimbra.org/viewtopic.php?f=15&t=68583&p=298599&hilit=startup#p298599

systemctl status zimbra
Warning: The unit file, source configuration file or drop-ins of zimbra.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● zimbra.service - LSB: Zimbra mail service
Loaded: loaded (/etc/rc.d/init.d/zimbra; generated)
Active: failed (Result: exit-code) since Sat 2020-12-05 2247 EET; 15min ago
Docs: man:systemd-sysv-generator(8)

Dec 05 2247 systemd[1]: Starting LSB: Zimbra mail service...
Dec 05 2247 zimbra[1345]: /etc/rc.d/init.d/zimbra: line 41: /bin/su: Permission denied
Dec 05 2247 systemd[1]: zimbra.service: Control process exited, code=exited status=126
Dec 05 2247 systemd[1]: zimbra.service: Failed with result 'exit-code'.
Dec 05 2247 systemd[1]: Failed to start LSB: Zimbra mail service.

Found a similar case here.
https://forums.zimbra.org/viewtopic.php?f=15&t=68583&p=298599&hilit=startup#p298599

Quote
Topic starter Posted : 08/12/2020 12:00 pm