Hi,
I have compiled the Openser with RLS module in my desktop, and it seems
installation went fine...
But when I try to start the openser, I am getting the following error.....
*
Jul 3 10:11:49 [10721] ERROR:core:table_version: invalid type (2) or nul
(0) version columns for xcap
Jul 3 10:11:49 [10721] DBG:core:db_free_rows: freeing 1 rows
Jul 3 10:11:49 [10721] DBG:core:db_free_rows: row[0]=0x815d530
Jul 3 10:11:49 [10721] DBG:core:db_free_rows: 0x815d530=pkg_free() RES_ROWS
Jul 3 10:11:49 [10721] ERROR:presence_xml:mod_init: Wrong version v-1 for
table <xcap>, need v3
Jul 3 10:11:49 [10721] ERROR:core:init_mod: failed to initialize module
presence_xml
Jul 3 10:11:49 [10721] ERROR:core:main: error while initializing modules
Jul 3 10:11:49 [10721] DBG:rls:destroy: start*
But my MySQL shows, the version of XCAP as
*mysql> select * from version where table_name="xcap" ;
+------------+---------------+
| table_name | table_version |
+------------+---------------+
| xcap | 3 |
+------------+---------------+
1 row in set (0.00 sec)
mysql>
*
Though the version information is present for the xcap table, this error is
coming.
I have created the database using the following
*
stinbng46:/home/nthattil/tmp/src_openser_install#
/usr/local/sbin/openserdbctl
/usr/local/sbin/openserdbctl $Revision: 3540 $
usage: openserdbctl create <db name or db_path, optional> .....(creates a
new database)
openserdbctl drop <db name or db_path, optional> .......(!entirely
deletes tables!)
openserdbctl reinit <db name or db_path, optional> .....(!entirely
deletes and than re-creates tables!)
openserdbctl backup <file> .................................(dumps
current database to file)
openserdbctl restore <file> ................................(restores
tables from a file)
openserdbctl copy <new_db> .................................(creates
a new db from an existing one)
openserdbctl migrate <old_db> <new_db> .....................(migrates
DB from 1.2 to 1.3, not implemented yet!)
openserdbctl presence ......................................(adds the
presence related tables)
openserdbctl extra .........................................(adds the
extra tables)
openserdbctl serweb ........................................(adds the
SERWEB specific tables)
*
The Version of Openser I used is
*stinbng46:/home/nthattil/tmp/src_openser_install# /usr/local/sbin/openser
-V
version: openser 1.3.2-notls (i386/linux)
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
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 3590 2008-01-28 17:46:56Z bogdan_iancu $
main.c compiled on 03:33:43 Jul 3 2008 with gcc 4.2.3
*I downloaded the entire source-code from the location below
*
http://www.openser.org/pub/openser/latest/src/openser-1.3.2-notls_src.tar.gz
*
I wanted to use the integrated XCAP server, which will use the mysql
database for itself, instead of HTTP protocol.
My Configuration file, I am including along with this mail... also the
Openser Log file....
*Somebody please help me....... *Please point out, if something I am missing
to configure.....
--
Thanks & Regards,
Noble Antony Thattil.