DNS records created by admin user.

Discussion in 'Installation/Configuration' started by CSsab, Jul 15, 2011.

  1. CSsab

    CSsab New Member

    Hi,

    Mine is a multiserver setup with different nodes for the DNS name servers.

    I created some DNS records as admin user for client number 1 while logged in as admin and everything is working fine with my name servers.

    I noticed these errors in ISPConfig cron log:

    chmod: cannot access `/var/log/ispconfig/httpd/*': No such file or directory
    PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:92
    PHP 3. mysql_connect() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:92
    PHP 3. db->updateError() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:81
    PHP 4. mysql_errno() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:63
    PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:92
    PHP 3. db->updateError() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:81
    PHP 4. mysql_error() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:64
    PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:135
    PHP 3. mysql_connect() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:135
    PHP 3. db->updateError() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:81
    PHP 4. mysql_errno() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:63
    PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
    PHP Stack trace:
    PHP 1. {main}() /usr/local/ispconfig/server/server.php:0
    PHP 2. db->connect() /usr/local/ispconfig/server/server.php:135
    PHP 3. db->updateError() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:81
    PHP 4. mysql_error() /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:64


    Is this because I am logged in as admin?

    Also .. should I never create any mail domains or websites or DNS records as admin?

    Thanks for your help.
     
  2. falko

    falko Super Moderator

    No, using admin is fine.

    I guess your MySQL server went away for a moment. If it's back working again, everything should be fine.
     

Share This Page