Tom Copeland's Recent Posts

RSS Feeds

« Problem trends with PMDReports | Main | mod_rails for your staging environment »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e200e5523723618834

Listed below are links to weblogs that reference mod_rails and "Apache 2... not found":

Comments

Thanks, i ran into this today when trying to install mod rails on apache2 on centos install (with apache 1 already installed).

Your solution worked a charm.

Is apache2 the same thing as httpdv2? My web server is Apache/2.2.3, but I don't have anything called apache2.

Any recommendations?

Thanks.

@kam, yup, that's right, "apache2" is just the directory that I installed Apache 2.2.10 in.

I think I have httpd in PATH (/usr/sbin), but passenger-install-apache2-module reports "* Apache 2... not found"

Is there something I'm missing? I'm running on Fedora (if that matters).

Thanks,

Kam

# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/apache-maven/bin:/root/bin:/usr/sbin:/etc/httpd:/usr/lib:/usr/include
# whereis httpd
httpd: /usr/sbin/httpd.worker /usr/sbin/httpd /etc/httpd /usr/lib/httpd /usr/include/httpd /usr/share/man/man8/httpd.8.gz

@kam, hm, do you have the httpd-devel package installed?

Yes, a yum install httpd-devel yields

Package httpd-devel - 2.2.3-11.el5_2.4.i386 is already installed.
Package httpd-devel - 2.2.3-11.el5_2.4.x86_64 is already installed.

passenger-install-apache2-module also confirms: "Apache 2 development headers... found"

@kam, hm, so it's finding the headers but not Apache itself... what does "rpm -q httpd" give you? Maybe it's finding the 32 bit headers but only the 64 bit Apache is installed...

Thanks ! I was searching for this :)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.