[OPEN-ILS-DEV] Apache error

Duimovich, George George.Duimovich at NRCan-RNCan.gc.ca
Wed Jan 21 13:28:09 EST 2009


Thanks Dan,

I get  "Module deflate already disabled" and followed other steps just
as well, but no changes. Same errors in error.log.

Sorry, we don't have a public page to point to yet, but interesting that
I get almost there with the /fr-CA/ default page - instead of error
page, my browser displays outline of start page but then in view source
you can see error at this section in the HTML code (in <div
id='canvas_main' section):

-----------
	<script language='javascript' type='text/javascript'>
		config.ids.searchbar = {};
		config.css.searchbar = {};
		config.ids.searchbar.text
= 'search_box';	
		config.ids.searchbar.submit			=
'search_submit';	
		config.ids.searchbar.type_selector	=
'search_type_selector';
		config.ids.searchbar.depth_selector	=
'depth_selector';
		config.ids.searchbar.form_selector	=
'form_selector';
		config.ids.searchbar.extra_row		=
'searchbar_extra';
		config.ids.searchbar.main_row			=
'searchbar_main_row';
		config.ids.searchbar.table
= 'searchbar_table';
		config.ids.searchbar.location_tag	=
'search_location_tag_link';
		config.ids.searchbar.lib_sel_span	=
'lib_selector_span';
		config.ids.searchbar.lib_sel_link	=
'lib_selector_link';
		config.ids.searchbar.depth_sel_span	=
'depth_selector_span';<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
-----------

But same error response (as below) when I try the /en-CA/ as with
/en-US/

George

-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan
Scott
Sent: January 21, 2009 12:59 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Apache error

Hi George:

2009/1/21 Duimovich, George <George.Duimovich at nrcan-rncan.gc.ca>:
> I couldn't find any reference to this but wonder if anybody has any 
> thoughts on how to fix.
>
> Running ver 1.4RC2
>
> Call up the default search screen and get this Error message: "OK The 
> server encountered an internal error or misconfiguration and was 
> unable to complete your request. " etc.
>
> Some observations
> - Apache is running ok, able to confirm with other local site
(vuFind).
> - settings-tester.pl reports all is ok
> - some apache error.log snips below
>
> Snips from error.log
> ---------------------------
> [Wed Jan 21 11:51:13 2009] [error] [client <my ip removed> ] XMLENT 
> XML Parse Error: syntax error at line 1: parsing
> /openils/var/web/opac/skin/default/xml/index.xml: data [an error 
> occurred while processing this directive]
>
> ...
> [Wed Jan 21 11:51:13 2009] [debug] core.c(3748): [client <my ip 
> removed> ] (500)Unknown error 500: default_handler: ap_pass_brigade 
> returned 500
>
> ...
> [Wed Jan 21 11:51:14 2009] [error] [client <my ip removed> ] XMLENT 
> XML Parse Error: mismatched tag at line 1108: parsing
> /openils/var/web/opac/skin/default/xml/home/index_body.xml: data 
> \n</body>\n\n\n
>
> ---------------------------
>
> I have not made any modifications to index.xml & index_body.xml, etc.

This kind of error usually means that an entity is missing from
/openils/var/web/opac/locale/<LOCALE>/opac.dtd

If you're looking at the en-US OPAC, then there should be no missing
entities. One tricky source of errors is that when mod_deflate is
enabled, files like the DTD file can be gzip-compressed but mod_xmlent
doesn't know how to decompress the file before substituting the
entities. So I would start by trying to disable mod_deflate, then
force-reload Apache and try again:

As root:

a2dismod deflate
/etc/init.d/apache2 force-reload

You may also need to clear your browser cache.

--
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list