最近发现两台服务器的logrotate的配置一模一样;死活有一台服务器每晚没有去处理日志;配置文件对了一百遍;使用 logrotate -vf /etc/logrotate.d/xx
来强制执行发现是可行的;最后发现原来是crontab服务没有启动 使用 /etc/init.d/crond status
查看服务运行状态;最后启动 /etc/init.d/crond start
转载于:https://my.oschina.net/u/729139/blog/666210
最近发现两台服务器的logrotate的配置一模一样;死活有一台服务器每晚没有去处理日志;配置文件对了一百遍;使用 logrotate -vf /etc/logrotate.d/xx
来强制执行发现是可行的;最后发现原来是crontab服务没有启动 使用 /etc/init.d/crond status
查看服务运行状态;最后启动 /etc/init.d/crond start
转载于:https://my.oschina.net/u/729139/blog/666210