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

Notices


Reply
  Search this Thread
Old 06-17-2008, 10:23 AM   #1
rcn
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Odd library issue: libltdl.so.3: file too short


Hi there --

We're encountering a bizarre issue, and we're wondering if anyone might help us shed some light on what's going on here.

When you ssh into the server, and check on apache, we get the following:

[root@turbo7.sagent ~]# /usr/local/apache/bin/apachectl configtest
httpd: Syntax error on line 208 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: libltdl.so.3: file too short

However, simple cd-ing to the directory fixes the problem for the remainder of the ssh session:

[root@turbo7.sagent ~]# cd /usr/local/apache/modules
[root@turbo7.sagent modules]# /usr/local/apache/bin/apachectl configtest
Syntax OK

When you log out / log back in via ssh, the problem occurs again. We've tried moving the directory itself to different locations / partitions, suspecting it was a disk issue, but that didn't help us. It's very, very strange. If anyone has a plausible explaination of what's happening here, I'd love to hear it. I'm somewhat stumped.

[root@turbo7.sagent modules]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
 
Old 06-17-2008, 10:54 PM   #2
d3ckard
LQ Newbie
 
Registered: May 2007
Posts: 13

Rep: Reputation: 0
Traverse the path to /usr/local/apache/modules/ making sure the perms of each dir are such that not only root but the apache User (in httpd.conf) can traverse through and read those module files (which should also be perms 0755). All that stuff should be owned by root.

Another guess would be to make sure your libltdl distributions are matched to the running apache (if apache in /usr/local/apache this isn't a redhat apache then is it); there are several places an libltdl can be gotten that will install and run on a redhat box - a mismatch might cause problems. It's possible the /usr/local/apache stuff and modules got built against a different ltdl that is no longer present. Check/rebuild your ldconfig stuff, check the history of the system for package installs.

HTH
 
  


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
A very odd OpenOffice 2.3 issue TL_CLD Slackware 12 11-17-2007 10:07 AM
Issue Installing Packages on Ubuntu Fiesty - short read in buffer_copy Spensawr Linux - Software 2 06-06-2007 03:02 PM
An Odd network issue hacker supreme Linux - Networking 6 06-05-2007 09:43 AM
Compiling library files into another library file. knobby67 Programming 3 04-10-2007 02:07 PM
Odd filetime issue TL_CLD Slackware 2 11-13-2006 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:14 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