Thread: [mod-security-users] New modsec Install
Brought to you by:
victorhora,
zimmerletw
|
From: LesT <tle...@ea...> - 2005-08-15 01:22:33
|
We are building a new server and cannot get modsecurity to install. = Below find the server info and following that the first few lines of = hundreds that follow when attempting to install mod_security 1.8.7 Linux u15190851.onlinehome-server.com 2.6.11.9-050512a #1 SMP Thu May 12 = 20:53:02 CEST 2005 i686 i686 i386 GNU/Linux Fedora Core release 2 (Tettnang) Server version: Apache/2.0.51 Server built: Nov 12 2004 10:10:20 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR=3D"server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=3D"/etc/httpd" -D SUEXEC_BIN=3D"/usr/sbin/suexec" -D DEFAULT_PIDLOG=3D"logs/httpd.pid" -D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status" -D DEFAULT_LOCKFILE=3D"logs/accept.lock" -D DEFAULT_ERRORLOG=3D"logs/error_log" -D AP_TYPES_CONFIG_FILE=3D"conf/mime.types" -D SERVER_CONFIG_FILE=3D"conf/httpd.conf" Compiled in modules: core.c prefork.c http_core.c mod_so.c MODULE_RELEASE "1.8.7" =3D=3D=3D=3D=3D=3D ONLY A FEW lines as examples to avoid uploaded such a = large file. cc -DHARD_SERVER_LIMIT=3D512 = -DDEFAULT_PATH=3D"/usr/local/psa/admin/bin:/bin:/usr/bin" -DLINUX=3D22 = -DTARGET=3D"httpsd" -DHAVE_SET_DUMPABLE -I/usr/include/gdbm = -DMOD_SSL=3D208122 -DEAPI -O -pipe -W -Wall = -I/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/lib/dist/usr/include = -DPLESK_Linux = -I/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/plesk-utils/include = -DBSG_CR -DBSG_MSG -I/usr/include -DHAS_RPM -O3 = -fexpensive-optimizations -I/usr/kerberos/include -fstrength-reduce = -pipe -I/usr/include/libxml2 -Wno-unused-parameter -fpic -DSHARED_MODULE = -I/usr/local/psa/admin/include -c mod_security.c mod_security.c:35:19: unixd.h: No such file or directory mod_security.c:47:20: ap_mpm.h: No such file or directory mod_security.c:49:17: apr.h: No such file or directory mod_security.c:50:25: apr_strings.h: No such file or directory mod_security.c:51:22: apr_hash.h: No such file or directory mod_security.c:52:22: apr_user.h: No such file or directory mod_security.c:53:21: apr_lib.h: No such file or directory mod_security.c:54:24: apr_signal.h: No such file or directory mod_security.c:55:30: apr_global_mutex.h: No such file or directory mod_security.c:61: error: syntax error before "security_module" mod_security.c:61: warning: type defaults to `int' in declaration of = `security_module' mod_security.c:61: warning: data definition has no type or storage class mod_security.c:63: error: syntax error before '*' token mod_security.c:63: warning: type defaults to `int' in declaration of = `modsec_debuglog_lock' mod_security.c:63: warning: data definition has no type or storage class mod_security.c:64: error: syntax error before '*' token mod_security.c:64: warning: type defaults to `int' in declaration of = `modsec_auditlog_lock' mod_security.c:64: warning: data definition has no type or storage class mod_security.c:66: error: syntax error before '*' token mod_security.c:66: warning: type defaults to `int' in declaration of = `global_sec_filter_in' mod_security.c:66: warning: data definition has no type or storage class mod_security.c:67: error: syntax error before '*' token mod_security.c:67: warning: type defaults to `int' in declaration of = `global_sec_filter_out' mod_security.c:67: warning: data definition has no type or storage class mod_security.c:290: error: syntax error before "apr_array_header_t" mod_security.c:290: warning: no semicolon at end of struct or union mod_security.c:291: warning: type defaults to `int' in declaration of = `signature' mod_security.c:291: warning: data definition has no type or storage = class mod_security.c:299: error: syntax error before "apr_array_header_t" mod_security.c:299: warning: no semicolon at end of struct or union |
|
From: Ivan R. <iv...@we...> - 2005-08-15 12:06:15
|
LesT wrote: > We are building a new server and cannot get modsecurity to install. > Below find the server info and following that the first few lines of > hundreds that follow when attempting to install mod_security 1.8.7 > > ... > > cc -DHARD_SERVER_LIMIT=512 > -DDEFAULT_PATH="/usr/local/psa/admin/bin:/bin:/usr/bin" -DLINUX=22 > -DTARGET="httpsd" -DHAVE_SET_DUMPABLE -I/usr/include/gdbm > -DMOD_SSL=208122 -DEAPI -O -pipe -W -Wall > -I/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/lib/dist/usr/include > -DPLESK_Linux > -I/home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/plesk-utils/include > -DBSG_CR -DBSG_MSG -I/usr/include -DHAS_RPM -O3 > -fexpensive-optimizations -I/usr/kerberos/include -fstrength-reduce > -pipe -I/usr/include/libxml2 -Wno-unused-parameter -fpic -DSHARED_MODULE > -I/usr/local/psa/admin/include -c mod_security.c > mod_security.c:35:19: unixd.h: No such file or directory > mod_security.c:47:20: ap_mpm.h: No such file or directory > mod_security.c:49:17: apr.h: No such file or directory > mod_security.c:50:25: apr_strings.h: No such file or directory > mod_security.c:51:22: apr_hash.h: No such file or directory > mod_security.c:52:22: apr_user.h: No such file or directory > mod_security.c:53:21: apr_lib.h: No such file or directory > mod_security.c:54:24: apr_signal.h: No such file or directory > mod_security.c:55:30: apr_global_mutex.h: No such file or directory The compiler cannot find the Apache include files. Why exactly, I don't know - that depends on your system. Do you have a package called "http-devel" or "httpd-devel" installed? -- Ivan Ristic Apache Security (O'Reilly) - http://www.apachesecurity.net Open source web application firewall - http://www.modsecurity.org |
|
From: Michael S. <mi...@go...> - 2005-08-15 13:14:24
|
On Mon, 2005-08-15 at 13:06 +0100, Ivan Ristic wrote: > LesT wrote: > > We are building a new server and cannot get modsecurity to install. =20 > > Below find the server info and following that the first few lines of=20 > > hundreds that follow when attempting to install mod_security 1.8.7 > =20 > The compiler cannot find the Apache include files. Why exactly, I > don't know - that depends on your system. Do you have a package > called "http-devel" or "httpd-devel" installed? FC2 doesn't include httpd-devel by default. --=20 Michael T. Shinn KeyID:DAE2EC86 Key Fingerprint: 1884 E657 A6DF DF1B BFB9 E2C5 DCC6 5297 DAE2 EC86 http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xDAE2EC86 =20 Got Root? http://www.gotroot.com ModSecurity WebServer Firewall: http://www.modsecurityrules.com Troubleshooting Firewalls: http://troubleshootingfirewalls.com |