www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g.coleman <gle...@ls.berkeley.edu>
Subject general/5656: cannot start apache server automatically from scripts.
Date Thu, 27 Jan 2000 00:33:47 GMT

>Number:         5656
>Category:       general
>Synopsis:       cannot start apache server automatically from scripts.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan 26 16:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     gleeco@ls.berkeley.edu
>Release:        1.3.9
>Organization:
apache
>Environment:
SunOS foobar 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-250

compiler = gcc version 2.95.1 19990816 (release)

gleeco@jim-1 [378]% httpd -v
Server version: Apache/1.3.9 (Unix)
Server built:   Jan 18 2000 14:16:48
gleeco@jim-1 [379]% httpd -V
Server version: Apache/1.3.9 (Unix)
Server built:   Jan 18 2000 14:16:48
Server's Module Magic Number: 19990320:6
Server compiled with....
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D SHARED_CORE
 -D HTTPD_ROOT="/local/sol/2.6/depot/apache_1.3.9"
 -D SUEXEC_BIN="/local/sol/2.6/depot/apache_1.3.9/bin/suexec"
 -D SHARED_CORE_DIR="/local/sol/2.6/depot/apache_1.3.9/libexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="logs/httpd.lock"
 -D DEFAULT_XFERLOG="logs/access_log"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D TYPES_CONFIG_FILE="/etc/LPFS/apache/mime.types"
 -D SERVER_CONFIG_FILE="/etc/LPFS/apache/httpd.conf"
 -D ACCESS_CONFIG_FILE="/etc/LPFS/apache/access.conf"
 -D RESOURCE_CONFIG_FILE="/etc/LPFS/apache/srm.conf"
gleeco@jim-1 [380]% httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
>Description:
running /path/to/httpd  --or--
/path/to/httpd -f /path/to/config works from the shell.
However the same does not work from within a shellscript (including apachectl)

from error_log:

[Wed Jan 26 16:06:17 2000] [notice] Apache/1.3.9 (Unix) mod_perl/1.21 configured -- resuming
normal operations
[Wed Jan 26 16:06:17 2000] [notice] suEXEC mechanism enabled (wrapper: /local/sol/2.6/depot/apache_1.3.9/bin/suexec)
[Wed Jan 26 16:06:42 2000] [notice] caught SIGTERM, shutting down

configured as:
./configure --prefix=/local/sol/2.6/depot/apache_1.3.9 --sysconfdir=/etc/LPFS/apa
che --enable-shared=max --enable-rule=SHARED_CORE --enable-module=so --enable-mod
ule=auth_db --enable-suexec --suexec-caller=nobody --suexec-uidmin=100 --suexec-g
idmin=100 --suexec-logfile=/local/sol/2.6/depot/apache_1.3.9/logs/suexec_log --su
exec-safepath=/usr/bin:/usr/local/bin:/opt/local/bin.


>How-To-Repeat:
running /path/to/httpd  --or--
/path/to/httpd -f /path/to/config works from the shell.
However the same does not work from within a shellscript (including apachectl)
>Fix:
No.  A queston
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]
 
 


Mime
View raw message