crond FAILED to open PAM security session (Permission denied)

st_bach

Registered
Sep 19, 2019
1
0
1
UK
cPanel Access Level
Root Administrator
Hi,

Yesterday, I noticed that cron Jobs stopped working.

/var/log/cron logs:

crond[13653]: (root) FAILED to open PAM security session (Permission denied)
crond[13860]: (root) PAM ERROR (Permission denied)
crond[13861]: (myuser) PAM ERROR (Permission denied)
crond[13861]: (myuser) FAILED to open PAM security session (Permission denied)

/var/log/secure logs:

crond[15477]: PAM (crond) illegal module type: lcredit=-1
crond[15477]: PAM (crond) no control flag supplied
crond[15477]: PAM (crond) no module name supplied

I tried every solution I found online but nothing worked, including:
  • changed password
  • checked if password is not expired
  • amended /etc/security/access.conf
  • disabled SELinux
  • check cron.allow and cron.deny

Manually cron jobs works, I haven't changed anything recently. Although cpanel/WHM was updated automatically recently.


Thanks
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!