HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   DNS records created by admin user. (http://www.howtoforge.com/forums/showthread.php?t=53408)

CSsab 15th July 2011 04:47

DNS records created by admin user.
 
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.

falko 15th July 2011 10:47

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.


All times are GMT +2. The time now is 14:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.