riviereg wrote:
> Dear all linux and networking user,
>
> I have a very strange problem with on of my remote server:
> I can connect on this server via ssh and http (apache), no problem.
>
> My sql server start, (I can check it with phpmyadmin on this server
> connected to localhost) but I cannot connect to this server with mysql:
> telnet 'my ip' 3306 is not working: connection refused
>
> I try some test, different configurations, but I find a strange problem:
>
> On this server, I can ping localhost, but I cannot ping the IP
> of my network card (from this server on it's own IP)!
> But I can remotly connect to this IP with ssh or http or ping this IP
> from somewhere else ....
>
> I use a kernel 2.6.6 on this computer ?
> I try to restart my networking remove all inside /etc/hosts
> nothing ...
>
> Any ideas to solve this problem ?
>
> Thank you in advance,
> Guillaume
I solve this problem of mysql (debian install, remove skip_networking
option in /etc/mysql/my.cnf)
But I still cannot ping my IP interface with this server ...
I try a traceroute and it go somewhere, but I don't know where:
(my ip is x.x.x.x and my gateway is y.y.y.y)
$> ifconfig -aeth1 Link encap:Ethernet HWaddr 00:0A:5E:1A:3B:8C
inet addr:x.x.x.x Bcast: x.x.x.d Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20837006 errors:0 dropped:0 overruns:0 frame:0
TX packets:5472 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3144723974 (2.9 GiB) TX bytes:5547317 (5.2 MiB)
Interrupt:23 Memory:feaf8000-0
....
$> traceroute x.x.x.x
1 y.y.y.y (y.y.y.y) 0.768 ms 0.489 ms 0.361 ms
2 z.z.z.z (z.z.z.z) 3.775 ms 3.830 ms 3.693 ms
3 a.a.a.a (a.a.a.a) 3.912 ms 3.837 ms 3.679 ms
4 foo.foo.com (b.b.b.b) 4.349 ms 4.549 ms 4.581 ms
5 faa.faa.com (c.c.c.c) 4.084 ms 3.629 ms 4.007 ms
6 fuu.fuu.com (d.d.d.d) 4.007 ms 3.897 ms 4.143 ms
7 * * *
etc.
|