Author Topic: Error Apache Module when installation cwp  (Read 4747 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error Apache Module when installation cwp
« on: February 11, 2016, 04:42:04 PM »
Hello,
please help my problem,
I tried to install cwp,
but when the check apache module error occurs, and also on mod_suphp

log:
Quote
checking for APR... yes
checking for dynamic Apache module support (via APXS)... ./configure: line 20370: /usr/local/apache/bin/apxs: No such file or directory
./configure: line 20370: /usr/local/apache/bin/apxs: No such file or directory
./configure: line 20370: /: is a directory
./configure: line 20382: /usr/local/apache/bin/apxs: No such file or directory
./configure: line 20383: /usr/local/apache/bin/apxs: No such file or directory
./configure: line 20388: /usr/local/apache/bin/apxs: No such file or directory
found at /usr/local/apache/bin/apxs (version )
checking for set-UID/set-GID mode... ok - using paranoid
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/apache/Makefile
config.status: creating src/apache2/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/tmp/apache-build/suphp-0.7.1/src'
make  all-recursive
make[2]: Entering directory `/tmp/apache-build/suphp-0.7.1/src'
Making all in apache
make[3]: Entering directory `/tmp/apache-build/suphp-0.7.1/src/apache'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src    -I -DSUPHP_PATH_TO_SUPHP=\"/usr/local/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../src -I -DSUPHP_PATH_TO_SUPHP=\"/usr/local/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c  -fPIC -DPIC -o .libs/mod_suphp.o
mod_suphp.c:24:19: error: httpd.h: No such file or directory
mod_suphp.c:25:25: error: http_config.h: No such file or directory
mod_suphp.c:26:26: error: http_request.h: No such file or directory
mod_suphp.c:27:23: error: http_core.h: No such file or directory
mod_suphp.c:28:27: error: http_protocol.h: No such file or directory
mod_suphp.c:29:23: error: http_main.h: No such file or directory
mod_suphp.c:30:22: error: http_log.h: No such file or directory
mod_suphp.c:31:25: error: util_script.h: No such file or directory
mod_suphp.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MODULE_VAR_EXPORT’
mod_suphp.c:59: error: expected specifier-qualifier-list before ‘table’
mod_suphp.c:66: error: expected ‘)’ before ‘*’ token
mod_suphp.c:84: error: expected ‘)’ before ‘*’ token
mod_suphp.c:125: error: expected ‘)’ before ‘*’ token
mod_suphp.c:145: error: expected ‘)’ before ‘*’ token
mod_suphp.c:184: error: expected ‘)’ before ‘*’ token
mod_suphp.c:203: error: expected ‘)’ before ‘*’ token
mod_suphp.c:214: error: expected ‘)’ before ‘*’ token
mod_suphp.c:232: error: expected ‘)’ before ‘*’ token
mod_suphp.c:246: error: expected ‘)’ before ‘*’ token
mod_suphp.c:262: error: expected ‘)’ before ‘*’ token
mod_suphp.c:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suphp_cmds’
mod_suphp.c:296: error: expected declaration specifiers or ‘...’ before ‘child_info’
mod_suphp.c: In function ‘suphp_source_child’:
mod_suphp.c:297: error: ‘request_rec’ undeclared (first use in this function)
mod_suphp.c:297: error: (Each undeclared identifier is reported only once
mod_suphp.c:297: error: for each function it appears in.)
mod_suphp.c:297: error: ‘r’ undeclared (first use in this function)
mod_suphp.c:297: error: expected expression before ‘)’ token
mod_suphp.c:299: error: ‘pool’ undeclared (first use in this function)
mod_suphp.c:299: error: ‘p’ undeclared (first use in this function)
mod_suphp.c:302: error: ‘suphp_module’ undeclared (first use in this function)
mod_suphp.c:310: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:313: error: ‘NULL’ undeclared (first use in this function)
mod_suphp.c:325: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:328: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_suphp.c:328: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_suphp.c:329: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:330: warning: incompatible implicit declaration of built-in function ‘exit’
mod_suphp.c: At top level:
mod_suphp.c:336: error: expected declaration specifiers or ‘...’ before ‘child_info’
mod_suphp.c: In function ‘suphp_child’:
mod_suphp.c:337: error: ‘request_rec’ undeclared (first use in this function)
mod_suphp.c:337: error: ‘r’ undeclared (first use in this function)
mod_suphp.c:337: error: expected expression before ‘)’ token
mod_suphp.c:338: error: ‘core_dir_config’ undeclared (first use in this function)
mod_suphp.c:338: error: ‘core_conf’ undeclared (first use in this function)
mod_suphp.c:339: error: ‘pool’ undeclared (first use in this function)
mod_suphp.c:339: error: ‘p’ undeclared (first use in this function)
mod_suphp.c:343: error: expected expression before ‘)’ token
mod_suphp.c:353: error: ‘NULL’ undeclared (first use in this function)
mod_suphp.c:411: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_suphp.c:411: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_suphp.c:413: warning: incompatible implicit declaration of built-in function ‘exit’
mod_suphp.c: At top level:
mod_suphp.c:421: error: expected ‘)’ before ‘*’ token
mod_suphp.c:505: error: expected ‘)’ before ‘*’ token
mod_suphp.c:789: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suphp_handlers’
mod_suphp.c:798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MODULE_VAR_EXPORT’
make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/tmp/apache-build/suphp-0.7.1/src/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/apache-build/suphp-0.7.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/apache-build/suphp-0.7.1/src'
make: *** [all-recursive] Error 1
Making install in src
make[1]: Entering directory `/tmp/apache-build/suphp-0.7.1/src'
Making install in apache
make[2]: Entering directory `/tmp/apache-build/suphp-0.7.1/src/apache'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src    -I -DSUPHP_PATH_TO_SUPHP=\"/usr/local/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
 gcc -DHAVE_CONFIG_H -I. -I../../src -I -DSUPHP_PATH_TO_SUPHP=\"/usr/local/sbin/suphp\" -DSUPHP_USE_USERGROUP -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c  -fPIC -DPIC -o .libs/mod_suphp.o
mod_suphp.c:24:19: error: httpd.h: No such file or directory
mod_suphp.c:25:25: error: http_config.h: No such file or directory
mod_suphp.c:26:26: error: http_request.h: No such file or directory
mod_suphp.c:27:23: error: http_core.h: No such file or directory
mod_suphp.c:28:27: error: http_protocol.h: No such file or directory
mod_suphp.c:29:23: error: http_main.h: No such file or directory
mod_suphp.c:30:22: error: http_log.h: No such file or directory
mod_suphp.c:31:25: error: util_script.h: No such file or directory
mod_suphp.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MODULE_VAR_EXPORT’
mod_suphp.c:59: error: expected specifier-qualifier-list before ‘table’
mod_suphp.c:66: error: expected ‘)’ before ‘*’ token
mod_suphp.c:84: error: expected ‘)’ before ‘*’ token
mod_suphp.c:125: error: expected ‘)’ before ‘*’ token
mod_suphp.c:145: error: expected ‘)’ before ‘*’ token
mod_suphp.c:184: error: expected ‘)’ before ‘*’ token
mod_suphp.c:203: error: expected ‘)’ before ‘*’ token
mod_suphp.c:214: error: expected ‘)’ before ‘*’ token
mod_suphp.c:232: error: expected ‘)’ before ‘*’ token
mod_suphp.c:246: error: expected ‘)’ before ‘*’ token
mod_suphp.c:262: error: expected ‘)’ before ‘*’ token
mod_suphp.c:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suphp_cmds’
mod_suphp.c:296: error: expected declaration specifiers or ‘...’ before ‘child_info’
mod_suphp.c: In function ‘suphp_source_child’:
mod_suphp.c:297: error: ‘request_rec’ undeclared (first use in this function)
mod_suphp.c:297: error: (Each undeclared identifier is reported only once
mod_suphp.c:297: error: for each function it appears in.)
mod_suphp.c:297: error: ‘r’ undeclared (first use in this function)
mod_suphp.c:297: error: expected expression before ‘)’ token
mod_suphp.c:299: error: ‘pool’ undeclared (first use in this function)
mod_suphp.c:299: error: ‘p’ undeclared (first use in this function)
mod_suphp.c:302: error: ‘suphp_module’ undeclared (first use in this function)
mod_suphp.c:310: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:313: error: ‘NULL’ undeclared (first use in this function)
mod_suphp.c:325: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:328: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_suphp.c:328: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_suphp.c:329: error: ‘suphp_conf’ has no member named ‘php_path’
mod_suphp.c:330: warning: incompatible implicit declaration of built-in function ‘exit’
mod_suphp.c: At top level:
mod_suphp.c:336: error: expected declaration specifiers or ‘...’ before ‘child_info’
mod_suphp.c: In function ‘suphp_child’:
mod_suphp.c:337: error: ‘request_rec’ undeclared (first use in this function)
mod_suphp.c:337: error: ‘r’ undeclared (first use in this function)
mod_suphp.c:337: error: expected expression before ‘)’ token
mod_suphp.c:338: error: ‘core_dir_config’ undeclared (first use in this function)
mod_suphp.c:338: error: ‘core_conf’ undeclared (first use in this function)
mod_suphp.c:339: error: ‘pool’ undeclared (first use in this function)
mod_suphp.c:339: error: ‘p’ undeclared (first use in this function)
mod_suphp.c:343: error: expected expression before ‘)’ token
mod_suphp.c:353: error: ‘NULL’ undeclared (first use in this function)
mod_suphp.c:411: error: ‘APLOG_MARK’ undeclared (first use in this function)
mod_suphp.c:411: error: ‘APLOG_ERR’ undeclared (first use in this function)
mod_suphp.c:413: warning: incompatible implicit declaration of built-in function ‘exit’
mod_suphp.c: At top level:
mod_suphp.c:421: error: expected ‘)’ before ‘*’ token
mod_suphp.c:505: error: expected ‘)’ before ‘*’ token
mod_suphp.c:789: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suphp_handlers’
mod_suphp.c:798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MODULE_VAR_EXPORT’
make[2]: *** [mod_suphp.lo] Error 1
make[2]: Leaving directory `/tmp/apache-build/suphp-0.7.1/src/apache'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/apache-build/suphp-0.7.1/src'
make: *** [install-recursive] Error 1
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 157: cd: /usr/local/apache/bin/: No such file or directory

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0   1121      0 --:--:-- --:--:-- --:--:--  2467
Error: Nothing to do
sh: line 28: virt-what: command not found
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Array
(
    [operation] => upload
)

Offline
*****
Re: Error Apache Module when installation cwp
« Reply #1 on: February 14, 2016, 06:27:54 AM »
Hello.

Looks like something went wrong. Probably, some files wasn't downloaded from the server.
Try reinstall OS and CWP.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services