[OpenSIPS-Users] Unable to start openxcap server
Saúl Ibarra Corretgé
saul at ag-projects.com
Wed Jun 8 11:13:33 CEST 2011
Hi,
On Jun 8, 2011, at 10:25 AM, Nethra Chander wrote:
> 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.
>
The upcoming bugfix release should fix that. If you want to get latest code today you may install OpenXCAP from sources: http://openxcap.org/wiki/Installation#VersionControlRepository
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list