HP Servicecontrol Manager 3.0 Troubleshooting Guide

Operating System and Networking Issues
Problems With resolv.conf, hosts, nsswitch
Chapter 2
19
Problems With resolv.conf, hosts, nsswitch
Symptom The command nslookup
node_name
fails.
Verification Check these files and commands for similar content:
-- /etc/resolv.conf --
domain mycorp.com
nameserver 15.0.10.123
search mycorp.com
-- /etc/hosts --
aa.a.aa.aaa hostname.domain.name hostname
127.0.0.1 localhost loopback
-- /etc/nsswitch.conf --
hosts: dns [notfound=continue] files
-- ‘netstat -rn‘ --
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 284762 lo0 4136
15.1.49.175 15.1.49.175 UH 0 9759091 lan0 4136
15.1.48.0 15.1.49.175 U 2 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 15.1.48.1 UG 0 0 lan0 1500
Fix Make sure that the /etc/hosts file does not contain a line such as:
127.0.0.1
node_name
localhost.localdomain localhost
with both the
node_name
and the loopback IP address set to 127.0.0.1. This situation
would prevent successful task execution on the managed node.
On HP-UX, execute set_parms initial, and perform any additional manual
modifications of the files that may be required. On Linux, perform any manual
modifications of the files that may be required.