[SUMMARY] nslookup error in Solaris 7 SERVER 3/99 version

From: Paramasivam, Meenakshisundaram (mparamas@iupui.edu)
Date: Thu Jun 10 1999 - 20:01:12 CDT


Thanks to these people:
        Eirh-Yu Hsie [hsie@al.noaa.gov]
        Gustavo A. Lozano [glozano@Colinter.net]
        Casper Dik [casper@holland.sun.com]

Special thanks to Casper who quickly pointed me to what was wrong with a few
checks.
                       
Summary:

Check your LD_LIBRARY_PATH environmental variable. You need to put /usr/lib

explicitly in the beginning of LD_LIBRARY_PATH definition or unsetenv
LD_LIBRARY_PATH.

Check /etc/resolv.conf and /etc/nsswitch.conf entries.

<The above ones were not the problem>

Casper ran me through these checks:

ldd /usr/sbin/nslookup
 This returned:
          libresolv.so.2 => /usr/lib/libresolv.so.2
        libresolv.so.2 (SUNW_2.1) => (version not found)
        libresolv.so.2 (SUNWprivate_2.1) => (version not found)
        libsocket.so.1 => /usr/lib/libsocket.so.1
        libnsl.so.1 => /usr/lib/libnsl.so.1
        libc.so.1 => /usr/lib/libc.so.1
        libdl.so.1 => /usr/lib/libdl.so.1
        libmp.so.2 => /usr/lib/libmp.so.2
         (Casper mentioned this was incorrect)

pvs /usr/lib/libresolv.so.2
        This did not output anything (even with -v or -d), just returned to
the shell prompt.
      Which again was not correct.

pkgchk SUNWcsl
This returned Error as follows:
        ERROR: /usr/lib/libresolv.so.1
                    file size <41040> expected <35384> actual
                    file cksum <43972> expected <5375> actual
        ERROR: /usr/lib/libresolv.so.2
                    file size <260580> expected <60280> actual
                    file cksum <5654> expected <49202> actual

Some one changed the files! The problem was caused by a 3rd party s/w
install by the vendor, who apprently messed up system files. I will do
pkgchk on all packages and make a decision between O/S re-install and
re-adding packages from CD.

My Original Posting:

64-bit or 32-bit kernel, nslookup does not work in cold installed Solaris 7
SERVER 3/99 version, on a new Ultra-10.

This is what I get;
mike% nslookup
ld.so.1: nslookup: fatal: relocation error: file nslookup: symbol
_ns_flagdata:
referenced symbol not found
Killed

-Sundar
-----------------------------------------------------------
Sundar Paramasivan mparamas@iupui.edu
Systems Administrator
Indiana University Radiology/Imaging Science
-----------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:21 CDT