ubuntu-10.04 – CRON:模块未知

前端之家收集整理的这篇文章主要介绍了ubuntu-10.04 – 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也是未知错误,但通常是使用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

解决方案是重启cron:/etc/init.d/cron restart

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

原文链接:https://www.f2er.com/ubuntu/348379.html

猜你在找的Ubuntu相关文章