Unable to ping localhost


 
Thread Tools Search this Thread
Operating Systems AIX Unable to ping localhost
# 1  
Old 12-21-2012
Unable to ping localhost

Hi all,

I have gone through many posts related to this issue,but my issue wasn't resolved hence creating new thread.

I am unable to ping localhost.

Code:
ping localhost

tries to ping localhost which is defined in DNS.

My /etc/hosts has entry for localhost as

Code:
127.0.0.1 loopback localhost

.

My /etc/netsvc.conf has
Code:
hosts = local, bind

.

Still i am not able to ping localhost . Please help.
# 2  
Old 12-21-2012
Just a first thought. Is the lo interface up?
# 3  
Old 12-21-2012
Hi Scott,

I am not aware of command to check the status of loopback service.

Please let me know the command, i will share the results.
# 4  
Old 12-21-2012
Try with:
Code:
# ifconfig lo | grep RUNNING
UP LOOPBACK RUNNING MTU:16436 Metric:1

A couple of other questions. Is this a new problem? Are you running a firewall (i.e. iptables)?
# 5  
Old 12-21-2012
PFB Output
Code:
XXXXXXX:/etc->ifconfig lo | grep RUNNING
interface lo is invalid

maybe this issue was since sometime, we came across this when using Datastage application as localhost ping is not working.

And we are not running a firewall for this server.
# 6  
Old 12-21-2012
just to be sure: is netsvc.conf containing:

Code:
hosts = local, bind

I do not know for sure, but I have always removed any spaces. And, if you are not using IPv6 you might be happier with

Code:
hosts=local4,bind4

# 7  
Old 12-22-2012
Thanks Michael for the input. I have 2 days holiday. I shall try your suggestions once i am back to office and update this thread.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Unable to connect to localhost in Debian 6?

Hello Everyone, I have unable to run the default server with localhost in my Debian machine. While trying to run Django I get: Error: That IP address can't be assigned-to. error While trying to run galaxy-dist I get this error: socket.error: Cannot assign requested address I can't telnet... (3 Replies)
Discussion started by: sachit adhikari
3 Replies

2. Solaris

Unable to ping Windows

Hello, Am unable to ping the Windows Box, from my Solaris Box. They both are in same LAN, have the same IP Segments. Windows IP :: 10.141.14.120 Solaris IP :: 10.141.14.11 Unable to get why isnt working out.... When using the command 'ping 10.141.14.120', it gives the error as 'ping:... (4 Replies)
Discussion started by: jayanto
4 Replies

3. Solaris

Unable to ping New server

Hi ALL, I Have installed NEW v240 server through hyper terminal, After installation i unable to ping the server from out side server... i can see no entry in resolve.conf file.. but the server has DNS.. willl that issue.. please guide me ping the server from outside within the same network bk (1 Reply)
Discussion started by: suresh_krish
1 Replies

4. IP Networking

unable to ping to my server

hi, I setup a Solaris machine in my server room and my client cannot access it. Can anyone advise? Test that i have done: -My client pc cannot ping the server. -My solaris server cannot ping client -My solaris server can ping it's gateway -Another NT machine 1 (10.179.30.26) in the... (8 Replies)
Discussion started by: skiturn
8 Replies

5. Solaris

unable to ping server

hi, I setup a Solaris machine in my server room and my client cannot access it. Can anyone advise? Test that i have done: -My client pc cannot ping the server. -My solaris server cannot ping client -My solaris server can ping it's gateway -Another NT machine 1 (10.179.30.26) in the server... (2 Replies)
Discussion started by: skiturn
2 Replies

6. IP Networking

Unable to ping the gateway IP itself

We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command 64 bytes from 124.168.215.40:... (6 Replies)
Discussion started by: chrisanto_2000
6 Replies

7. UNIX for Dummies Questions & Answers

unable to ping

DEar all i am receiving this error on start and then unable to ping (dlpid): unable to open network adapter driver (/dev/mdi/e3h0) what to do ? (2 Replies)
Discussion started by: sak900354
2 Replies

8. UNIX for Dummies Questions & Answers

unable ping ipaddress

I have Sco openserver 5.0. It had a 125. ip. I changed it to a 192. ip. was unable to ping the 192. I was told to change it in the etc/tcp etc/hosts files which i did. still unable to ping. i am getting a message unable to route to host. I also have an error in my etc/tcp file on line... (1 Reply)
Discussion started by: pdoug76
1 Replies

9. UNIX for Dummies Questions & Answers

NIC The Status Down but I can ping the localhost??!!

Hello, hi guys I don't know what is the problem with my NIC I can ping the Localhost (LOOPBACK) but when I run a scripts to check the NIC statuse it's shown the NIC DOWN sooo what could be the problem and what is the best way to start trouplshooting the NIC in SUN-SOLARIS. Regards, Karim ... (3 Replies)
Discussion started by: geoquest
3 Replies

10. UNIX for Dummies Questions & Answers

Unable to ping host

Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: - 1 QNX host->Eth->1 SCO host the SCO host is configured with it's IP the QNX host is configured with another IP both in the same domain, ie, 172.20.3.XX... (3 Replies)
Discussion started by: gavon
3 Replies
Login or Register to Ask a Question