Received: (qmail 43501 invoked by uid 501); 1 Dec 2000 16:26:53 -0000 Message-Id: <20001201162653.43500.qmail@locus.apache.org> Date: 1 Dec 2000 16:26:53 -0000 From: Gabor Gombas Reply-To: gombasg@inf.elte.hu To: submit@bugz.apache.org Subject: Apache cannot parse it's configuration file properly X-Send-Pr-Version: 3.110 >Number: 6919 >Category: os-aix >Synopsis: Apache cannot parse it's configuration file properly >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Dec 01 08:30:00 PST 2000 >Closed-Date: Fri Dec 01 13:19:39 PST 2000 >Last-Modified: Fri Dec 01 13:19:39 PST 2000 >Originator: gombasg@inf.elte.hu >Release: 1.3.14 >Organization: >Environment: uname -a: AIX pandora 3 4 0042768A4C00 OS maintenance level: 4330-06 Compiler: C for AIX 4.4 >Description: When trying to start apache, it gives the following error message: Expected but saw >How-To-Repeat: >Fix: --- src/main/http_core.c.orig Thu Nov 30 01:06:56 2000 +++ src/main/http_core.c Fri Dec 1 17:13:39 2000 @@ -1409,7 +1409,12 @@ * it's been set up so that checking for two pointers to the same datum * is valid here. And faster. */ + /* Add to the above: and does not work on AIX. */ +#ifndef _AIX if (cmd->cmd->name != cmd->end_token) { +#else + if (strcmp(cmd->cmd->name, cmd->end_token)) { +#endif return ap_pstrcat(cmd->pool, "Expected ", cmd->end_token, " but saw ", cmd->cmd->name, NULL); } >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: ake State-Changed-When: Fri Dec 1 13:19:39 PST 2000 State-Changed-Why: If you search the bug database you will see this problem is well know. It is due to a bug in the compiler, not Apache. You should update your compiler with the latest fixes, try http://service.software.ibm.com/support/rs6000 or call service if you don't have them. PR 2312 lists the PTF's required but you should check that this list is valid for the level of compiler you are running. >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! ]