LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ap_get_server_banner error when launching Apache2 (https://www.linuxquestions.org/questions/linux-newbie-8/ap_get_server_banner-error-when-launching-apache2-888684/)

mauroc 06-28-2011 12:29 AM

ap_get_server_banner error when launching Apache2
 
Hi everyone - I have just installed Apache2 v. 2.2.17 on Ubuntu,and I am trying to get it to work with Ruby (v 1.8.7). I have followed the instructions on the Ubuntu site and ended up installing Phusion Passenger v 3.0.7, making the suggested changes to the httpd.conf file.

When I launch Apache2 I now get the message:

Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so: undefined symbol: ap_get_server_banner

I have found a bug report (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503375) that suggests "adding a dependency" but am not sure how to do that.
Any kind soul out there can take pity of this eager Linux neophyte?

Thank you!

bathory 06-28-2011 02:06 AM

Hi and welcome to LQ,

From the link you've posted, I see that you need to upgrade the libapache2-mod-perl2 package to version 2.0.4-4 or newer

Regards

mauroc 06-29-2011 12:58 AM

Hey Bathory - thank you very much for the prompt response. That made sense given the bug report I posted in my original message. Unfortunately, it turns out I am already running the current version (2.0.4-7) of that library so that isn't the issue. Still very puzzled....

bathory 06-29-2011 02:48 AM

Hi,

Your post about the debian bug report misled me to think that it was an apache problem.
The actual problem is with the application you're trying to install (Phusion Passenger).
Quote:

mod_passenger.so: undefined symbol: ap_get_server_banner
I don't know how you've installed it, but if you used the deb package, I guess you need to contact the maintainer

Regards

mauroc 06-29-2011 09:17 AM

thank you bathory. Sounds like that's what I should do

bhascse 07-25-2012 09:19 AM

Hi,

I think the following might solve your issue..

yum install mod_perl-devel.i386

I work at Brahma e-Solutions and had the same issue as yours and fixed it using the above command.


All times are GMT -5. The time now is 03:52 AM.