我刚刚将我们的服务器升级到 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 is unknown
在升级后也报告了错误,但通常是使用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
我猜我的 pam_* 文件可能有问题,但我尝试重新安装它们,但没有帮助。