<br><div class="gmail_quote"><br>Hi,<br><div class="gmail_quote"><div class="gmail_quote"><div><div></div><div><br>I have compiled the Openser with RLS module in my desktop, and it seems installation went fine...<br><br>But when I try to start the openser, I am getting the following error.....<br>

<i style="font-family: courier new,monospace;"><br style="color: rgb(51, 0, 51);" clear="all">

<span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] ERROR:core:table_version: invalid type (2) or nul (0) version columns for xcap</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] DBG:core:db_free_rows: freeing 1 rows</span><br style="color: rgb(153, 0, 0);">



<span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] DBG:core:db_free_rows: row[0]=0x815d530</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] DBG:core:db_free_rows: 0x815d530=pkg_free() RES_ROWS</span><br style="color: rgb(153, 0, 0);">



<span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] ERROR:presence_xml:mod_init: Wrong version v-1 for table &lt;xcap&gt;, need v3</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] ERROR:core:init_mod: failed to initialize module presence_xml</span><br style="color: rgb(153, 0, 0);">



<span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] ERROR:core:main: error while initializing modules</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">Jul&nbsp; 3 10:11:49 [10721] DBG:rls:destroy: start</span></i><br>



<br>But my MySQL shows, the version of XCAP as<br><br><i style="color: rgb(153, 0, 0); font-family: courier new,monospace;">mysql&gt; select * from version where table_name=&quot;xcap&quot; ;<br>+------------+---------------+<br>



| table_name | table_version |<br>+------------+---------------+<br>| xcap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 |<br>+------------+---------------+<br>1 row in set (0.00 sec)<br><br>mysql&gt;<br></i><br>Though the version information is present for the xcap table, this error is coming.<br>



<br>I have created the database using the following <br><i style="font-family: courier new,monospace; color: rgb(0, 0, 153);"><br>stinbng46:/home/nthattil/tmp/src_openser_install# /usr/local/sbin/openserdbctl<br>/usr/local/sbin/openserdbctl $Revision: 3540 $<br>



<br>usage: openserdbctl create &lt;db name or db_path, optional&gt; .....(creates a new database)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl drop &lt;db name or db_path, optional&gt; .......(!entirely deletes tables!)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl reinit &lt;db name or db_path, optional&gt; .....(!entirely deletes and than re-creates tables!)<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl backup &lt;file&gt; .................................(dumps current database to file)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl restore &lt;file&gt; ................................(restores tables from a file)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl copy &lt;new_db&gt; .................................(creates a new db from an existing one)<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
openserdbctl migrate &lt;old_db&gt; &lt;new_db&gt;
.....................(migrates DB from 1.2 to 1.3, not implemented yet!)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl presence ......................................(adds the presence related tables)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl extra .........................................(adds the extra tables)<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openserdbctl serweb ........................................(adds the SERWEB specific tables)<br></i><br style="color: rgb(0, 0, 153);"><br></div></div><div>The Version of Openser I used is <br>
<br><i style="color: rgb(0, 0, 153);"><span style="font-family: courier new,monospace;">stinbng46:/home/nthattil/tmp/src_openser_install# /usr/local/sbin/openser -V</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">version: openser 1.3.2-notls (i386/linux)</span><br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</span><br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</span><br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">svnrevision: unknown</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">@(#) $Id: main.c 3590 2008-01-28 17:46:56Z bogdan_iancu $</span><br style="font-family: courier new,monospace;">



<span style="font-family: courier new,monospace;">main.c compiled on 03:33:43 Jul&nbsp; 3 2008 with gcc 4.2.3</span><br style="font-family: courier new,monospace;"><br></i>I downloaded the entire source-code from the location below <br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i style="font-family: courier new,monospace; color: rgb(153, 0, 0);"><b><a href="http://www.openser.org/pub/openser/latest/src/openser-1.3.2-notls_src.tar.gz" target="_blank">http://www.openser.org/pub/openser/latest/src/openser-1.3.2-notls_src.tar.gz</a></b></i><br>



<br><br>I wanted to use the integrated XCAP server, which will use the mysql database for itself, instead of HTTP protocol.<br><br></div>My Configuration file, I am including along with this mail... also the Openser Log file....<br>



<br><font size="2"><b><span style="color: rgb(0, 0, 153); font-family: courier new,monospace;">Somebody please help me....... </span></b></font>Please point out, if something I am missing to configure.....</div></div></div>
<br clear="all"><br>-- <br>Thanks &amp; Regards,<br><br>Noble Antony Thattil.