[BlueOnyx:23324] Re: Sendmail failing

Colin Jack colin at mainline.co.uk
Mon Oct 14 14:12:24 -05 2019


Hi Michael,
    > Can't open PID file /var/run/sendmail.pid (yet?) after start: Too many levels of symbolic links
    
    Please check if /var/run/ on that box is a directory. If it is, then
    that's the problem. It should be a Symlink to /run instead. Systemd goes
    bonkers if that's mixed up.
    
    The fix?
    
    rm -R /var/run
    ln -s /run /var/run
    /sbin/reboot
    
    The reboot *is* needed.
    
That is a symlink:

[root at neptune ~]# ls -al /var
lrwxrwxrwx  1 root root     4 Oct 14 18:49 run -> /run 

Still broken. :-/

[root at neptune ~]# systemctl status sendmail.service
● sendmail.service - Sendmail Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/sendmail.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Mon 2019-10-14 19:04:47 UTC; 22s ago
  Process: 7648 ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG (code=exited, status=0/SUCCESS)
  Process: 7642 ExecStartPre=/etc/mail/make aliases (code=exited, status=0/SUCCESS)
  Process: 7639 ExecStartPre=/etc/mail/make (code=exited, status=0/SUCCESS)

Oct 14 19:03:16 neptune sendmail[7649]: starting daemon (8.14.7): SMTP+queueing at 01:00:00
Oct 14 19:03:16 neptune systemd[1]: Can't open PID file /var/run/sendmail.pid (yet?) after start: Too many levels of symbolic links
Oct 14 19:03:33 neptune sendmail[7655]: x9EJ3Xrw007655: [192.168.10.254] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Oct 14 19:03:45 neptune sendmail[7663]: x9EJ3g2N007663: ip-38-37.ZervDNS [92.118.38.37] (may be forged) did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Oct 14 19:04:00 neptune sendmail[7689]: x9EJ3xKX007689: [45.142.195.5] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Oct 14 19:04:21 neptune sendmail[7696]: x9EJ4Iav007696: ip-38-37.ZervDNS [92.118.38.37] (may be forged) did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Oct 14 19:04:47 neptune systemd[1]: sendmail.service start operation timed out. Terminating.
Oct 14 19:04:47 neptune systemd[1]: Failed to start Sendmail Mail Transport Agent.
Oct 14 19:04:47 neptune systemd[1]: Unit sendmail.service entered failed state.
Oct 14 19:04:47 neptune systemd[1]: sendmail.service failed.

Thanks

Colin





More information about the Blueonyx mailing list