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.

a fatal error or timeout occurred while processing directive : whm >> create account

Discussion in 'Database Discussions' started by sreeninair, Jul 1, 2014.

  1. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    I am getting the error while creating account from whm.

    a fatal error or timeout occurred while processing directive


    Mysql service is running fine,

    cpanel log:

    Code:
    ==============
    	main::wwwacct() called at whostmgr/bin/whostmgr5 line 234
    [2014-07-01 05:56:05 -0700] die [Internal Death while parsing [stdin] 16631] Can't call method "errstr" on unblessed reference at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 166.
    	Cpanel::MysqlUtils::Connect::_single_sql_cmd('Cpanel::MysqlUtils::Connect=HASH(0x4600450)', 'use mysql;', 'HASH(0x4601110)') called at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 96
    	Cpanel::MysqlUtils::Connect::sqlcmd(undef, 'SHOW DATABASES LIKE \'igiohigi\';') called at /usr/local/cpanel/Cpanel/MysqlUtils.pm line 407
    	Cpanel::MysqlUtils::sqlcmd('SHOW DATABASES LIKE \'igiohigi\';') called at /usr/local/cpanel/Cpanel/MysqlUtils.pm line 110
    	Cpanel::MysqlUtils::db_exists('igiohigi') called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 438
    	Whostmgr::Accounts::Create::_wwwacct('domain', 'igioh.com', 'plan', 'default', 'useregns', 0, 'dkim', 1, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1960
    	Whostmgr::Accounts::Create::__createaccount('mxcheck', 'local', 'quota', 'unlimited', 'domain', 'igioh.com', 'maxpark', 0, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2011
    	Whostmgr::Accounts::Create::_createaccount('mxcheck', 'local', 'quota', 'unlimited', 'domain', 'igioh.com', 'maxpark', 0, ...) called at whostmgr/bin/whostmgr5 line 610
    	main::wwwacct() called at whostmgr/bin/whostmgr5 line 234

    Code:
    Can't call method "errstr" on unblessed reference at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 166.
    [2014-07-01 05:56:11 -0700] warn [cpses_tool] DBI connect('mysql:localhost;mysql_multi_statements=1','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 70
     at /usr/local/cpanel/Cpanel/MysqlUtils/Connect.pm line 72
    	Cpanel::MysqlUtils::Connect::new('Cpanel::MysqlUtils::Connect', 'database', 'mysql', 'dbuser', 'root', 'dbpass', 'wu>*%Idu', 'dbserver', 'localhost', 'debug', 0) called at /usr/local/cpanel/Cpanel/MysqlUtils.pm line 387
    	Cpanel::MysqlUtils::new('Cpanel::MysqlUtils', 'database', 'mysql', 'dbuser', 'root', 'dbpass', 'wu>*%Idu', 'dbserver', 'localhost', 'debug', 0) called at /usr/local/cpanel/Cpanel/Mysql.pm line 115
    	eval {...} called at /usr/local/cpanel/Cpanel/Mysql.pm line 115
    	Cpanel::Mysql::_get_dbh(Cpanel::Mysql=HASH(0x2fdaf70), 'localhost', 'root', 'wu>*%Idu') called at /usr/local/cpanel/Cpanel/Mysql.pm line 83
    	Cpanel::Mysql::new('Cpanel::Mysql', HASH(0x2fdb690)) called at bin/cpses_tool line 182
    	bin::cpses_tool::action_CLEANUPSESSIONS('bin::cpses_tool', HASH(0x2fdada0)) called at bin/cpses_tool line 73
    	bin::cpses_tool::process_request(HASH(0x2fdada0)) called at bin/cpses_tool line 60
    	bin::cpses_tool::script('bin::cpses_tool') called at bin/cpses_tool line 36
    [2014-07-01 05:56:11 -0700] warn [cpses_tool] Error while connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111). at /usr/local/cpanel/Cpanel/Mysql.pm line 1637
    	Cpanel::Mysql::_log_error_and_output(Cpanel::Mysql=HASH(0x2fdaf70), 'Error while connecting to MySQL: [_1].', 'Can\'t connect to local MySQL server through socket \'/tmp/mysql.sock\' (111)') called at /usr/local/cpanel/Cpanel/Mysql.pm line 124
    	Cpanel::Mysql::_get_dbh(Cpanel::Mysql=HASH(0x2fdaf70), 'localhost', 'root', 'wu>*%Idu') called at /usr/local/cpanel/Cpanel/Mysql.pm line 83
    	Cpanel::Mysql::new('Cpanel::Mysql', HASH(0x2fdb690)) called at bin/cpses_tool line 182
    	bin::cpses_tool::action_CLEANUPSESSIONS('bin::cpses_tool', HASH(0x2fdada0)) called at bin/cpses_tool line 73
    	bin::cpses_tool::process_request(HASH(0x2fdada0)) called at bin/cpses_tool line 60
    	bin::cpses_tool::script('bin::cpses_tool') called at bin/cpses_tool line 36
    [2014-07-01 05:56:11 -0700] warn [cpses_tool] Error from MySQL query: Can't call method "do" on an undefined value at /usr/local/cpanel/Cpanel/Mysql.pm line 1196.
     at /usr/local/cpanel/Cpanel/Mysql.pm line 1205
    	Cpanel::Mysql::sendmysql(Cpanel::Mysql=HASH(0x2fdaf70), 'set sql_mode=\'\' /* DISABLE ANSI_QUOTES and normalize */;') called at /usr/local/cpanel/Cpanel/Mysql.pm line 93
    	Cpanel::Mysql::new('Cpanel::Mysql', HASH(0x2fdb690)) called at bin/cpses_tool line 182
    	bin::cpses_tool::action_CLEANUPSESSIONS('bin::cpses_tool', HASH(0x2fdada0)) called at bin/cpses_tool line 73
    	bin::cpses_tool::process_request(HASH(0x2fdada0)) called at bin/cpses_tool line 60
    	bin::cpses_tool::script('bin::cpses_tool') called at bin/cpses_tool line 36
    ======================
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you verify if the /tmp/mysql.sock symbolic link exists on your system? If not, try creating it via:

    Code:
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    Let us know if this makes a difference.

    Thank you.
     
  3. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Mike,

    I have created the link and now able to create account. But the error in whm interface still persist.

    Create a New Account

    [an error occurred while processing this directive] Notification => accounts@test.com via EMAIL [level => 3]
    Account Creation Status: ok (Account Creation Ok)



    Please see the cPanel error log below.

    ============================
    /usr/sbin/nscd: nscd not running!

    [2014-07-01 06:37:25 -0700] warn [Internal Warning while parsing [stdin] 8510] Executed /usr/bin/openssl rsa -in /dev/stdin -pubout -outform PEM at /usr/local/cpanel/Cpanel/DKIM.pm line 207.
    Cpanel::DKIM::check_and_gen_keys('ARRAY(0x2a95350)') called at /usr/local/cpanel/Cpanel/DKIM.pm line 123
    Cpanel::DKIM::setup_domain_keys('user', 'uyguyddg', 'skipreload', 1) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1446
    Whostmgr::Accounts::Create::_wwwacct('digestauth', undef, 'useregns', 0, 'installfp', 'n', 'useip', 'n', ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1960
    Whostmgr::Accounts::Create::__createaccount('maxpop', 'unlimited', 'hasuseregns', 1, 'maxsql', 'unlimited', 'maxaddon', 0, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2011
    Whostmgr::Accounts::Create::_createaccount('maxpop', 'unlimited', 'hasuseregns', 1, 'maxsql', 'unlimited', 'maxaddon', 0, ...) called at whostmgr/bin/whostmgr5 line 610
    main::wwwacct() called at whostmgr/bin/whostmgr5 line 234

    =============================
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page