Mochabomb

Web Design and Technical notes

Mochabomb header image 2

Cron errors - cron’s not running etc.. (CentOS 5.2)

September 27th, 2008 11:26 pm · No Comments

Had these errors recently on the exodus and genesis servers - been a lot of recent work on these…

pam_access(crond:account): access denied for user `someuser' from `cron'
crond[9985]: CRON (someuser) ERROR: failed to open PAM security session: Success
crond[9985]: CRON (someuser) ERROR: cannot set security context

This link solved it:

http://hostechs.com/2008/07/cron-error-failed-to-open-pam-security-session/

* /etc/cron.allow - add users to this file

* /etc/security/access.conf - comment out

# All other users should be denied to get access from all sources.
#- : ALL : ALL
# -:ALL EXCEPT root:LOCAL
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Tags: Linux

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment