Summary: Newbie question: Answerbook not working - Solaris 2.4

From: Udo Kempen (udo@comtron.de)
Date: Fri Dec 06 1996 - 12:49:42 CST


Original replies to my questions inlcuded at the end of this message.

My Question was :

>Hello,
>
>please help a newbie-system administrator.
>
>Scenario:
>i have a Sun Netra (Sparc Station 20) with a 2 GB Harddisk running Solaris
>2.4. The hard disk has two filesystems, / and /export.
>The system was preconfigured without online-manual pages and i have no
>written manuals.
>
>Problem:
>After installing Answerbook (pkgadd -d /cdrom/Packages -R /export SUNWabe)
>i get the following message when starting the answerbook from openwin :
>
>Verifying AnswerBook environment...
>
>Looking for locally installed Answerbooks...
>ld.so.1: /usr/openwin/bin/ab_admin: fatal: libC.so.3: can't open file:
>errno=2 CheckForAnswerBooks[6]: 1515 Killed
>
>Could not find AnswerBook card Catalog files in your environment.
>The AnswerBook Navigator cannot access Answerbooks
>that are not listed in a Card Catalog file.
>
>Contact your system administrator for assistance,
>or consult the Solaris AnswerBook Administration Guide for more info.
>

Solved the problem as follows :

1. The file libC.so.3 was missing from my system, so i copied it from the
   recovery cd to /usr/lib.

2. Set the environment variable AB_CARDCATALOG to the location of the
ab_cardcatalog file.
   set AB_CARDCATALOG=/export/opt/SUNWabe/ab_cardcatalog
   export AB_CARDCATALOG

3. Edited the file /export/opt/SUNWabe/ab_cardcatalog and changed the path.

Step 3 was neccessary because i installed the Answerbook with "pkgadd -R
/export".

Thanks to :
Frank Pardo <fpardo@tisny.com>
Casper Dik <casper@holland.Sun.COM>
Ted <whishes to stay anonymous>

and to all contributing to this amazing list.

-----
Original replies :

Casper Dik <casper@holland.Sun.COM>:

stalled Answerbooks...
>ld.so.1: /usr/openwin/bin/ab_admin: fatal: libC.so.3: can't open file:
>errno=2 CheckForAnswerBooks[6]: 1515 Killed

looks like you need to install

/usr/lib/libC.so.3 is in package SUNWlibCf
system SUNWlibCf SPARCompilers Bundled libC (cfront version)

This package must be on the recovery CD.

Casper

-----

Frank Pardo <fpardo@tisny.com>:

Apparently you somehow lost, or never installed, your "libC.so.3" shared
library. On my Solaris 2.4 system, it is in /usr/lib, and /lib is a link
to there:

# ls -ld /lib
lrwxrwxrwx 1 root root 9 Oct 21 17:37 /lib -> ./usr/lib

# ls -l /usr/lib/libC.so.3
-rwxr-xr-x 1 bin bin 100520 Jul 18 1994 /usr/lib/libC.so.3

good luck

--
  Frank Pardo  <fpardo@tisny.com>
  Transaction Information Systems
  New York City

The scholar's ink outlasts the martyr's blood. -- Irish proverb

-- Udo Kempen fon : +49-2302-963255 Comtron GmbH fax : +49-2302-698018 Huellbergweg 35 email: udo@comtron.de 58454 Witten url : http://www.comtron.de ------------------------------------------------------------ ["Keyboard not present. Press F1 to continue" - My PC, 1996]



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:18 CDT