Cron job is failing with "FAILED to open PAM security session (System error)"
Issue
- Cron is failing every time and jobs are not getting executed. All jobs are executed as root.
- Below logs are getting reported in
cronlog file.
2015-10-22 16:25:01 server crond[44825]: (root) FAILED to open PAM security session (System error)
2015-10-22 16:25:01 server crond[44822]: (root) FAILED to open PAM security session (System error)
- At the same time, following logs can be seen in
/var/log/securelog file.
2015-10-22 16:31:01 server crond[56436]: pam_lastlog(crond:session): no conversation function
2015-10-22 16:31:01 server crond[56436]: pam_lastlog(crond:session): no conversation function
Environment
- Red Hat Enterprise Linux 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
