LoginSignup
6
6

More than 5 years have passed since last update.

open-sslの対応後にcronが動かなくなる

Last updated at Posted at 2014-06-02

ある日見るとcronがどうも動いていないような。

shell
Jun  2 05:10:01 ip-xxx.xxx.xxx.xxx crond[16612]: (root) FAILED to authorize user with PAM (Module is unknown)
Jun  2 05:20:01 ip-xxx.xxx.xxx.xxx crond[17303]: (root) FAILED to authorize user with PAM (Module is unknown)
Jun  2 05:30:01 ip-xxx.xxx.xxx.xxx crond[18078]: (root) FAILED to authorize user with PAM (Module is unknown)

cron自体が動いていないというか、crondが何やら定期的にエラーをはいています。

対応はcrondの再起動。

shell
# service crond restart

open-sslのアップデートの時にでも起こったようで。
変な所で影響でるな~。

★追記
以下のようなエラーが出ているパターンもあります。

shell
Jun  2 08:50:01 hostname CROND[23203]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jun  2 09:00:01 hostname CROND[23326]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jun  2 09:01:01 hostname CROND[23339]: (root) CMD (run-parts /etc/cron.hourly)
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6