PDA

View Full Version : configuring web server , mysql server


demirrt
23rd May 2009, 17:42
hi every one

first I should mention taht I am new in centos

I have 3 servers one for web server , second : mysql server and the third one is data server . these three servers are connected to each other with a hub . in order to connect to my mysql server I created a local IP 192.168.200.200 in mysql server (the servers main ip is xxx.xxx.xxx.120)
and want to connect to this server via local ip address for faster connections but when I ping 192.168.200.200 from web server I did not get any response . ow may I do this ?!:confused::confused::confused::confused::confuse d:

falko
24th May 2009, 20:06
Is the web server located in the local network as well?

demirrt
24th May 2009, 20:23
I did it
but the major problem is that after 3-4 hours that the servers are running I get The following amopus error :

The host xxx was blocked because of too many .... I use mysqladmin flush-hosts and it is not working and I have to reboot the server . the mysql server is ok and running but both web server an d data server that are runing apache and connect to mysql server stops working


What should I do ?!
I am really confused ?!:confused::confused:

falko
25th May 2009, 12:51
Do you use fail2ban or something like this on the server?

demirrt
25th May 2009, 18:58
No I do not use such a software :confused:

falko
26th May 2009, 23:03
It somehow sounds like a firewall problem. What's the output of iptables -L on the MySQL server?