其实我发现这些报告在服务器的邮件队列。 它每天重复我find3封邮件…
2来自Cron Daemon
[cpbackup] Backups are not scheduled to run today (This can be adjusted in WHM => Backup => Configure Backup)
//我不知道为什么我看到这只是每周在星期五执行备份启用
etc/cron.daily/logrotate: error: conman:21 error verifying olddir path /var/log/conman.old/: No such file or directory error: found error in file conman, skipping
还有一个很长的日志邮件。
开始像1-2周前
谁都可以解释会发生什么?
谢谢
这些都看起来像标准的系统生成的消息。 例如,logwatch默认安装在大多数现代linux服务器上。 它会查看机器上的所有日志,并发送关于系统上正在进行的每晚的电子邮件。
有关conman的logrotate消息只是告诉你/var/log/conman.old不存在。 从logrotate手册页:
olddir directory Logs are moved into directory for rotation. The directory must be on the same physical device as the log file being rotated, and is assumed to be relative to the directory holding the log file unless an absolute path name is specified. When this option is used all old versions of the log end up in directory. This option may be overriden by the noolddir option.
所以只需以root身份创build该目录( sudo mkdir /var/log/conman.old ),这些消息应该停止,因为logrotate将能够将旧的日志文件旋转到目录中。
您应该能够通过cpanel接口将WHM备份消息调整到您的服务器。
如果您不想查看日志消息,只需将文件/etc/cron.daily/0logwatch移出cron.daily目录即可停止每日日志处理。 但是,我会鼓励你偶尔检查一下这些消息,以关注你的服务器正在发生的事情。
这些消息都看起来相对正常。 一旦你解决了logrotate错误,你应该没问题。