apache cannot load mod_proxy_ajp into server: libc.so.0

Alles, was den Apache betrifft, kann hier besprochen werden.

apache cannot load mod_proxy_ajp into server: libc.so.0

Postby adrhc » 06. November 2013 21:30

root@nsa310:~# uname -a
Linux nsa310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel GNU/Linux

I have a Zyxel NSA310 with a factory-installed apache:

root@nsa310:~# /usr/sbin/httpd -V
Server version: Apache/2.2.9 (Unix)
Server built: Jan 17 2013 15:28:39
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.3.0, APR-Util 1.3.0
Compiled using: APR 1.3.0, APR-Util 1.3.0
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="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 DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

It doesn't contain the mod_proxy_ajp.so module so I downloaded Apache/2.2.9 sources and compiled them in order to obtain mod_proxy_ajp.so module. When I'm loading the module with:
LoadModule proxy_ajp_module /usr/local/zy-pkgs/lib/mod_proxy_ajp.so
at starting I'm getting the error:
root@nsa310:~/apache2/bin# /bin/nice -n -2 /usr/sbin/httpd -f /etc/service_conf/httpd.conf
httpd: Syntax error on line 16 of /etc/service_conf/httpd.conf: Cannot load /usr/local/zy-pkgs/ffproot/ffp/home/root/apache2/modules/mod_proxy_ajp.so into server: libc.so.0: cannot open shared object file: No such file or directory


The compiled version outputs same result for httpd -V and it starts fine with de same module loading declaration. What is the problem ?
adrhc
 
Posts: 2
Joined: 04. October 2013 16:44
Operating System: Linux

Re: apache cannot load mod_proxy_ajp into server: libc.so.0

Postby Nobbie » 06. November 2013 21:55

adrhc wrote:What is the problem ?


1) Das erste Problem ist, dass Du im deutschen Bereich fragst. Hier wird Deutsch gesprochen.

2) Das eigentliche Problem (cannot load libc.so.0) sieht danach aus, als wäre entweder gar kein C-Compiler, oder nicht der richtige, oder nicht am richtigen Ort installiert. Gib diese Meldung mal in Google ein und schau mal, welche Antworten es dazu gibt.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: apache cannot load mod_proxy_ajp into server: libc.so.0

Postby adrhc » 07. November 2013 12:15

I'm sorry for writing using English but I didn't find the English section so I thought this is only a German forum; I gave it a try anyway with the message using English because I don't know German and also I think you guys understand English :). Is there also an English section for this forum ?
adrhc
 
Posts: 2
Joined: 04. October 2013 16:44
Operating System: Linux


Return to Apache

Who is online

Users browsing this forum: No registered users and 20 guests