Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Cron Problem " /usr/bin/test -x /usr/local/ "

Discussion in 'E-mail Discussions' started by egli, Oct 23, 2017.

  1. egli

    egli Registered

    Joined:
    Oct 23, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Albania
    cPanel Access Level:
    Root Administrator
    Hello ! I have a problem with cron . Need your help .

    Subject: Cron <> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache

    Error while connecting to MySQL: (XID cdt2a3) The system failed to connect to the "MySQL" database "mysql" because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Cpanel/Mysql.pm line 167.

     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,494
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you reproduce this issue when running the "/usr/local/cpanel/scripts/update_db_cache" command manually?

    Thank you.
     
Loading...

Share This Page