Operating System - Linux
1830438 Members
2929 Online
110004 Solutions
New Discussion

Re: i can not ping 127.0.0.1, what can be the problem?

 
SOLVED
Go to solution

i can not ping 127.0.0.1, what can be the problem?

Dear friends,
I met one situation what has never not been, one of my server suddenly down in networking connection, and even if i restart all networking successful, i can not ping every thing at all, even if it self. no other computer can access again. I check flag in proc, icmp_echo_ignore_all is 0. I do not know what the problem is, who can help me in tips? friends.

Best Regards,
Frederick
frederick van targero
7 REPLIES 7
Balaji N
Honored Contributor
Solution

Re: i can not ping 127.0.0.1, what can be the problem?

hi
a peculiar problem. just guessing.

the tcp stack is not initialised or something that like i guess. this is because, u say that u r not able to ping the local host.

can u check out /proc/net and see if anything useful is there. did u recompile your kernel recently or something like that.

can this server be restarted. if yes, can u see if it helps.


and before you do all this have a look at dmesg and /var/log/messages. hope u find some useful info there.

and pls post the results how u fixed this problem.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.

Re: i can not ping 127.0.0.1, what can be the problem?

thanks for your help, i will try under your instruction, however, the result only can be post until tommorrow.

Best regards,
Frederick
frederick van targero
Balaji N
Honored Contributor

Re: i can not ping 127.0.0.1, what can be the problem?

ok. waiting for ur feedback.

regards
balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.

Re: i can not ping 127.0.0.1, what can be the problem?

there are many files in /proc/net, which one could be useful?

no kernel recompile but apache recompiled before.

I restart it, caught none unnormal message, but either can not ping. where is the initial about the tcp stack?

Best Regards,
Frederick
frederick van targero
Balaji N
Honored Contributor

Re: i can not ping 127.0.0.1, what can be the problem?

hi
in the dmesg or in /var/adm/messages are u getting any related messages. something like this.
+++++++++++++++++++++++++++++
sudo dmesg | grep -i tcp
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (established 16384 bind 32768)
+++++++++++++++++++++++++++++++

also, forgot to ask, is some firewall running? and what does the output of ifconfig -a shows.

just guessing as i dont have any clues?
-balaji

Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.

Re: i can not ping 127.0.0.1, what can be the problem?

dear balaji,

I use redhat, found none directory as /var/adm;

One more thing, I found suddenly it can work after I restart it again.

i do not know why, however, thanks very much to your help.

Best Regards,
Frederick
frederick van targero
Balaji N
Honored Contributor

Re: i can not ping 127.0.0.1, what can be the problem?

good that it works. and sorry, the directory is /var/log/messages. it was a typo.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.