我刚刚将服务器升级到Ubuntu 10.04,而cron刚刚停止工作.我试图重启服务器,重新启动cron,但没有任何对我有用.它只是在/ var / log / syslog中报告:
May 12 16:32:01 uhor CRON[8424]: Module is unknown May 12 16:33:01 uhor CRON[8430]: Module is unknown May 12 16:33:01 uhor CRON[8429]: Module is unknown May 12 16:34:01 uhor CRON[8432]: Module is unknown
你知道什么是错的吗?有些人报告升级后Module也是未知错误,但通常是使用passwd命令,而不是cron.
谢谢 :)
编辑:这是我的/etc/pam.d/cron
# # The PAM configuration file for the cron daemon # @include common-auth # Read environment variables from pam_env's default files,/etc/environment # and /etc/security/pam_env.conf. session required pam_env.so # In addition,read system locale information session required pam_env.so envfile=/etc/default/locale @include common-account @include common-session-noninteractive # Sets up user limits,please define limits for cron tasks # through /etc/security/limits.conf # session required pam_limits.so
阅读此错误报告:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/790538
原文链接:https://www.f2er.com/ubuntu/348379.html解决方案是重启cron:/etc/init.d/cron restart
至少它在我的服务器上运行.