[users@httpd] apache 1.3.28 not starting up - no errors??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I have a user who starts up apache 1.3.28 by running a script and giving the script the argument of start

This was working, but now the user is unable to get this to start up anymore??

Even as root, I am unable to start this up and there are no errors being recorded in the error log file??

Says apache is starting and pauses for a few seconds before returning me back to a prompt but when I do a ps -ef | grep httpd | grep dev, it doesn't show up??

Here is what I'm doing:

itis-appdev # pwd
/etc/init.d

itis-appdev # ./httpd-dev stop
kill: 17557: no such process

itis-appdev # ./httpd-dev start
Starting the DEV instance of Apache web server

itis-appdev # ps -ef|grep httpd | grep dev
root 21398 1 0 Dec 02 ? 0:00 /usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co nobody 21403 21398 0 Dec 02 ? 3:28 /usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co nobody 21405 21398 0 Dec 02 ? 3:37 /usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co mladan 23178 23172 0 Dec 02 ? 0:01 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co mladan 23172 1 0 Dec 02 ? 0:00 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co vtole 3794 1 0 Nov 28 ? 0:00 /usr/local/apache/bin/httpd -f /usr/users/vtole/servers/mydev/apache-conf/httpd vtole 3798 3794 0 Nov 28 ? 0:02 /usr/local/apache/bin/httpd -f /usr/users/vtole/servers/mydev/apache-conf/httpd mladan 23173 23172 0 Dec 02 ? 0:01 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co vtole 3795 3794 0 Nov 28 ? 0:02 /usr/local/apache/bin/httpd -f /usr/users/vtole/servers/mydev/apache-conf/httpd mladan 5699 1 0 Nov 28 ? 0:00 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf mladan 5700 5699 0 Nov 28 ? 0:01 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf mladan 5759 5699 0 Nov 28 ? 0:01 /usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf


Here is script that is used to start up this instance of apache:

itis-appdev # cat httpd-dev
#!/usr/bin/bash
#
# Paul Lembo March 2003
# Start up the Apache DEV web server

case "$1" in
'start')
        LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/include:/usr/local/ssl/include:/usr/local/ssl/lib
        export LD_LIBRARY_PATH
if [ -x /usr/local/apache_dev/bin/httpd -a -f /www/dev/conf/httpd.conf ]; then
                echo "Starting the DEV instance of Apache web server"
                /usr/local/apache_dev/bin/httpd -f /www/dev/conf/httpd.conf
        fi
        ;;

'stop')
        pid=`cat /www/dev/logs/httpd.pid`
        if [ X = "$pid"X ]; then
                echo "WARNING:  Cannot open pid file, trying ps output"
pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev | grep httpd | awk ' { print $2 } ' `
        fi
        if [ X = "$pid"X ]; then
                echo "HTTPD is not running"
        else
                /usr/bin/kill $pid
        fi
        ;;
'restart')
pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev | grep httpd | awk ' { print $2 } ' `
        if [ X = "$pid"X ]; then
                echo "HTTPD is not running"
        else
                /usr/bin/kill -1 $pid
        fi
        ;;

*)
        echo "Usage: $0 { start | stop | restart }"
        exit 1
        ;;
esac
exit 0

Any ideas as to why it says its starting but doesn't and doesn't record any errors in the error_log file??

Any help is greatly appreciated.
Thank you
Kenny



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux