libldap_r.so.2 - big problem after upgrade.
This morning, after allowing update-notifier to upgrade my etch server I am unable to access my website and mail server. When attemting to start apache2 I get the following:
# /etc/init.d/apache2 start
Starting web server (apache2).../usr/sbin/apache2: error while loading shared libraries: /usr/lib/libldap_r.so.2: cannot read file data: Invalid argument
failed!
I am also unable to access my mail server (postfix, courier-imap), but mail from the command line is delivered to the internet.
When I cd /usr/lib/ and list libldap* the following is the result:
# ls -l libldap*
lrwxrwxrwx 1 root root 18 2006-07-11 16:08 libldap-2.2.so.7 -> libldap_r-2.2.so.7
lrwxrwxrwx 1 root root 23 2006-07-11 16:08 libldap-2.2.so.7.0.19 -> libldap_r-2.2.so.7.0.19
-rw-r--r-- 1 root root 198388 2006-06-07 11:28 libldap50.so
lrwxrwxrwx 1 root root 23 2006-07-11 16:08 libldap_r-2.2.so.7 -> libldap_r-2.2.so.7.0.19
-rw-r--r-- 1 root root 209616 2005-10-31 00:13 libldap_r-2.2.so.7.0.19
?--s--Srw- 42978 4288456669 3045812416 2816642000 1923-02-22 11:41 libldap_r.so.2
-rw-r--r-- 1 root root 217872 2006-06-19 14:56 libldap_r.so.2.0.130
Is this a broken link? Can I just delete and relink it to something here?
Thanks in advance
Ken
EDIT:
Another thing, when I run ldconfig I get the following errors:
ldconfig: Cannot mmap file /usr/lib/liblcms.so.1.
ldconfig: Input file /usr/lib/libsmbclient.so.0.1 not found.
ldconfig: Cannot mmap file /usr/lib/libsmbclient.so.0.
ldconfig: Cannot mmap file /usr/lib/libpoppler.so.0.
ldconfig: Cannot mmap file /usr/lib/libpoppler.so.0.0.0.
ldconfig: Input file /usr/lib/libatkmm-1.6.so.1.0.29 not found.
ldconfig: Input file /usr/lib/libgdkmm-2.4.so.1.0.29 not found.
ldconfig: Input file /usr/lib/libgtkmm-2.4.so.1.0.29 not found.
ldconfig: Input file /usr/lib/libpangomm-1.4.so.1.0.29 not found.
ldconfig: Cannot mmap file /usr/lib/libatkmm-1.6.so.1.
ldconfig: Cannot mmap file /usr/lib/libgdkmm-2.4.so.1.
ldconfig: Cannot mmap file /usr/lib/libgtkmm-2.4.so.1.
ldconfig: Cannot mmap file /usr/lib/libpangomm-1.4.so.1.
ldconfig: Cannot mmap file /usr/lib/liblcms.so.1.0.15.
ldconfig: Input file /usr/lib/libgnomecupsui-1.0.so.1.0.0 not found.
ldconfig: /usr/lib/libpoppler-glib.so.0 is not a symbolic link
Last edited by kmoffat; 11-24-2006 at 12:24 PM.
|