LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-24-2006, 11:24 AM   #1
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 11-24-2006, 01:58 PM   #2
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240

Original Poster
Blog Entries: 2

Rep: Reputation: 30
Another problem, probably related. When I run "updatedb" I get a list of errors like this:

[snip]
/usr/bin/find: /usr/lib/kde3/dimg_xcf.so: Input/output error
[snip]
/usr/bin/find: /usr/sbin/authdaemond: Input/output error
[snip]

(It's a long list)
 
Old 11-27-2006, 09:28 PM   #3
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240

Original Poster
Blog Entries: 2

Rep: Reputation: 30
as per my other threads, all these errors have been fixed by:

e2fsck /dev/hdb1

done manually, pressed return about 1000 times.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to Edgy => Big Problems 2Pacalypse Ubuntu 17 11-19-2006 11:53 AM
problem with swaret after a big upgrade Quartzophobia Slackware 5 02-17-2004 02:24 AM
Big, big Problem on vsftpd rhonneil Linux - Newbie 1 10-01-2003 02:18 PM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
Kernel upgrade = Big problems! chrise Linux - General 13 04-15-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration