That was missing from the file on the first line, but it still crashes.  Here is what it looks like now
<br />
<br />/usr/share/pyshared/xcap/appusage/xml-schemas/xcap-directory.xsd
<br />
<br />
<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
<br />&lt;xs:schema targetNamespace=&quot;urn:oma:xml:xdm:xcap-directory&quot;
<br />    xmlns=&quot;urn:oma:xml:xdm:xcap-directory&quot;
<br />    xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;
<br />    elementFormDefault=&quot;qualified&quot; attributeFormDefault=&quot;unqualified&quot;&gt;
<br />
<br />    &lt;xs:import namespace=&quot;http://www.w3.org/XML/1998/namespace&quot;
<br />               schemaLocation=&quot;http://www.w3.org/2001/xml.xsd&quot;/&gt;
<br />
<br />&lt;xs:element name=&quot;xcap-directory&quot;&gt;
<br />   &lt;xs:complexType&gt;
<br />     &lt;xs:sequence minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
<br />       &lt;xs:element name=&quot;folder&quot;&gt;
<br />          &lt;xs:complexType&gt;
<br />            &lt;xs:choice&gt;
<br />             &lt;xs:sequence minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
<br />               &lt;xs:element name=&quot;entry&quot;&gt;
<br />                 &lt;xs:complexType&gt;
<br />                   &lt;xs:attribute name=&quot;uri&quot; type=&quot;xs:anyURI&quot; use=&quot;required&quot;/&gt;
<br />                   &lt;xs:attribute name=&quot;etag&quot; type=&quot;xs:string&quot; use=&quot;required&quot;/&gt;
<br />                   &lt;xs:attribute name=&quot;last-modified&quot; type=&quot;xs:dateTime&quot;/&gt;
<br />                   &lt;xs:attribute name=&quot;size&quot; type=&quot;xs:nonNegativeInteger&quot;/&gt;
<br />                   &lt;xs:anyAttribute processContents=&quot;lax&quot;/&gt;
<br />                  &lt;/xs:complexType&gt;
<br />                 &lt;/xs:element&gt;
<br />               &lt;/xs:sequence&gt;
<br />               &lt;xs:element name=&quot;error-code&quot; type=&quot;xs:string&quot;/&gt;
<br />              &lt;/xs:choice&gt;
<br />              &lt;xs:attribute name=&quot;auid&quot; type=&quot;xs:string&quot; use=&quot;required&quot;/&gt;
<br />             &lt;/xs:complexType&gt;
<br />            &lt;/xs:element&gt;
<br />          &lt;/xs:sequence&gt;
<br />        &lt;/xs:complexType&gt;
<br />    &lt;/xs:element&gt;
<br />&lt;/xs:schema&gt;
<br />
<br />
<br />
<br />
<br />
<br />And here is what the syslog says when it crashes.
<br />
<br />Jun  5 18:58:15 xcap01 openxcap[5705]: fatal error: failed to create OpenXCAP 2.0.0: Document is empty, line 1, column 1
<br />Jun  5 18:58:15 xcap01 openxcap[5705]: Traceback (most recent call last):
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;/usr/bin/openxcap&quot;, line 64, in &lt;module&gt;
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:     from xcap.server import XCAPServer
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;/usr/lib/pymodules/python2.6/xcap/server.py&quot;, line 20, in &lt;module&gt;
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:     from xcap import authentication
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;/usr/lib/pymodules/python2.6/xcap/authentication.py&quot;, line 28, in &lt;module&gt;
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:     from xcap.appusage import getApplicationForURI, namespaces, public_get_applications
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py&quot;, line 357, in &lt;module&gt;
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:     XCAPDirectoryApplication.id:        XCAPDirectoryApplication(storage)
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py&quot;, line 59, in __init__
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:     self.xml_schema = etree.XMLSchema(xml_schema_doc)
<br />Jun  5 18:58:15 xcap01 openxcap[5705]:   File &quot;xmlschema.pxi&quot;, line 105, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:128508)
<br />Jun  5 18:58:15 xcap01 openxcap[5705]: XMLSchemaParseError: Document is empty, line 1, column 1
<br />
<br />
<br />
<br />
<br />On Jun 3, 2011 5:33am, Saúl Ibarra Corretgé &lt;saul@ag-projects.com&gt; wrote:
<br />&gt; Hi,
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On May 25, 2011, at 5:28 PM, duane.larson@gmail.com wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; 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
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; &gt;
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:00 xcap01 openxcap[701]: Starting OpenXCAP 2.0.0
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:01 xcap01 openxcap[701]: using set_wakeup_fd
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: fatal error: failed to create OpenXCAP 2.0.0: Document is empty, line 1, column 1
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: Traceback (most recent call last):
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;/usr/bin/openxcap&quot;, line 64, in 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: from xcap.server import XCAPServer
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;/usr/lib/pymodules/python2.6/xcap/server.py&quot;, line 20, in 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: from xcap import authentication
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;/usr/lib/pymodules/python2.6/xcap/authentication.py&quot;, line 28, in 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: from xcap.appusage import getApplicationForURI, namespaces, public_get_applications
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py&quot;, line 357, in 
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: XCAPDirectoryApplication.id: XCAPDirectoryApplication(storage)
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;/usr/lib/pymodules/python2.6/xcap/appusage/__init__.py&quot;, line 59, in __init__
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: self.xml_schema = etree.XMLSchema(xml_schema_doc)
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: File &quot;xmlschema.pxi&quot;, line 105, in lxml.etree.XMLSchema.__init__ (src/lxml/lxml.etree.c:128508)
<br />&gt; 
<br />&gt; 
<br />&gt; &gt; May 25 10:18:32 xcap01 openxcap[701]: XMLSchemaParseError: Document is empty, line 1, column
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 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):
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Add it as the first line and please let me know if it worked for you.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Regards,
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; --
<br />&gt; 
<br />&gt; 
<br />&gt; Saúl Ibarra Corretgé
<br />&gt; 
<br />&gt; 
<br />&gt; AG Projects
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; _______________________________________________
<br />&gt; 
<br />&gt; 
<br />&gt; Users mailing list
<br />&gt; 
<br />&gt; 
<br />&gt; Users@lists.opensips.org
<br />&gt; 
<br />&gt; 
<br />&gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />&gt; 
<br />&gt; 
<br />&gt;