cancel
Showing results for 
Search instead for 
Did you mean: 

Hostname/ IP address

 
SOLVED
Go to solution
Roro_2
Regular Advisor

Hostname/ IP address

Hello,

Our customer has an HPUX server ( BL860c ) running Oracle database under HPUX 11i V3.
They are facing the following problem :
unable to access the server through hostname from application and from telnet sessions.
No problem when using IP address.

Please advise .
Thanks and Regards

Roger
7 REPLIES
kemo
Trusted Contributor

Re: Hostname/ IP address

check your DNS server. otherwise , for each computer put entry to resolve the DB server IP address.

for windows machines:
WIN_DRIVE:\Windows\System32\drivers\etc\hosts

for UNIX and LINUX clients:

/etc/hosts

thanks
Johnson Punniyalingam
Honored Contributor

Re: Hostname/ IP address

>>> Our customer has an HPUX server ( BL860c ) running Oracle database under HPUX 11i V3.

can you check entry on below file

more /etc/nsswitch.conf

hosts: files [NOTFOUND=continue] dns
Problems are common to all, but attitude makes the difference
Roro_2
Regular Advisor

Re: Hostname/ IP address

Hello ,
Thanks for your concern.

The file /etc/hosts include all hostnames and IP addresses normally and the server is functionning since many months correctly.
Now rhe customer has infomed me that the problem wad fixed after rebooting HPUX , but they want to know what was the problem with the server to avoid any future similar case.

Roger
Ismail Azad
Esteemed Contributor

Re: Hostname/ IP address

Hi,

Looks like it has to be a hostname resolution problem. Without knowing what mechanism you are using it is difficult to say but it MIGHT be that the administrator has performed a hostname resolution mechanism change.

However, I would like to say this again that whenever a configuration change is made, starting that particular service might not serve the purpose as those services would have dependencies and the cleanest way of starting the services in a sequential fashion is to give a reboot if allowed which has solved your problem.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Roro_2
Regular Advisor

Re: Hostname/ IP address

Hi,

Please i want to know what are the factors in the HPUX server which could affect the hostname resolving mechanism
( processes, ....) because the problem was fixed after the reboot.

Thanks and Regards

Roger
Johnson Punniyalingam
Honored Contributor
Solution

Re: Hostname/ IP address

>>> host name resolving mechanism

if you are referring to host name resolving mechanism,

possibilities :- "Which I can think off"

DNS Server failure

routing table (i mean if some one have removed default gateway)

inetd process down or died

hosts: files [NOTFOUND=continue] dns

Above entries should be added to continued host name resolution can be carried by /etc/hosts even though (DNS Server fails)
under file /etc/nsswitch.conf
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Hostname/ IP address

Finally.. if some one plays around your(system configuration files) this problem / consider to be user problem

example :- changing hostname
Problems are common to all, but attitude makes the difference