For the past day, every half hour or so, /var/log/syslog gets this burst within one second:
CRON: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)) Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE CIFS VFS: Send error in SessSetup = -13 Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE CIFS VFS: Send error in SessSetup = -13
/etc/cron.d/php5 contains that first line, with a comment " Look for and purge old sessions every 30 minutes". A bit more investigation shows that it's tidying up /var/lib/php5 (which is quite bare; this host doesn't use php).
- Why could the 4 error messages have suddenly started to appear? Removing old files shouldn't cause anything to try to mount a CIFS share.
- What's a clean way to stop
/etc/cron.d/php5from running? Uninstall php completely? (Editing the script is like telling the roomba to keep mopping up the bathroom floor, instead of phoning the plumber.)