Operating System - HP-UX
1825759 Members
2166 Online
109687 Solutions
New Discussion

cannot ping server itself

 
LEBORGNE_2
New Member

cannot ping server itself

When I disconnect my server from my network, I'm not able anymore to ping my server from itself, i.e I cannot ping the local ethernet card.
This causes that when my server is disconnected from the network, so is isolated, I cannot acces to the local display.
for exemple, if ny server is serv1, after disconnecting serv1 from the network, ping serv1 doesn't return anything and the display serv1:0.0 is not available anymore.
6 REPLIES 6
LucianoCarvalho
Respected Contributor

Re: cannot ping server itself

hi,
Try to use localhost instead of serv1. It uses the loopback adrress.

regards

Uday_S_Ankolekar
Honored Contributor

Re: cannot ping server itself

you should be able to ping 127.0.0.1 which is localhost

Or you should be able to ping to self ip -address

-USA..
Good Luck..
Sachin Patel
Honored Contributor

Re: cannot ping server itself

That is how it should behive.

X will not work unless you are in network or you just have stand alone system. use 127.0.0.1 for ip if it is going to be stand alone system.

Sachin
Is photography a hobby or another way to spend $
Steven E. Protter
Exalted Contributor

Re: cannot ping server itself

with regard to the X setup here are some guidelines.

1) If you are remotely connecting from a PC using X windows software, the DISPLAY variable needs to be set to the following: IP_ADDRESS_OF_PC:0.0 It needs to be set in the user profile on the Unix machine.

2) You may need to activate the X Windows font server on the HP-UX box.

/etc/rc.config.d/xfs

#
# xfs configuration: set RUN_X_FONT_SERVER to a non-zero value to
# initiate a font server at run level 2.
#
# Installed at /etc/rc.config.d/xfs
#

RUN_X_FONT_SERVER=1

This is a proper configuration that will start up the font server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
LEBORGNE_2
New Member

Re: cannot ping server itself

Thanks all for reply.
I do ping localhost when I'm disconnected from network, but the problem is that some applications use the display name ( serv1:0.0 ) for exemple
and I cannot modify it to localhost:0.0 because in some cases they are remotely displayed.
I am looking for a way to configure the ethernet device to enable self ping when disconnected. This is the first time I can see this behaviour. With Digital-Alpha or IBM-AIX I've never seen this.

Thanks
Mathias Ihme
New Member

Re: cannot ping server itself

Hi, take a look at your nameswitch configuration. Make sure that the name resolution looks first at /etc/hosts and then at dns. Therefor your /etc/hosts must be correct.
MI