Skip to main content

service crond doesn't work properly

Comments

6 comments

  • NaSRi
    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
  • cPanelMichael
    Hello, Please post the output from:
    cat /etc/pam.d/crond
    Did you recently convert from Cloud Linux to CentOS? Thank you.
    0
  • NaSRi
    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
  • cPanelMichael
    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
  • NaSRi
    thank you, please mark this post as solved .
    0
  • cPanelMichael
    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.