service crond doesn't work properly

NaSRi

Member
Aug 13, 2014
15
0
1
cPanel Access Level
Root Administrator
Hi , I have problem with crond service although its running on my service , doesn't execute any jobs from may 12


[email protected][/var/spool/cron]# service crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]

Apr 12 03:40:01 ghadir CROND[731976]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
Apr 12 03:40:01 ghadir CROND[731977]: (root) CMD (/usr/sbin/processpaneluserspackages)
Apr 12 03:40:01 ghadir CROND[731978]: (karsangs) CMD (/usr/bin/php -q /home/xxxxx/public_html/xxxxx/del.

I found this problem cause my daily process log doesn't work .


Have you any suggest ?
 

NaSRi

Member
Aug 13, 2014
15
0
1
cPanel Access Level
Root Administrator
here is the output of /var/log/cron

FAILED to open PAM security session (Module is unknown)

May 31 16:21:01 x crond[81952]: (root) FAILED to open PAM security session (Module is unknown)
May 31 16:21:01 x crond[81954]: (root) FAILED to open PAM security session (Module is unknown)
May 31 16:21:01 x crond[81953]: (xx) FAILED to open PAM security session (Module is unknown)
May 31 16:21:01 x crond[81955]: (x) FAILED to open PAM security session (Module is unknown)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Please post the output from:

Code:
cat /etc/pam.d/crond
Did you recently convert from Cloud Linux to CentOS?

Thank you.
 

NaSRi

Member
Aug 13, 2014
15
0
1
cPanel Access Level
Root Administrator
[email protected] [~]# cat /etc/pam.d/crond
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
account required pam_access.so
account include password-auth
session required pam_loginuid.so
session include password-auth
auth include password-auth
session required pam_lve.so 500 0



yes I think recently it has been converted .
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Try removing the "session required pam_lve.so 500 0" line from /etc/pam.d/crond and then restart the crond service to address this issue. That line is leftover from your Cloud Linux installation.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.