[icinga-users] XPointer error with icinga-web

Michael Friedrich michael.friedrich at gmail.com
Mon Jan 7 17:19:13 CET 2013


On 07.01.2013 17:08, James Pharaoh wrote:
> 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.

so my guess is that your auth.xml contains an error then, being included 
by the XInclude parser. did you modify that one?

try setting syntax on in vim, as well as verify that the xml format is 
correct. sometimes a missing bracket is the root if all evil.

>
> Any ideas?
>
> Thanks,
> James
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

mail:     michael.friedrich at gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmichi at jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org




More information about the icinga-users mailing list