RE: mod_status.so - How do I get this to work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found instructions on the software support site I'm trying to get working
which shows how to get mod_status enabled, but now I can't even 'make'
apache. I am using these instructions I found long ago for installing Apache
and PHP and it has always worked. In fact, it worked a month ago when I
installed Slackware 11 on a newer PC.

This is the error I get when I run make in apache.

<=== src/modules/standard
===> src/modules/php4
make[4]: *** No rule to make target `all'.  Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/shared/Downloads/apache_1.3.36/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/shared/Downloads/apache_1.3.36'
make: *** [build] Error 2

This is what I run to configure PHP and Apache:

1.  gunzip -c apache_1.3.x.tar.gz | tar xf -
2.  cd apache_1.3.x
3.  ./configure
4.  cd ..
    
5.  gunzip -c php-4.x.y.tar.gz | tar xf -
6.  cd php-4.x.y
7.  ./configure --with-mysql --with-apache=../apache_1.3.36 --with-zlib
--with-gd
8.  make
9.  make install

10. cd ../apache_1.3.x
    
11. ./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a --enable-module=status
    (The above line is correct! Yes, we know libphp4.a does not exist at
this
    stage. It isn't supposed to. It will be created.)

Is there any advantages in upgrading to a newer Apache. I'm just running a
low milege site with no bells and whistles and not much traffic - and will
it screw up what I already have in place?

Thanks

> -----Original Message-----
> From: Mark Lavi [mailto:mlavi@xxxxxxx] 
> Sent: December 21, 2006 7:35 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE:  mod_status.so - How do I get this to work?
> 
> I see, it would have been helpful for you to include your 
> configuration line when you built Apache so we could diagnose 
> from there.
> 
> When you said Slackware and referenced the old 1.3x version 
> of Apache, I assumed you must be dependent on packages.
> 
> Back to your question... Yes, mod_status is an included 
> module in the source distribution, but it is not built by default:
> 
> httpd-2.0.59> ./configure --help | grep status
>   --disable-status        process/thread monitoring
> 
> So you would want to have something like:
> ./configure --enable-status (your other modules go here, etc.)
> 
> Read more on httpd.conf configuration here:
> http://httpd.apache.org/docs/2.0/mod/mod_status.html
> 
> I usually built it when I configure to: "--enable-info"
> 
> --Mark
> Mark Lavi, Enterprise Web Management Team @ SGI 
> mailto:mlavi@xxxxxxx || phone:+1-650-933-7707
> 
> -----Original Message-----
> From: Techguy [mailto:techguy@xxxxxxxxxx]
> Sent: Thursday, December 21, 2006 4:06 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE:  mod_status.so - How do I get this to work?
> 
> Kind of confused here .... is this not supposed to come with Apache.
> From
> what I read this is an Apache module. I compiled and 
> installed the source from the Apache site, I never use 
> packages or RPM's. I also looked to see if there is a 
> configure option, but can't find anything regarding this.
> 
> Thanks
> 
> > -----Original Message-----
> > From: Mark Lavi [mailto:mlavi@xxxxxxx]
> > Sent: December 21, 2006 5:28 PM
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: RE:  mod_status.so - How do I get 
> this to work?
> > 
> > You will have to research your Linux distribution to see if 
> there are 
> > additional Apache modules that can be downloaded and then 
> "installed".
> > 
> > e.g.:
> > http://packages.slackware.it/search.php?v=current&t=1&q=apache
> > 
> > ...and it does not appear like there is a standard package 
> for you to 
> > install.
> > This was something I looked up in 20 seconds, but you may 
> wish to make 
> > a more exhaustive search.
> > 
> > Your next resort is to "build" Apache and customize it to 
> your needs.
> > This is a more complex way to download the source code, 
> configure it 
> > with the options you needs, locate any dependent libraries or 
> > programs, and compile Apache source code, and then install it.
> > 
> > I suggest downloading the current 2.2.x branch of Apache 
> source code, 
> > unarchiving it, and then reading the INSTALL file. This is how you 
> > will begin to learn the inner workings of Apache and it's 
> > configuration.
> > 
> > I do not suggest you follow up on this mailing list with very basic 
> > questions like: "how do I download source code, how do I compile 
> > Apache for certain modules, etc." because there are many HOWTOs to 
> > help you do so.
> > 
> > e.g.
> > 
> http://www.google.com/search?ie=UTF-8&oe=utf-8&q=howto+compile+apache
> > 
> > ...but do ask about compilation errors, etc.
> > 
> > Good luck!
> > 
> > --Mark
> > Mark Lavi, Enterprise Web Management Team @ SGI 
> mailto:mlavi@xxxxxxx 
> > || phone:+1-650-933-7707
> > 
> > -----Original Message-----
> > From: Techguy [mailto:techguy@xxxxxxxxxx]
> > Sent: Thursday, December 21, 2006 1:59 PM
> > To: users@xxxxxxxxxxxxxxxx
> > Subject:  mod_status.so - How do I get this to work?
> > 
> > Hi,
> > 
> > I installed a program to track web traffic for Apache, and 
> in order to 
> > get it to work it says I need to add this to my httpd.conf.
> > 
> > LoadModule status_module modules/mod_status.so
> > 
> > When I do Apache won't start. So I look around and find 
> this file does 
> > not exist anywhere on my pc.
> > 
> > After further research I find that it is supposed to be installed 
> > automatically with Apache and gives me instructions on how 
> to enable 
> > it
> > -
> > this I know - what I don't know is where to find this after 
> the fact 
> > and how to install it.
> > 
> > I am running Apache 1.3.36 on Slackware 11 with PHP 4.4.4 and MySQL 
> > 5.0
> > 
> > Any help is appreciated.
> > 
> > Thanks
> > 
> > B
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server 
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server 
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux