View Single Post
  #1  
Old 15th September 2011, 10:29
(O)fer_cz (O)fer_cz is offline
Junior Member
 
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default apache restart mysql connection problem

Hi,
I have ISP Config multi server running on Debian 6 Squeeze.
I had exacly same instalation as described in how to. But then I wanted to split web.example.tld to admin.example.tld

(ex web.example.tld) and web1.example.tld (newly insalled). I managed to get it work.
But now, if I wanna restart apache with /etc/init.d/apache restart, i get error problem with mysqldatabase.


in error log:
Quote:
DBI connect('database=dbispconfig;host=web.example.tld :3306','ispcsrv6',...) fai led: Unknown MySQL server host

'web.example.tld' (1) at /usr/local/ispconfig/ser ver/scripts/vlogger line 257
[Wed Sep 14 21:51:52 2011] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze3 with Suhosin-

Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) m od_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
DBI connect('database=dbispconfig;host=web.example.tld :3306','ispcsrv6',...) fai led: Unknown MySQL server host

'web.example.tld' (1) at /usr/local/ispconfig/ser ver/scripts/vlogger line 514
DBI Error: at /usr/local/ispconfig/server/scripts/vlogger line 514, <STDIN> lin e 13.
I have fixed this by pointing web.example.tld to web1.example.tld (or should I point it to admin.example.tld?)
What config should I change to get rid of this problem? Thank for reply.

now i have problems with this

Quote:
piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" -d

"/etc/vlogger-dbi.conf" /var/log/ispconfig/httpd' failed unexpectedly
Unrecognized argument USaa!x at /usr/local/ispconfig/server/scripts/vlogger line 147
BEGIN failed--compilation aborted at /usr/local/ispconfig/server/scripts/vlogger line 149.
logs are from web1.example.tld

Last edited by (O)fer_cz; 15th September 2011 at 10:49.
Reply With Quote
Sponsored Links