URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4
Hi there,
I am integrating the Apache web server with Tomcat on the RedHat Linux AS 4. But while working with mod_jk connector I get stuck in some problems relation with apxs....... I had installed the Apache which comes as a part of the AS4. I hadn't build it separately. Now my $APACHE_HOME = /etc/http and I am unable to find the directory where this apxs may be found.... which is said to be found in the following path i.e. $APACHE_HOME/bin/apxs Please suggest what to do.... Can I rebuilt this apxs, if yes then how?? or whether it may be downloaded although I haven't find it anywhere to be downloaded. Thanking you in anticipation..... With Regards Amit Kanodia |
I'm don't have right now access to my RHEL 4, but I think it's /usr/sbin/apxs
Boby |
Hi Bobby,
Thanx for your reply. It is true that it should be at /usr/sbin/apxs but in my case it is not there. Can you please tell how to make it alternatively. I had installed the Apache Server as the bundeled package with the Linus itself. With Regards Amit Kanodia |
this is a problem I am having as well!!!
The tutorials for compiling mod_jk refer to locations in the directory structure - i.e., for APACHE_HOME, APACHE_HOME/bin, /usr/sbin/apxs , etc -- that do not exist in my "Mandriva Linux Limited Edition 2005" installation. Yet I know Apache2 is indeed installed (as I can run it and verify its installation by typing "localhost" in the browser). (NOTE: For example, I have found /etc/httpd and a few other related folders in the directory structure.... However, assuming, for instance, that etc/httpd represents APACHE_HOME, then, where is heck is APACHE_HOME/bin ?!!!. ---I have yet to discover the bin directory containing the httpd executable, etc. ) Has the directory structure and the location of Apache2, apxs, etc changed in the most recent linux distros - i.e., in a way that would make them out of sync with these mod_jk compile tutorials/howto's? Or, is Apache2 somehow compiled into the kernel in the newest distros in a way that makes the bin executables "invisible.... and, therefore no bin folder? As a newbie to linux, I have no "frame of reference" or "experience" with linux that would enable me to know one way, or another Please help. An earlier post seem to believe that these folder locations (that do not seem to exist in my Mandriva install) are a product of an RPM installation of Apache2. --Is this the case? -- If so, then: 1. I need to remove the existing Apache2 and re-install ala carte using RPM to get the same APACHE_HOME/bin and /usr/sbin/apxs locations referred to in the existing howtos... Or, 2. I need to know what the corresponding folder locations would be for the latest linux distros (in my case, Mandriva) - if it is different - that would contain the same thing, in order to modify the existing "configuration", "makefile" scripts (can anyone tell me what these corresponding folder locations for APACHE_HOME/bin and /usr/sbin/apxs are?) Is this correct? Any help, clarification, would be helpful!!! Thanks!!! |
Quote:
Why don't you search for the file? [both of you] I don't know if Mandriva has it, but RedHat or RedHat based distros have it: Code:
locate apxs Other you can use the find function. Code:
find / -name "apxs*" Code:
find {dirname} -name "apxs*" Hope this helps. Boby |
httpd-devel
The apxs binary is located in the httpd-devel rpm. You probably just need to install that.
|
All times are GMT -5. The time now is 08:23 AM. |