DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27189>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27189 Specifying ScoreBoardFile causes exit in 2.0.48 Summary: Specifying ScoreBoardFile causes exit in 2.0.48 Product: Apache httpd-2.0 Version: 2.0.48 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Specifying a ScoreBoardFile causes apache to exit with the following in the error_log: [Tue Feb 24 09:09:01 2004] [crit] (17)File exists: unable to create scoreboard "/usr/local/apache2/logs/apache_runtime_status" (name-based shared memory failure) The relevant section from my httpd.conf: <IfModule !perchild.c> ScoreBoardFile logs/apache_runtime_status </IfModule> Looking at server/scoreboard.c, there's a comment: /* The shared memory file must not exist before we create the * segment. */ The scoreboard file has definitely been created at this point though -- I tried deleting it just before starting the server, and the crash still occurs, with a new scoreboard in logs/apache_runtime_status. If I comment out the 'ScoreBoardFile' directive, the server starts fine, and no scoreboard file is created (as expected). Info from my build: # cd /usr/local/apache2 # ./bin/httpd -V Server version: Apache/2.0.48 Server built: Feb 19 2004 11:07:53 Server's Module Magic Number: 20020903:4 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" # ./bin/httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_auth_digest.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c mod_ssl.c prefork.c http_core.c mod_mime.c mod_dav.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_dav_fs.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
