Received: (qmail 4961 invoked by uid 501); 30 Apr 2001 22:20:11 -0000 Message-Id: <20010430222011.4958.qmail@apache.org> Date: 30 Apr 2001 22:20:11 -0000 From: Anton Ivanov Reply-To: ai@ispheres.com To: submit@bugz.apache.org Subject: Apache/JServ fails to start intermittently with a fatal error X-Send-Pr-Version: 3.110 >Number: 7660 >Category: mod_jserv >Synopsis: Apache/JServ fails to start intermittently with a fatal error >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 30 15:30:01 PDT 2001 >Closed-Date: >Last-Modified: Tue May 01 11:28:39 PDT 2001 >Originator: ai@ispheres.com >Release: 1.3.9 >Organization: >Environment: HP-UX 11.00 on 9000/800. Compiled with gcc 2.95.2. JServ version 1.1.2, jdk 1.3 from HP >Description: Apache/JServ fail to start intermittently with the error message: [Wed Apr 25 16:25:38 2001] [crit] Apache JServ encountered a fatal error; check your ApJServLogFile for details if none are present in this file. Exiting. However, the file designated by the ApJServLogFile directive does not contain anything. (I built it with --disable-debugging, but wouldn't fatal errors show up?) I noticed that the problem will occur several times in a row, and then things will work several times in a row. "Working" means apache started and the JServ status URL worked. However, whenever the server "worked", the following line would appear in the log file: [Mon Apr 30 14:45:39 2001] [error] (22)Invalid argument: shmctl() could not set segment #3204 I tried truss'ing the httpd process when it failed to start, but didn't spot anything out-of-the ordinary. >How-To-Repeat: build apache on HP-UX 11.00 with ./configure --prefix=... --enable-shared=max and JServ with ./configure \ --prefix=... \ --with-apxs=... \ --with-jdk-home=... \ --with-JSDK= \ --disable-debugging and restart apache a dozen times. >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: apache-jserv Responsible-Changed-By: marc Responsible-Changed-When: Tue May 1 11:28:39 PDT 2001 Responsible-Changed-Why: jserv Category-Changed-From-To: general-mod_jserv Category-Changed-By: marc Category-Changed-When: Tue May 1 11:28:39 PDT 2001 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]