Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd: module "mod_suexec.c" is not compatible with this version of Ap

Status
Not open for further replies.

esromneb

Programmer
Mar 30, 2002
76
US
Hi, I have a really weird setup of apache 2 on my redhat 8 box. Apache 2 was installed over the older version present in 8, but in a diff directory and it's all confusing. Anyway, suexec doesn't work, and I was wondering how to get a newer version installed or where to get it and what I need to do. Thanks for your help
-ben
 
Sorry...I guess the full error message didn't get through... here it is:

httpd: module "mod_suexec.c" is not compatible with this version of Apache (found 20020628, need 20020903)
 
Since I have no idea what you did, your best bet is to download the latest source from and install from scratch. For a very basic install of Apache, do something like this...

tar zxvf httpd-2.0.47.tar.gz -C /usr/local/src
cd /usr/local/src/httpd-2.0.47
./configure --prefix=/usr/local/apache2
make
make install


ChrisP
 
The only problem with re-installing apache is that the server is a production box. And there are people who are paying money to have the site up and running. I'm just an intern but it's my responsibilty to get things working. So I don't want to reinstall apache because of what could happen. My question realy quesiton I guess is....where can I download a new .so file for mod_suexe? thanks
-ben
 
Do you know how Apache was installed, whether RPM or source? When are you getting this error, when the httpd binary starts?

You can have multiple instances of Apache installed on the machine, as long as they aren't trying to run at the same time (unless they all bind to different ports). You won't have a problem installing a new version as long as you put it in its own separate directory. If you do this, you can run it on a different port other than 80 for testing purposes. Once its working, stop the old instance of Apache, change the new one to run on the default port 80 and start it up.

Chris
 
Thanks...I don't know how it was installed...some1 else did it before I got control of the box. However I think I will take your tip and to a dual install...I think I'll also use webmin to help me out... I can just duplicate the module and set it up that way...right? I guess my real question is...how do I set up the (init.d) startup and shutdown scripts correctly? Thanks...
-ben
 
Hmm...I think I figured it out. To update the module I just did a force install of the rpm:
httpd-2.0.44-1.8.0.i386.rpm
then I uncommented all the modules in the httpd.conf file (I think webmin did that to me) and it works now.... THANKS for your input...I would give you points...but heh..I can't.
-ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top