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!

cphulkd can't connect to MySQL database

Discussion in 'General Discussion' started by sehh, Aug 20, 2009.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Europe
    For some reason the cphulkd error log: /usr/local/cpanel/logs/cphulkd_errors.log is full of errors like the ones below.

    We did have a recent MySQL corruption, so could this have affected the cphulkd tables or grant tables?

    Please help.



    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Access denied for user 'cphulkd'@'localhost' (using password: NO) at /usr/local/cpanel/Cpanel/Hulkd.pm line 250
    DBI connect('cphulkd:localhost','cphulkd',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/
    Hulkd.pm line 250
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    56
    The cPHulkd database password is stored in /var/cpanel/hulkdpass

    You can verify if its correct or not and reset if necessary, please open a support request if you need assistance with this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Europe
    thats the thing, if i try the username and password, it connects without a problem.

    but...

    if you notice the above error messages, access is denied because there was no password issued ("using password: NO"). Maybe thats a bug?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Europe
    hmm maybe this is related? this is what panic_log is full of:

    2009-08-17 14:52:08 invalid [cphulkd] Invalid lockfile /var/cpanel/hulkdpass.lock detected (zero size) [UID]: 0 [MTIME]: 1250520727 at /usr/local/cpanel/Cpanel/SafeFile.pm line 223
    Cpanel::SafeFile::_lock_wait('/var/cpanel/hulkdpass') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 115
    Cpanel::SafeFile::safelock('/var/cpanel/hulkdpass') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 24
    Cpanel::SafeFile::safeopen(GLOB(0x81dd10c), '<', '/var/cpanel/hulkdpass') called at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 54
    Cpanel::Config::LoadConfig::loadConfig('/var/cpanel/hulkdpass') called at /usr/local/cpanel/Cpanel/Hulkd.pm line 262
    Cpanel::Hulkd::_get_authentication_file_hash_ref('/var/cpanel/hulkdpass') called at /usr/local/cpanel/Cpanel/Hulkd.pm line 242
    Cpanel::Hulkd::build_db_connection(Cpanel::Hulkd=HASH(0x806ca9c)) called at /usr/local/cpanel/Cpanel/Hulkd.pm line 221
    Cpanel::Hulkd::processor_run(Cpanel::Hulkd=HASH(0x806ca9c)) called at /usr/local/cpanel/Cpanel/Hulkd.pm line 144
    Cpanel::Hulkd::launcher(Cpanel::Hulkd=HASH(0x806ca9c)) called at /usr/local/cpanel/Cpanel/Hulkd.pm line 107
    Cpanel::Hulkd::run_daemon(Cpanel::Hulkd=HASH(0x806ca9c)) called at /usr/local/cpanel/cphulkd.pl line 39
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice