[OpenSIPS-Users] Unable to start openxcap server

Nethra Chander netchander at gmail.com
Wed Jun 8 10:25:19 CEST 2011


Hello all,
I am having issues while starting openxcap server

The syslog reports:

Jun  8 06:41:02 ip-10-56-65-60 openxcap[14219]: Starting OpenXCAP 2.0.0
Jun  8 06:41:02 ip-10-56-65-60 openxcap[14219]: using set_wakeup_fd
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]: fatal error: failed to
create OpenXCAP 2.0.0: Document is empty, line 1, column 1
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]: Traceback (most recent call
last):
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File
"/usr/local/bin/openxcap", line 64, in <module>
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:     from xcap.server import
XCAPServer
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File
"/usr/local/lib/python2.6/dist-packages/xcap/server.py", line 20, in
<module>
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:     from xcap import
authentication
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File
"/usr/local/lib/python2.6/dist-packages/xcap/authentication.py", line 28, in
<module>
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:     from xcap.appusage
import getApplicationForURI, namespaces, public_get_applications
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File
"/usr/local/lib/python2.6/dist-packages/xcap/appusage/__init__.py", line
357, in <module>
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:
XCAPDirectoryApplication.id:        XCAPDirectoryApplication(storage)
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File
"/usr/local/lib/python2.6/dist-packages/xcap/appusage/__init__.py", line 59,
in __init__
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:     self.xml_schema =
etree.XMLSchema(xml_schema_doc)
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]:   File "xmlschema.pxi", line
103, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:117017)
Jun  8 06:41:32 ip-10-56-65-60 openxcap[14219]: XMLSchemaParseError:
Document is empty, line 1, column 1

I have modified the xcap-directory.xsd file to point to the schema location
from the local file.

<?xml version="1.0" encoding="UTF-8"?> line is also included in the
xcap-directory.xsd file

Appreciate all assistance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110608/0248b41a/attachment-0001.htm>


More information about the Users mailing list