Re: failed to initialize auth module 'db'

2013-07-20 Thread Tomasz Sterna
Dnia 2013-07-19, pią o godzinie 16:39 -0700, Lev Stesin pisze:
 Also, where do I find a list of supported features and the extent of
 XMPP supported provided by jabberd2?

https://github.com/jabberd2/jabberd2/blob/master/README.protocol


-- 
Tomasz Sterna:(){ :|:};:
Instant Messaging ConsultantOpen Source Developer 
http://abadcafe.pl/   http://www.xiaoka.com/portfolio





Re: failed to initialize auth module 'db'

2013-07-19 Thread Lev Stesin
Thanks. Also, where do I find a list of supported features and the extent
of XMPP supported provided by jabberd2? Thanks.

Lev.


On Fri, Jul 19, 2013 at 1:59 AM, Tomasz Sterna to...@xiaoka.com wrote:

 Dnia 2013-07-18, czw o godzinie 10:56 -0700, Lev Stesin pisze:
  Any additional conf work needs to be done to bring sqlite up?

 You need to create database file and initialize it with tables.

 sqlite3 yourdb  tools/db-setup.sqlite

 https://github.com/jabberd2/jabberd2/blob/master/tools/db-setup.sqlite






-- 
Lev


Re: failed to initialize auth module 'db'

2013-07-18 Thread Lev Stesin
Tomasz,

Thanks for the heads up regarding BDB. After switching to sqlite I am
getting this:

Thu Jul 18 10:41:15 2013 [notice] starting up
Thu Jul 18 10:41:15 2013 [info] process id is 22680, written to
/usr/local/var/jabberd/pid/c2s.pid
Thu Jul 18 10:41:15 2013 [notice] modules search path:
/usr/local/lib/jabberd
Thu Jul 18 10:41:15 2013 [info] loading 'sqlite' authreg module
Thu Jul 18 10:41:15 2013 authreg.c:73 preloaded module 'sqlite' (not
initialized yet)
Thu Jul 18 10:41:15 2013 authreg_sqlite.c:291 sqlite (authreg): start init
Thu Jul 18 10:41:15 2013 [error] sqlite (authreg): can't open database.
Thu Jul 18 10:41:15 2013 [error] failed to initialize auth module 'sqlite'

Any additional conf work needs to be done to bring sqlite up? Thanks.

Lev.


On Wed, Jul 17, 2013 at 11:46 PM, Tomasz Sterna to...@xiaoka.com wrote:

 Dnia 2013-07-17, śro o godzinie 16:58 -0700, Lev Stesin pisze:
  Wed Jul 17 16:57:25 2013 [info] loading 'db' authreg module
  Wed Jul 17 16:57:25 2013 authreg.c:73 preloaded module 'db' (not
  initialized yet)
  Wed Jul 17 16:57:25 2013 [error] db: couldn't open environment: No
  such file or directory
  Wed Jul 17 16:57:25 2013 [error] failed to initialize auth module 'db'

 I would advise you to use a maintained SQLite storage module.

 BerkeleyDB module is old and I'm not even sure whether it still works
 correctly.



 --
 Tomasz Sterna:(){ :|:};:
 Instant Messaging ConsultantOpen Source Developer
 http://abadcafe.pl/   http://www.xiaoka.com/portfolio






-- 
Lev