Hi all, Here we have a 7.2 system which is unable to resolve its own 'localhost' name. However, its network name works fine. Following are relevant configs. Perhaps I'm missing something here, but everything looks fine to me. Output is shown for host command only, but the same is true for any other command (ping, ssh, ftp, etc.)
Script started on Mon Jun 10 19:24:35 2002 [root@coppola root]# [root@coppola root]# [root@coppola root]# cat /etc/redhat-release Red Hat Linux release 7.2 (Enigma) [root@coppola root]# [root@coppola root]# [root@coppola root]# hostname -f coppola.labet.test [root@coppola root]# [root@coppola root]# [root@coppola root]# cat /etc/resolv.conf search labet.test nameserver 126.1.1.8 [root@coppola root]# [root@coppola root]# [root@coppola root]# cat /etc/nsswitch.conf passwd: files nisplus shadow: files nisplus group: files nisplus hosts: files dns bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files nisplus rpc: files services: files nisplus netgroup: files nisplus publickey: nisplus automount: files nisplus aliases: files nisplus [root@coppola root]# [root@coppola root]# [root@coppola root]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 126.1.1.36 coppola.labet.test coppola [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# host -d localhost Trying "localhost.labet.test." Trying "localhost." ;; connection timed out; no servers could be reached [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# host -d coppola Trying "coppola.labet.test." ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46102 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;coppola.labet.test. IN A ;; ANSWER SECTION: coppola.labet.test. 86400 IN A 126.1.1.36 ;; AUTHORITY SECTION: labet.test. 86400 IN NS sniffer.labet.test. ;; ADDITIONAL SECTION: sniffer.labet.test. 86400 IN A 126.1.1.8 Received 90 bytes from 126.1.1.8#53 in 3 ms [root@coppola root]# [root@coppola root]# [root@coppola root]# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 19:02 ? 00:00:04 init [3] root 2 1 0 19:02 ? 00:00:00 [keventd] root 3 1 0 19:02 ? 00:00:00 [kapm-idled] root 4 0 0 19:02 ? 00:00:00 [ksoftirqd_CPU0] root 5 0 0 19:02 ? 00:00:00 [kswapd] root 6 0 0 19:02 ? 00:00:00 [kreclaimd] root 7 0 0 19:02 ? 00:00:00 [bdflush] root 8 0 0 19:02 ? 00:00:00 [kupdated] root 9 1 0 19:02 ? 00:00:00 [mdrecoveryd] root 17 1 0 19:02 ? 00:00:00 [kjournald] root 127 1 0 19:02 ? 00:00:00 [kjournald] root 128 1 0 19:02 ? 00:00:00 [kjournald] root 129 1 0 19:02 ? 00:00:00 [kjournald] root 130 1 0 19:02 ? 00:00:00 [kjournald] root 486 1 0 19:02 ? 00:00:00 syslogd -m 0 root 491 1 0 19:02 ? 00:00:00 klogd -2 root 603 1 0 19:02 ? 00:00:00 /usr/sbin/sshd root 636 1 0 19:02 ? 00:00:00 xinetd -stayalive -reuse -pidfil root 654 1 0 19:02 ? 00:00:00 gpm -t ps/2 -m /dev/mouse root 672 1 0 19:02 ? 00:00:00 crond xfs 724 1 0 19:02 ? 00:00:00 xfs -droppriv -daemon root 746 1 0 19:02 ? 00:00:00 rhnsd --interval 120 root 750 1 0 19:02 tty1 00:00:00 login -- root root 751 1 0 19:02 tty2 00:00:00 /sbin/mingetty tty2 root 752 1 0 19:02 tty3 00:00:00 /sbin/mingetty tty3 root 753 1 0 19:02 tty4 00:00:00 /sbin/mingetty tty4 root 754 1 0 19:02 tty5 00:00:00 /sbin/mingetty tty5 root 755 1 0 19:02 tty6 00:00:00 /sbin/mingetty tty6 root 771 750 0 19:03 tty1 00:00:00 -bash root 1078 771 0 19:24 tty1 00:00:00 script localhost.bug root 1079 1078 0 19:24 tty1 00:00:00 script localhost.bug root 1080 1079 0 19:24 pts/0 00:00:00 bash -i root 1125 1080 0 19:26 pts/0 00:00:00 ps -ef [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# [root@coppola root]# Script done on Mon Jun 10 19:26:54 2002 does anybody else see something I don't? cl. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list