Maybe someone has an idea?

Recently started having a problem where 
        "host $SHORTNAME" works,
        "nslookup $SHORTNAME" works, 
but ping/ssh/ftp/rsync don't?

It works for some short hostnames consistently, but for other
hosts does not work.

Stopping nscd seems to fix the problem completely?
Restarted nscd and it still worked.
Why nscd has crappy problem?

Return "unknown host" or "Name or service not known"

Had a RedHat 7.2 box working just fine.
Had been up and running for 120 days.
Installed ALL eratta and put in faster CPU and added some memory.
Rebooted.
Running standard RED HAT Rpm stuff for everything.  Nothing special.
All other servers (130 of them) working just fine.

static IP address 172.17.3.100
eth0      Link encap:Ethernet  HWaddr 00:10:6F:00:4C:67
          inet addr:172.17.3.100  Bcast:172.17.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:145852 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134415 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:17704022 (16.8 Mb)  TX bytes:69097464 (65.8 Mb)
          Interrupt:9 Base address:0xf000

[root@mis-unix log]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
172.17.3.0      0.0.0.0         255.255.255.0   U        40 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0
lo
0.0.0.0         172.17.3.1      0.0.0.0         UG       40 0          0
eth0

[root@mis-unix log]# cat /etc/resolv.conf
nameserver 172.17.3.47
nameserver 172.17.3.253
search reston.tnsi.com. tnsi.com. red.tnsi.com. blue.tnsi.com.
chantilly.tnsi.com. corp.tnsi.com.
options ndots:3 timeout:6 attempts:2
[root@mis-unix log]# cat /etc/nsswitch.conf | grep -v "^#"
passwd:     files
shadow:     files
group:      files
hosts:      dns files
bootparams: files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   files
publickey:
automount:  files
aliases:    files

[root@mis-unix log]# cat /etc/host.conf
order hosts,bind
[root@mis-unix log]# host kurt
kurt.blue.tnsi.com has address 172.17.7.100
[root@mis-unix log]# nslookup kurt
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         172.17.3.47
Address:        172.17.3.47#53

Name:   kurt.blue.tnsi.com
Address: 172.17.7.100

[root@mis-unix log]# ping kurt
ping: unknown host kurt
[root@mis-unix log]# grep kurt /etc/hosts
[root@mis-unix log]# host syslogdb
syslogdb.reston.tnsi.com has address 172.17.3.102
[root@mis-unix log]# grep syslogdb /etc/hosts
[root@mis-unix log]# ping syslogdb
PING syslogdb.reston.tnsi.com (172.17.3.102) from 172.17.3.100 : 56(84)
bytes of data.
64 bytes from syslogdb.reston.tnsi.com (172.17.3.102): icmp_seq=0
ttl=255 time=191 usec
64 bytes from syslogdb.reston.tnsi.com (172.17.3.102): icmp_seq=1
ttl=255 time=132 usec

--- syslogdb.reston.tnsi.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.132/0.161/0.191/0.032 ms
[root@mis-unix log]#





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to