You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ken Ramirez <kr...@creativecac.com> on 2004/05/02 03:08:17 UTC

Trying to get Apache, Tomcat, and Mod_jk2 to work together

After all of the problems I had last week trying to get these pieces to
work together, I figured that I would start from scratch, erase
everything, and recompile the Apache server, Tomcat, and the mod_jk2.
While compiling and installing the Apache HTTP server, I ran into a
problem and figured that I'd tap into the mailing list to see if anyone
has run into a similar problem (I also sent this to the Apache HTTP list
server, which is more appropriate, but no one seems to be sending
anything out on this list today).
 
OS: Linux 9
Apache Ver: 2.0.49

After cleaning up the existing Apache HTTP that installed with RedHat, I
downloaded the source for the latest Apache HTTP and performed the
following commands:
 
1. ./config --enable-so
2. make
3. make install
 
When  I switch over to /usr/local/apache2/bin and executed "apachectl
start", it ran fine. Next I performed the following:
 
1. cp build/rpm/httpd.init /etc/init.d/httpd
2. chkconfig --add httpd
3. chkconfig --levels 345 httpd on
4. cp build/rpm/httpd.logrotate /etc/logrotate.d/httpd
5. service httpd start
 
This last command returned the following error:
 
[root@localhost conf]# service httpd start
Starting httpd: execvp: No such file or directory    [FAILED]

Does anyone have any clue how to get rid of the error?
 
I haven't changed any of the default settings, scripts, or configuration
files.
 
 
 
Thanks,
 
Ken