Fred K Ollinger on Tue, 13 Aug 2002 10:35:31 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Apache startup error in Debian


> I'm having a problem with Apache in Debian unstable (seems to also be
> happening if I change my sources.list to testing). I did an apt-get
> upgrade, and got apache-1.3.26-1. And now it won't start ...
>
> root@mail:/lib# /etc/init.d/apache start
> Starting web server: apache/usr/sbin/apache: error while loading
> shared libraries: libdb.so.2: cannot open shared object file: No such
> file or directory
> failed

Do:

ldd `which apache`

and send the results.

Here's mine:

root@moonraker:~# ldd /usr/sbin/apache
        libm.so.6 => /lib/libm.so.6 (0x4001b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4003c000)
        libdb.so.2 => /lib/libdb.so.2 (0x4006a000)
        libdb2.so.2 => /lib/libdb2.so.2 (0x40077000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x400b8000)
        libdl.so.2 => /lib/libdl.so.2 (0x400d9000)
        libc.so.6 => /lib/libc.so.6 (0x400dc000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

> So I don't know where the problem lies. Any one else having problems?
> Or maybe has a copy of libdb.so.2 you could send me - I'll see if my
> apache will then start?

I'll send you a copy once we figure out that's really what you need.

Fred

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug