[icinga-users] XPointer error with icinga-web

James Pharaoh james at phsys.co.uk
Mon Jan 7 17:08:01 CET 2013


2013/1/7 Michael Friedrich <michael.friedrich at gmail.com>:
> On 07.01.2013 14:36, James Pharaoh wrote:
>> I'm getting the following error when trying to run icinga-web:
>>
>> Error happened! Configuration file
>> "/zattikka/icinga-web-1.8.1/app/modules/AppKit/config/module.xml"
>> could not be parsed: Errors occurred while resolving XInclude
>> directives: [Error #1612] Line 102: XPointer evaluation failed:
>> #xpointer(//settings/setting[@name='defaults']/node()) [Error #1612]
>> Line 250: XPointer evaluation failed:
>> #xpointer(//settings/setting[@name='provider']/node()) [Error #1612]
>> Line 267: XPointer evaluation failed:
>> #xpointer(//settings/setting[@name='message']/node())
>
> content of that file at remarked line numbers?

Well that file only has 114 lines... But it contains the following:

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="auth.xml"/>

That file, auth.xml, does contain the following at line 102:

  <!-- Just including your configuration -->
  <xi:include
    xmlns:xi="http://www.w3.org/2001/XInclude"
    href="/zattikka/icinga-web-config/auth.xml"
    xpointer="xpointer(//settings/setting[@name='defaults']/node())">
    <xi:fallback></xi:fallback>
  </xi:include>

...and basically the same for the other two XPath expressions at their lines.

Any ideas?

Thanks,
James




More information about the icinga-users mailing list