Error while start exim4 on Debian systems
● exim4.service - LSB: exim Mail Transport Agent
Loaded: loaded (/etc/init.d/exim4; generated)
Active: failed (Result: exit-code) since Thu 2023-03-09 10:23:53 EET; 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 1765817 ExecStart=/etc/init.d/exim4 start (code=exited, status=1/FAILURE)
CPU: 259ms
Mar 09 10:23:53 mailhost systemd[1]: Starting LSB: exim Mail Transport Agent...
Mar 09 10:23:53 mailhost exim4[1765817]: Starting MTA:
Mar 09 10:23:53 mailhost exim4[1766059]: 2023-03-09 10:23:53 Exim configuration error in line 38 of /var/lib/exim4/config.autogenerated.tmp:
Mar 09 10:23:53 mailhost exim4[1766059]: main option "acl_smtp_mime" unknown
Mar 09 10:23:53 mailhost exim4[1766061]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Mar 09 10:23:53 mailhost exim4[1766061]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Mar 09 10:23:53 mailhost systemd[1]: exim4.service: Control process exited, code=exited, status=1/FAILURE
Mar 09 10:23:53 mailhost systemd[1]: exim4.service: Failed with result 'exit-code'.
Mar 09 10:23:53 mailhost systemd[1]: Failed to start LSB: exim Mail Transport Agent.
means that the exim4-daemon-light package was installed instead of the exim4-daemon-heavy package. Therefore, it removes an unnecessary package and install the one we need:
# dpkg -r --force-depends exim4-daemon-light
# apt-get install exim4-daemon-heavy
# systemctl restart exim4
240
Xem tiếp...
● exim4.service - LSB: exim Mail Transport Agent
Loaded: loaded (/etc/init.d/exim4; generated)
Active: failed (Result: exit-code) since Thu 2023-03-09 10:23:53 EET; 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 1765817 ExecStart=/etc/init.d/exim4 start (code=exited, status=1/FAILURE)
CPU: 259ms
Mar 09 10:23:53 mailhost systemd[1]: Starting LSB: exim Mail Transport Agent...
Mar 09 10:23:53 mailhost exim4[1765817]: Starting MTA:
Mar 09 10:23:53 mailhost exim4[1766059]: 2023-03-09 10:23:53 Exim configuration error in line 38 of /var/lib/exim4/config.autogenerated.tmp:
Mar 09 10:23:53 mailhost exim4[1766059]: main option "acl_smtp_mime" unknown
Mar 09 10:23:53 mailhost exim4[1766061]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Mar 09 10:23:53 mailhost exim4[1766061]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Mar 09 10:23:53 mailhost systemd[1]: exim4.service: Control process exited, code=exited, status=1/FAILURE
Mar 09 10:23:53 mailhost systemd[1]: exim4.service: Failed with result 'exit-code'.
Mar 09 10:23:53 mailhost systemd[1]: Failed to start LSB: exim Mail Transport Agent.
means that the exim4-daemon-light package was installed instead of the exim4-daemon-heavy package. Therefore, it removes an unnecessary package and install the one we need:
# dpkg -r --force-depends exim4-daemon-light
# apt-get install exim4-daemon-heavy
# systemctl restart exim4
Similar Posts:
240
Xem tiếp...