[BlueOnyx:23323] Re: Sendmail failing

Michael Stauber mstauber at blueonyx.it
Mon Oct 14 13:04:55 -05 2019


Hi Colin,

> I have a 5209R which has suddenly got the rats with sendmail.
> It keeps stopping after a few minutes.
> If I try and start from the CLI (/systemctl start sendmail.service) it fails with
> 
> 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.

Afterwards things should be working again.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list