URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?)
Can you please tell how to make it alternatively. I had installed the Apache Server as the bundeled package with the Linus itself.
I've done that too. I have now CentOS 4.2 [wich is free RHEL], but I also worked on an RHEL and on both it's /usr/sbin/apxs.
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
For the "locate" function, you could refresh the database as root with "updatedb"
Other you can use the find function.
Code:
find / -name "apxs*"
Or if you think you know where the apache directory is
Code:
find {dirname} -name "apxs*"
You don't have to install other RPM's or to compile by yourself. Just search for the file and change the path in the howto commands you are using. When installing from RPM, usually it installs in many folders over the filesystem, so you can sometimes stand in front of a search.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.