CRON:模块未知

CRON:模块未知

我刚刚将我们的服务器升级到 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

答案1

阅读此错误报告:https://bugs.launchpad.net/ubuntu/+source/pam/+bug/790538

解决方法是重新启动cron:/etc/init.d/cron restart

至少它在我的服务器上运行。

答案2

这与 PAM 相关。请尝试:

aptitude reinstall libpam-modules libpam0g cron

相关内容