The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

service crond doesn't work properly

Discussion in 'General Discussion' started by NaSRi, May 31, 2015.

  1. NaSRi

    NaSRi Member

    Joined:
    Aug 13, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    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


    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 ?
     
  2. NaSRi

    NaSRi Member

    Joined:
    Aug 13, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    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)
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. NaSRi

    NaSRi Member

    Joined:
    Aug 13, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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 .
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. NaSRi

    NaSRi Member

    Joined:
    Aug 13, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    thank you , please mark this post as solved .
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page