Operating System - HP-UX
1828238 Members
2338 Online
109975 Solutions
New Discussion

ping command is not working

 
prasanth.ps
Frequent Advisor

ping command is not working

Hi All,

I had install HPUX 11i V3(HA OE) on TWO hp bl 860 server. I had connected the both servers in network too.

If itried to ping one server from the other server is not pinging.(But am able to ping the Gateway and the DNS server. i added the servers in /etc/hosts too.

I had enabled the services for the telnet and ftp in /etc/inetd.conf file and tested working fine.

Telnet,ftp,ssh and nslookup are working fine.

But only ping command is not working.

What has to be done for enabling the ping services(ICMP)?

One more thing , for accessing the telnet and ftp through root account which file has to be modified?

aDVANCE THANX TO ALL for the help.

Thanx nad rgds,

Prasanth
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: ping command is not working

Sounds like a routing issue. What does "netstat -rn" tell you? Do you have a default route set up?


Pete

Pete
SKR_1
Trusted Contributor

Re: ping command is not working

If you able to ping gateway and DNS server, it means your ping service is running fine.

Please check if you are running the ping command from root user or have you given the full path of ping command with normal user.

/usr/sbin/ping

paste netstat -rn
check /etc/hosts file on both servers properly.

Thanks

SKR
Rasheed Tamton
Honored Contributor

Re: ping command is not working

Hi Prasanth,

If you can ping the gateway and not the server at the other end, may be, the gateway might have firewall functions. Contact the network admins reg. the gateway.

/etc/ftpd/ftpusers -security file for ftpd
if the username is added in it, remove it.

check also /var/adm/inetd.sec & /etc/securetty

rgds.


Avinash20
Honored Contributor

Re: ping command is not working

Hi Prasanth,

Good Day,

May I have the error message when you are trying to ping from HP-UX to the problemetic server.

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Deepak Kr
Respected Contributor

Re: ping command is not working

Hi,


>>>>>If itried to ping one server from the other server is not pinging.(But am able to ping the Gateway and the DNS server. i added the servers in /etc/hosts too.

I had enabled the services for the telnet and ftp in /etc/inetd.conf file and tested working fine.

Telnet,ftp,ssh and nslookup are working fine.
.....

>>>>>>>>>

There is no requirement for enabling ping in hp box.

As everything else is working using network packets here so lets isolate the issue


1. You try to ping same box from other machines/laptops

2. If you see same issue then better report this to network admin to resolve.





"There is always some scope for improvement"
Deepak Kr
Respected Contributor

Re: ping command is not working

provide netstat -in
and
also

#traceroute IP_address_of_problem_box

also

ls -l /usr/sbin/ping

"There is always some scope for improvement"
prasanth.ps
Frequent Advisor

Re: ping command is not working

Hi All,

Thanx for your reply for my query.
I solved the problem
That is related to ipfilter.

In hp ux 11.31 its getting enabled during the installation time.

Iha d desabled the ipfilter by using the following command.

# ipfilter -d


Thanx for all your support.


Rgds,

Prasanth