LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-15-2005, 06:15 AM   #1
amitkanodia
LQ Newbie
 
Registered: Jun 2005
Location: jaipur (india)
Distribution: RedHat Linux AS4
Posts: 6

Rep: Reputation: 0
Angry 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
 
Old 06-15-2005, 06:29 AM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

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

Boby
 
Old 06-16-2005, 12:14 AM   #3
amitkanodia
LQ Newbie
 
Registered: Jun 2005
Location: jaipur (india)
Distribution: RedHat Linux AS4
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 11-14-2005, 11:25 AM   #4
sairndain
LQ Newbie
 
Registered: Oct 2005
Distribution: mandriva
Posts: 6

Rep: Reputation: 0
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!!!
 
Old 11-22-2005, 09:26 AM   #5
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
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
 
Old 12-01-2005, 10:43 AM   #6
alexlc
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
httpd-devel

The apxs binary is located in the httpd-devel rpm. You probably just need to install that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache, tomcat & mod_jk jonathon Linux - General 1 06-29-2006 01:06 AM
apxs - bash: apxs: command not found -- please help me b:z Linux - General 1 05-18-2005 12:14 AM
apache apxs? file not found errors nyj Linux - General 0 12-17-2003 07:42 AM
Apache Extension Tool(apxs) not found!! Sabeer Linux - Software 3 09-08-2003 08:30 AM
Apache apxs program rhuser Linux - Software 0 01-20-2003 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration