service crond doesn't work properly
Hi, I have problem with crond service although its running on my service, doesn't execute any jobs from may 12
root@[/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 ?
-
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) 0 -
Hello, Please post the output from: cat /etc/pam.d/crond
Did you recently convert from Cloud Linux to CentOS? Thank you.0 -
root@ghadir [~]# 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 . 0 -
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. 0 -
thank you, please mark this post as solved . 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
6 comments