LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4 (https://www.linuxquestions.org/questions/linux-general-1/urgent-apxs-not-found-integrating-apache-and-tomcat-on-redhatlinux-as-4-a-333790/)

amitkanodia 06-15-2005 06:15 AM

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

Boby 06-15-2005 06:29 AM

I'm don't have right now access to my RHEL 4, but I think it's /usr/sbin/apxs

Boby

amitkanodia 06-16-2005 12:14 AM

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

sairndain 11-14-2005 11:25 AM

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!!!

Boby 11-22-2005 09:26 AM

Quote:

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.

Hope this helps.
Boby

alexlc 12-01-2005 10:43 AM

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.