System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

DNSService error HP UX 11.31

AINMS
Respected Contributor

DNSService error HP UX 11.31

Dears
I have HP UX 11.31
when openning SMH I found a minor error in the network information part
it say this
CIM_ERR_FAILED: DNSService: configuration file is corrupt.

any help will beappreciated
BR,
If it were all easy, we would not have anything to do.
7 REPLIES
Avinash20
Honored Contributor

Re: DNSService error HP UX 11.31

CIM_ERR_FAILED
if the DNS configuration file does not exist

Check for DNS configuration file
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: DNSService error HP UX 11.31

http://h71028.www7.hp.com/enterprise/downloads/HPUX_DNSProvider.pdf
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
AINMS
Respected Contributor

Re: DNSService error HP UX 11.31

Hi
thanks for responding
the DNS file nsswitch.conf is created under /etc and have this value
hosts : files dns

so why it gives that it is corrupted

thanks
If it were all easy, we would not have anything to do.
VK2COT
Honored Contributor

Re: DNSService error HP UX 11.31

Hello,

Two files are critical for hostname resolution
on standard servers (those that do not run
DNS server themselves):

/etc/nsswitch.conf
/etc/resolv.conf

Are both of those files OK on your server?

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Björn Risse
Occasional Visitor

Re: DNSService error HP UX 11.31

Hello,


I have got the same issue.
Both files seems to be correct.

root@CLM01 [/etc]# cat nsswitch.conf
hosts: files

root@CLM01 [/etc]# cat resolv.conf
domain xxxxxx.xxx


Any further ideas?
VK2COT
Honored Contributor

Re: DNSService error HP UX 11.31

Hello,

Actually, both files seem to be incomplete.

Here is what I would expect to see in your files:

a) /etc/nsswitch.conf

passwd: files
group: files
hosts: files dns
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

b) /etc/resolv.conf

domain mydom.dom
nameserver IP1
nameserver IP2
nameserver IP3

resolv.conf can have other statements,
but these are used most of the time...

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Björn Risse
Occasional Visitor

Re: DNSService error HP UX 11.31

The nsswitch wasn't the reason, but the SMH does not work without DNS Servers in the resolv.conf.

Now is everything fine again!
Thank you!