Addressed to: [EMAIL PROTECTED]
              [EMAIL PROTECTED]

** Reply to note from [EMAIL PROTECTED] Fri, 19 Jan 2001 09:52:35 +0100
>   
> Thanks to Lutz for the advice on this.
>   
> Let me try and clarify the situation. My problem only occurs when I
> try to start apache at boot time. Once the machine is booted and
> running in full multi-user mode both egd and apache start fine (as
> long as I start them in that order).
>   
> Currently my problem seems to be down to egd. I've written a script
> to run at boot time - it's currently in /etc/rc3.d (running Solaris
> 2.6 on a Sparc Ultra5). The boot script produces the following error
> message:
>   
> ld.so.1: /usr/local/bin/perl: fatal: libgdbm.so.2: open failed: No
> such file or directory
>   
> I just don't understand this. The only way the library couldn't be
> there is if /usr/local wasn't mounted. Since both egd.pl and perl
> itself (V5.6) are in /usr/local/bin that can't be. Is there some
> environment variable that perl expects for this library? And if so,
> why does it run once the machine is booted?

<Wild Guess alert>

Take a look at your boot process.  Somewhere within it might be a step
that runs ldconfig, which manages /etc/ld.so.cache which is a list of
the locations of libraries on your system.  Apache must be started
after this step.

On my SuSE 6.3 system, the call to ldconfig appears to be in
/etc/rc.d/boot.  

Also, if you have a system with a set of /etc/rc.d/rcX.d directories
with a bunch of files like SXXapache links within them, make sure the
number (XX) for apache is very high.  These numbers represent the order
which actions are taken during the boot process.  You want to make sure
Apache startes late in the process when all other essential services
are started.


Good luck



Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to