PDA

Bekijk de volledige versie : Anyone succeded to launch Apache ???



sponsor79
30-11-2006, 10:41
Hi,

I've tried to install apache on wl-500gx running OLEG 1.9.2.7-7e firmware.

Each time i try to run apache i have errors:

Installing apache (2.0.54-3) to root...
Configuring apache
update-alternatives: Linking //opt/sbin/htpasswd to /opt/sbin/apache-htpasswd
//opt/lib/ipkg/info/apache.postinst: 5: /opt/sbin/httpd: not found
//opt/lib/ipkg/info/apache.postinst: 6: /opt/sbin/httpd: not found
postinst script returned status 127
ERROR: apache.postinst returned 127
Successfully terminated.

or with newer version:

Installing apache (2.0.54-4) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/apache_2.0.54-4_mipsel.ipk
Installing apr (0.9.12-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/apr_0.9.12-2_mipsel.ipk
Installing apr-util (0.9.7-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/apr-util_0.9.7-3_mipsel.ipk
Configuring apache
update-alternatives: Linking //opt/sbin/htpasswd to /opt/sbin/apache-htpasswd
httpd (no pid file) not running
Segmentation fault
postinst script returned status 139
ERROR: apache.postinst returned 139
Configuring apr
Configuring apr-util
Successfully terminated.

I'm not sure what is happening.

When i take the newer version of apache with strace I have:

stat("/opt/etc/apache2/httpd.conf", {st_mode=S_IFREG|0644, st_size=37328, ...}) = 0
open("/opt/etc/apache2/httpd.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=37328, ...}) = 0
read(4, "#\n# Based upon the NCSA server c"..., 4096) = 4096
stat("/opt", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
read(4, "ocess serves\n<IfModule prefork.c"..., 4096) = 4096
open("/opt/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
[cut a lot of identical lines]
open("/opt/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 4577 detached

Can anyone tell me what is happening?