You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Romain Chalumeau <Ro...@alcatel.fr> on 1999/04/23 15:36:56 UTC
general/4295: Starting httpd seems to be OK but no process runs
>Number: 4295
>Category: general
>Synopsis: Starting httpd seems to be OK but no process runs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Fri Apr 23 06:40:00 PDT 1999
>Last-Modified:
>Originator: Romain.Chalumeau@alcatel.fr
>Organization:
apache
>Release: 1.3.6 (UNIX)
>Environment:
barsac,root # ./httpd -v
Server version: Apache/1.3.6 (Unix)
Server built: Apr 23 1999 14:37:20
barsac,root # uname -a
HP-UX barsac B.10.20 A 9000/778 2007812109 two-user license
barsac,root # echo $CC
/usr/bin/cc
>Description:
barsac,root # sh -x apachectl start
+ PIDFILE=/opt/apache/logs/httpd.pid
+ HTTPD=/opt/apache/bin/httpd
+ LYNX=lynx -dump
+ STATUSURL=http://localhost/server-status
+ ERROR=0
+ ARGV=start
+ [ xstart = x ]
+ [ -f /opt/apache/logs/httpd.pid ]
+ + cat /opt/apache/logs/httpd.pid
PID=10419
+ [ ! x10419 = x ]
+ kill -0 10419
kill: 10419: The specified process does not exist.
+ STATUS=httpd (pid 10419?) not running
+ RUNNING=0
+ [ 0 -eq 1 ]
+ /opt/apache/bin/httpd
+ echo apachectl start: httpd started
apachectl start: httpd started
+ exit 0
barsac,root # ps -fe | grep http
barsac,root #
Hi,
When I try to launch httpd, I do not receive any error messages (but the failed kill),
a pid is written into conf/httpd.pid (which I supose means that the httpd process has been launched...)
but a ps gives no such process...
So I'd like to know if there are known problems with cc compiler ( I had warnings like :
cc: "util_md5.c", line 117: warning 604: Pointers are not assignment-compatible.
cc: "util_md5.c", line 117: warning 563: Argument #1 is not the correct type.
but I don't think it is very important... )
Can you tell me what are the processes that httpd launches and which may kill the main process ?
May user rights of conf files or executables provokes such errors (httpd user is nobody:nogroup,
apache has been installed under root:other) ?
Thanks in advance for your answer,
Regards,
Romain.
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]