H
Hawkiiii
Guest
Also OS Suse 10.0 confixx
Ich will den Mod_security installieren dabei taucht beim ausführen des Befehls
folgender error auf:
Ich habe die Installation nach folgender Anleitung durchgeführt:
Server-Wissen.de :: Linux - mod_security Sicherheitsmodul in Apache2
thx for help
Ich will den Mod_security installieren dabei taucht beim ausführen des Befehls
Code:
apxs2 -cia mod_security.c
Code:
g057:/modsecurity-apache/apache2 # apxs2 -cia mod_security.c
/usr/share/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -ma rch=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -DLIN UX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pth read -I/usr/include/apache2 -I/usr/include/apache2 -I/usr/include/apache2 - c -o mod_security.lo mod_security.c && touch mod_security.slo
mod_security.c: In function 'multipart_process_chunk':
mod_security.c:7134: warning: 'localreserve[0]' may be used uninitialized in thi s function
mod_security.c:7134: warning: 'localreserve[1]' may be used uninitialized in thi s function
/usr/share/apache2/build/libtool --silent --mode=link gcc -o mod_security.la -r path /usr/lib/apache2 -module -avoid-version mod_security.lo
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool ' mod_security.la /usr/lib/apache2
/usr/share/apache2/build/libtool --mode=install cp mod_security.la /usr/lib/apac he2/
cp .libs/mod_security.so /usr/lib/apache2/mod_security.so
cp .libs/mod_security.lai /usr/lib/apache2/mod_security.la
cp .libs/mod_security.a /usr/lib/apache2/mod_security.a
ranlib /usr/lib/apache2/mod_security.a
chmod 644 /usr/lib/apache2/mod_security.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/apache2
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 755 /usr/lib/apache2/mod_security.so
apxs:Error: Config file /etc/apache2/httpd2-prefork.conf not found.
g057:/modsecurity-apache/apache2 #
Ich habe die Installation nach folgender Anleitung durchgeführt:
Server-Wissen.de :: Linux - mod_security Sicherheitsmodul in Apache2
thx for help