Hi, <br><br>Thanks for your Reply,<br><br>I tried at least 3 times deleting &amp; recreating the Database... always I was getting this issue.<br><br>What I observed is, the version table Query returns the data-type of
the Version as DB_STRING (2), where as, it should have been DB_INT, so
the function <i><b>table_version() </b></i>is returning as -1.<br><br>But the value returned by the Query (String value) is correct.. (except that the data-type.)<br><br>Database shows the correct type for the column.... <br>
<br><span style="font-family: courier new,monospace;">mysql&gt; desc version ;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+---------------+------------------+------+-----+---------+-------+</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Null | Key | Default | Extra |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+---------------+------------------+------+-----+---------+-------+</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| table_name&nbsp;&nbsp;&nbsp; | varchar(32)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NO&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| table_version | int(10) unsigned | NO&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; | 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">+---------------+------------------+------+-----+---------+-------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">2 rows in set (0.00 sec)</span><br style="font-family: courier new,monospace;">
<br><br>I locally changed so that it returns the correct value, in INTEGER.<br><br>Also this <i><b>table_version</b></i> function always finds the result as DB_STRING, it is not only for the <i><b>xcap</b></i> table, but for all the tables... <br>
<br>-- <br>Thanks &amp; Regards,<br>Noble Antony Thattil.
<br><br><div class="gmail_quote">On Fri, Jul 4, 2008 at 2:53 PM, Henning Westerholt &lt;<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday 04 July 2008, Noble Antony T wrote:<br>
&gt; I have compiled the Openser with RLS module in my desktop, and it seems<br>
&gt; installation went fine...<br>
&gt;<br>
&gt; But when I try to start the openser, I am getting the following error.....<br>
&gt; *<br>
&gt; Jul &nbsp;3 10:11:49 [10721] ERROR:core:table_version: invalid type (2) or nul<br>
&gt; (0) version columns for xcap<br>
&gt; Jul &nbsp;3 10:11:49 [10721] DBG:core:db_free_rows: freeing 1 rows<br>
&gt; Jul &nbsp;3 10:11:49 [10721] DBG:core:db_free_rows: row[0]=0x815d530<br>
&gt; Jul &nbsp;3 10:11:49 [10721] DBG:core:db_free_rows: 0x815d530=pkg_free()<br>
&gt; RES_ROWS Jul &nbsp;3 10:11:49 [10721] ERROR:presence_xml:mod_init: Wrong version<br>
&gt; v-1 for table &lt;xcap&gt;, need v3<br>
&gt; Jul &nbsp;3 10:11:49 [10721] ERROR:core:init_mod: failed to initialize module<br>
&gt; presence_xml<br>
&gt; Jul &nbsp;3 10:11:49 [10721] ERROR:core:main: error while initializing modules<br>
&gt; Jul &nbsp;3 10:11:49 [10721] DBG:rls:destroy: start*<br>
&gt;<br>
&gt; But my MySQL shows, the version of XCAP as<br>
&gt;<br>
&gt; *mysql&gt; select * from version where table_name=&quot;xcap&quot; ;<br>
</div>&gt; | xcap &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3 |<br>
<div class="Ih2E3d">&gt;<br>
&gt; Though the version information is present for the xcap table, this error is<br>
&gt; coming.<br>
<br>
</div>Hi Noble Antony,<br>
<br>
i&#39;ve tried to reproduce your problem with the 1.3 branch of openser. On my<br>
system i don&#39;t observe the error you&#39;ve described. It seems that there<br>
happens an error during the version table query (first log statement). Does<br>
this happens all the time? Have you tried to install the DB again?<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br><br>