Current time: 11-24-2024, 12:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
vhost monitoring
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: vhost monitoring
So, habe es jetzt grad auch mal getestet und sieht soweit garnicht schlecht aus. Ist nur noch ein fehler beim einbinden in die httpd.conf...
aber es dürfte so dann schon benutzbar sein...

Code:
make -f Makefile.dso install
/usr/bin/apxs2 -c  -DSTATEDIR='\"usr/lib/apache2/modules/\"'  mod_watch.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql -DSTATEDIR=\"usr/lib/apache2/modules/\"  -c -o mod_watch.lo mod_watch.c && touch mod_watch.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o mod_watch.la  -rpath /usr/lib/apache2/modules -module -avoid-version    mod_watch.lo
/usr/bin/apxs2 -c  -DSTATEDIR='\"usr/lib/apache2/modules/\"'  Memory.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql -DSTATEDIR=\"usr/lib/apache2/modules/\"  -c -o Memory.lo Memory.c && touch Memory.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o Memory.la  -rpath /usr/lib/apache2/modules -module -avoid-version    Memory.lo
/usr/bin/apxs2 -c  -DSTATEDIR='\"usr/lib/apache2/modules/\"'  SharedHash.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql -DSTATEDIR=\"usr/lib/apache2/modules/\"  -c -o SharedHash.lo SharedHash.c && touch SharedHash.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o SharedHash.la  -rpath /usr/lib/apache2/modules -module -avoid-version    SharedHash.lo
/usr/bin/apxs2 -c  -DSTATEDIR='\"usr/lib/apache2/modules/\"'  NetworkTable.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql -DSTATEDIR=\"usr/lib/apache2/modules/\"  -c -o NetworkTable.lo NetworkTable.c && touch NetworkTable.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o NetworkTable.la  -rpath /usr/lib/apache2/modules -module -avoid-version    NetworkTable.lo
/usr/bin/apxs2 -c  -DSTATEDIR='\"usr/lib/apache2/modules/\"'   mod_watch.lo Memory.lo SharedHash.lo NetworkTable.lo
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i486-linux-gnu-gcc -o mod_watch.la  -rpath /usr/lib/apache2/modules -module -avoid-version    mod_watch.lo Memory.lo SharedHash.lo NetworkTable.lo
chmod u+x mod_watch.pl
cp -f mod_watch.pl /usr/local/sbin
chmod u+x apache2mrtg.pl
cp -f apache2mrtg.pl /usr/local/sbin
/usr/bin/apxs2 -i -a -n 'watch' mod_watch.la
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_watch.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp mod_watch.la /usr/lib/apache2/modules/
cp .libs/mod_watch.so /usr/lib/apache2/modules/mod_watch.so
cp .libs/mod_watch.lai /usr/lib/apache2/modules/mod_watch.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/apache2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 644 /usr/lib/apache2/modules/mod_watch.so
apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install] Fehler 1
Hier meine makefile.dso
Code:
########################################################################
### Pick one that best suits your system.
########################################################################

#
# The location of apxs utility.
#
#APXS=/home/apache2/bin/apxs
APXS=/usr/bin/apxs2

#
# The location of apachectl utility to stop/start/restart targets.
#
APACHECTL=apache2ctl

#
# Where the scripts should live
#
SCRIPTDIR=/usr/local/sbin

#
# Where to store the weenie files.
#
STATEDIR=/usr/lib/apache2/modules/

#
# Define to use unsigned long long counters.
#
#BIG=-DUSE_OCTET_COUNTER_64

#
# Extras
#
DEF=$(BIG) -DSTATEDIR='\"$(STATEDIR)\"'
INC=
LIB=

########################################################################
### No further configuration beyond this point.
########################################################################

Greez BeNe
(This post was last modified: 10-17-2007 09:59 PM by BeNe.)
10-17-2007 05:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
vhost monitoring - fulltilt - 10-12-2007, 08:48 PM
RE: vhost monitoring - BeNe - 10-12-2007, 09:31 PM
RE: vhost monitoring - fulltilt - 10-12-2007, 09:37 PM
RE: vhost monitoring - BeNe - 10-13-2007, 12:38 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 03:33 AM
RE: vhost monitoring - BeNe - 10-17-2007, 04:40 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 04:50 AM
RE: vhost monitoring - BeNe - 10-17-2007, 04:56 AM
RE: vhost monitoring - fulltilt - 10-17-2007, 05:04 PM
RE: vhost monitoring - BeNe - 10-17-2007, 05:20 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 05:45 PM
RE: vhost monitoring - BeNe - 10-17-2007 05:34 PM
RE: vhost monitoring - BeNe - 10-17-2007, 06:06 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 06:21 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 09:26 PM
RE: vhost monitoring - BeNe - 10-17-2007, 10:45 PM
RE: vhost monitoring - BeNe - 10-17-2007, 11:21 PM
RE: vhost monitoring - fulltilt - 10-17-2007, 11:30 PM
RE: vhost monitoring - BeNe - 10-17-2007, 11:23 PM
RE: vhost monitoring - joximu - 10-17-2007, 11:28 PM
RE: vhost monitoring - BeNe - 10-18-2007, 12:00 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:01 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:09 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:12 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:23 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:28 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:36 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:42 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:44 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 12:47 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:51 AM
RE: vhost monitoring - BeNe - 10-18-2007, 12:52 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 01:18 AM
RE: vhost monitoring - BeNe - 10-18-2007, 01:35 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 02:52 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 01:42 AM
RE: vhost monitoring - Slowman - 10-18-2007, 02:22 AM
RE: vhost monitoring - BeNe - 10-18-2007, 03:58 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 04:45 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:11 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:20 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:14 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:26 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:28 AM
RE: vhost monitoring - BeNe - 10-18-2007, 05:39 AM
RE: vhost monitoring - fulltilt - 10-18-2007, 03:40 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 05:38 PM
RE: vhost monitoring - BeNe - 10-18-2007, 05:53 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:25 PM
RE: vhost monitoring - BeNe - 10-18-2007, 06:27 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:44 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 06:46 PM
RE: vhost monitoring - BeNe - 10-18-2007, 06:50 PM
RE: vhost monitoring - BeNe - 10-18-2007, 07:50 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 07:59 PM
RE: vhost monitoring - BeNe - 10-18-2007, 10:12 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:20 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:30 PM
RE: vhost monitoring - BeNe - 10-18-2007, 10:41 PM
RE: vhost monitoring - fulltilt - 10-18-2007, 10:57 PM
RE: vhost monitoring - BeNe - 10-19-2007, 12:44 AM
RE: vhost monitoring - fulltilt - 10-19-2007, 01:12 AM
RE: vhost monitoring - BeNe - 10-19-2007, 01:37 AM
RE: vhost monitoring - hbaes - 11-29-2007, 09:40 PM
RE: vhost monitoring - BeNe - 11-29-2007, 10:03 PM
RE: vhost monitoring - hbaes - 11-30-2007, 12:10 AM
RE: vhost monitoring - Galeon - 01-05-2008, 01:39 AM
RE: vhost monitoring - BeNe - 01-05-2008, 01:48 AM
RE: vhost monitoring - Galeon - 01-05-2008, 01:58 AM
RE: vhost monitoring - Galeon - 01-09-2008, 09:05 AM
RE: vhost monitoring - fulltilt - 01-09-2008, 05:34 PM

Forum Jump:


User(s) browsing this thread: 8 Guest(s)