I just upgraded our server to Ubuntu 10.04 and cron
just stopped working. I tried to restart the server, restart cron
but nothing worked for me. It just reports in /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
Do you have any idea what's wrong? Some people were reporting also Module is unknown
error after upgrading but it was usually with passwd
command, not with cron
.
This is my /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
I guess there might be something wrong with my pam_* files, but I tried to reinstall them and it didn't help.