Hi,

On May 25, 2011, at 5:28 PM, duane.lar...@gmail.com wrote:

> I am trying to start up openxcap on a server that it used to work on without 
> issue. It starts up and then after 20 seconds or so it crashes. In syslog I 
> am seeing the following error 
> 
> 
> May 25 10:18:00 xcap01 openxcap[701]: Starting OpenXCAP 2.0.0 
> May 25 10:18:01 xcap01 openxcap[701]: using set_wakeup_fd 
> May 25 10:18:32 xcap01 openxcap[701]: fatal error: failed to create OpenXCAP 
> 2.0.0: Document is empty, line 1, column 1 
> May 25 10:18:32 xcap01 openxcap[701]: Traceback (most recent call last): 
> May 25 10:18:32 xcap01 openxcap[701]: File "/usr/bin/openxcap", line 64, in 
> <module> 
> May 25 10:18:32 xcap01 openxcap[701]: from xcap.server import XCAPServer 
> May 25 10:18:32 xcap01 openxcap[701]: File 
> "/usr/lib/pymodules/python2.6/xcap/server.py", line 20, in <module> 
> May 25 10:18:32 xcap01 openxcap[701]: from xcap import authentication 
> May 25 10:18:32 xcap01 openxcap[701]: File 
> "/usr/lib/pymodules/python2.6/xcap/authentication.py", line 28, in <module> 
> May 25 10:18:32 xcap01 openxcap[701]: from xcap.appusage import 
> getApplicationForURI, namespaces, public_get_applications 
> May 25 10:18:32 xcap01 openxcap[701]: File 
> "/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py", line 357, in 
> <module> 
> May 25 10:18:32 xcap01 openxcap[701]: XCAPDirectoryApplication.id: 
> XCAPDirectoryApplication(storage) 
> May 25 10:18:32 xcap01 openxcap[701]: File 
> "/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py", line 59, in 
> __init__ 
> May 25 10:18:32 xcap01 openxcap[701]: self.xml_schema = 
> etree.XMLSchema(xml_schema_doc) 
> May 25 10:18:32 xcap01 openxcap[701]: File "xmlschema.pxi", line 105, in 
> lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:128508) 
> May 25 10:18:32 xcap01 openxcap[701]: XMLSchemaParseError: Document is empty, 
> line 1, column

Looks like xcap-directory.xsd schema file lacks the initial XML document 
declaration. Can you add this at the top of that file (check the location with 
dpkg -L openxcap):

<?xml version="1.0" encoding="UTF-8"?>

Add it as the first line and please let me know if it worked for you.


Regards,

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to