Hi,<br><div class="gmail_quote"><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 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 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 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 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 3 10:11:49 [10721] ERROR:presence_xml:mod_init: Wrong version v-1 for table <xcap>, need v3</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);">Jul 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 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 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> select * from version where table_name="xcap" ;<br>+------------+---------------+<br>
| table_name | table_version |<br>+------------+---------------+<br>| xcap | 3 |<br>+------------+---------------+<br>1 row in set (0.00 sec)<br><br>mysql><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 <db name or db_path, optional> .....(creates a new database)<br> openserdbctl drop <db name or db_path, optional> .......(!entirely deletes tables!)<br> openserdbctl reinit <db name or db_path, optional> .....(!entirely deletes and than re-creates tables!)<br>
openserdbctl backup <file> .................................(dumps current database to file)<br> openserdbctl restore <file> ................................(restores tables from a file)<br> openserdbctl copy <new_db> .................................(creates a new db from an existing one)<br>
openserdbctl migrate <old_db> <new_db>
.....................(migrates DB from 1.2 to 1.3, not implemented yet!)<br> openserdbctl presence ......................................(adds the presence related tables)<br> openserdbctl extra .........................................(adds the extra tables)<br>
openserdbctl serweb ........................................(adds the SERWEB specific tables)<br></i><br style="color: rgb(0, 0, 153);"><br>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 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>
<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>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.....<br><font color="#888888"><br>
-- <br>
Thanks & Regards,<br><br>Noble Antony Thattil.
</font></div>