LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2011, 10:54 AM   #1
NeilHibb
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
apache on RedHat


Hi,

I am trying to get an installation of Apache 2.0.52 working and have hit a problem that I can't seem to find an answer for.

both blades are running RedHat 4 (nahant update 4).

Blade A returns Linux 2.6.9-42.ELsmp to the uname command and apache starts up without issues.

Blade B returns Linux 2.6.9-89.ELlargesmp to the uname command and fails with the following error:

Cannot load /opt/httpd/03/modules/mod_access.so into server: /opt/httpd/03/modules/mod_access.so: cannot open shared object file: No such file or directory

I have confirmed that the modules are present (actually a symlink to a valid directory) and have the correct permissions.

Why can't I get Blade B to start?

any help would be great.

Neil
 
Old 07-27-2011, 11:16 AM   #2
sandwormusmc
Member
 
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24
Quote:
Originally Posted by NeilHibb View Post
Hi,

I am trying to get an installation of Apache 2.0.52 working and have hit a problem that I can't seem to find an answer for.

both blades are running RedHat 4 (nahant update 4).

Blade A returns Linux 2.6.9-42.ELsmp to the uname command and apache starts up without issues.

Blade B returns Linux 2.6.9-89.ELlargesmp to the uname command and fails with the following error:

Cannot load /opt/httpd/03/modules/mod_access.so into server: /opt/httpd/03/modules/mod_access.so: cannot open shared object file: No such file or directory

I have confirmed that the modules are present (actually a symlink to a valid directory) and have the correct permissions.

Why can't I get Blade B to start?

any help would be great.

Neil
What is the output of a "ls -la /opt/httpd/03/modules/mod_access.so" on each? A symlink to a directory may not work for the module to be "seen" by Apache ...
 
Old 07-28-2011, 02:39 AM   #3
NeilHibb
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
ls -al modules/mod* gives a full listing of the modules as expected. the sysmlink works on every other installation used here.
 
Old 07-28-2011, 08:58 AM   #4
NeilHibb
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
found it.

The installed version of apache is 64 bit as is the Linux kernal. The modules we are trying to load are 32 bit and not compatible. thats why they won't load up. Stupid error message states they can't be found, not that they are the wrong version.
 
Old 07-28-2011, 12:13 PM   #5
sandwormusmc
Member
 
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24
Ahhh. Glad you found it. Many times 64bit can be a pain in the ass to configure, and doesn't give you much of a benefit unless you have 4GB+ of RAM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
redhat 9 and apache fxchain Red Hat 2 03-01-2004 02:30 AM
Redhat 9 - How do I uninstall apache + how do I add apache to autostart? praefex Linux - Software 2 07-29-2003 12:21 PM
Apache and RedHat g_goblin Linux - Distributions 1 12-12-2002 10:54 AM
Apache on RedHat 8.0 margarita81184 Linux - Software 11 11-07-2002 01:45 PM
Help with Apache 2 and Redhat 7.3 spongebob Linux - Newbie 2 09-01-2002 09:48 AM


All times are GMT -5. The time now is 10:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration