httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Poeml <po...@suse.de>
Subject Re: [users@httpd] apache fails to start at startup
Date Thu, 31 Jul 2003 16:39:10 GMT
On Wed, Jul 30, 2003 at 05:36:51PM -0700, krishna wrote:
> Apache/1.3.27 (Linux/SuSE 8.2) fails to start while the system boots for 
> some reason , i am starting  SuSE  in init 3 mode .  Please help , thank 
> you.

My crystal ball says that your machine has an nvidia graphics card, you
have run the nvidia installer and since then apache doesn't start at
boot any longer -- and you use PHP4. The libGL is replaced and it is
somehow broken.

A workaround is to modify the apache start script as follows:

--- apache.init.orig    2003-07-29 16:28:25.000000000 +0200
+++ apache.init 2003-07-29 16:29:39.000000000 +0200
@@ -127,8 +127,8 @@
        check_modules yes ;
        echo -n "]"
        rm -f /var/lib/httpd/mod_bandwidth/link/* &>/dev/null
-       if $HTTPD_BIN $INET6 -t -f /etc/httpd/httpd.conf $MODULES > /var/log/httpd/rcapache.out
2>&1 ; then
-               startproc -t $HTTPD_START_TIMEOUT $HTTPD_BIN $INET6 -f /etc/httpd/httpd.conf
$MODULES
+       if LD_PRELOAD=/usr/lib/GL/libGL.so.1.4.mesasoft $HTTPD_BIN $INET6 -t -f /etc/httpd/httpd.conf
$MODULES > /var/log/httpd/rcapache.out 2>&1 ; then
+               LD_PRELOAD=/usr/lib/GL/libGL.so.1.4.mesasoft $HTTPD_BIN $INET6 -f /etc/httpd/httpd.conf
$MODULES
                ret=$?

                if test -t 1 && stty -a | grep -q -- -echo\ ; then


You can find such a script here in a few hours:

http://www.suse.de/~poeml/rc.apache-82

Peter

-- 
Thought is limitation. Free your mind.

Mime
View raw message