Re: sm/router: XML parser error

2013-10-31 Thread Justin T Pryzby
On Wed, Oct 30, 2013 at 07:34:46PM +0100, Tomasz Sterna wrote:
> Dnia 2013-10-30, śro o godzinie 10:28 -0700, Justin T Pryzby pisze:
> > Thanks, I got a debug log by specifying a  path in router.xml,
> > but it doesn't say "XML parser error"; am I missing something from
> > stderr that doesn't make it to the logfile?
> 
> This is logged in the normal, not debug log.
> Check standard log to see when that happens and send me few screens of
> debug log before that happened.
> It should help me debug and fix your issue.

Sorry, I don't think I understood your message until now; the string
"XML parser error" goes to logfile, but the XML itself goes to the
error.log.

Anyway, it seems we're dealing with two problems.  One which only
happened once, which threw the XML error and broke jabber for ~30
minutes, including on a 2nd machine with the same config, which nobody
but myself attempted connecting to.  I'm currently unable to reproduce
that problem.

And two, which has happened for the last several weeks, and continues
to happen every day or so (happened again this morning), which has
always been resolved by restarting SM, and does not throw an XML
error.  Perhaps they have the same root cause, not sure.  Do you have
any advice how to track down this 2nd type of problem?

Thanks,
Justin




Re: [PATCH] Implement hashed passwords for SQLite3 storage

2013-10-31 Thread Sergio Durigan Junior
On Thursday, October 31 2013, Tomasz Sterna wrote:

>> Eventually, I intend to start working on the libdbi integration (see
>> ).  Is anyone else
>> working on this?  Maybe we could join efforts :-).
>
> Noone that I know of.
> It should be fairly easy to do basing on one of the existing backends.

Nice.  If you wouldn't mind, I actually plan to do lots of cleanups on
the code.  A quick inspection made me think that it needs an overhaul
:-).

I'll set up a git repo and publish here, so if anyone is interested
it'll be possible to follow the development.

Thanks!

-- 
Sergio




Re: [PATCH] Implement hashed passwords for SQLite3 storage

2013-10-31 Thread Tomasz Sterna
Dnia 2013-10-30, śro o godzinie 16:36 -0200, Sergio Durigan Junior
pisze:
> Wow, that was fast!  Thanks a lot :-).

Thank _you_. :-)


> Eventually, I intend to start working on the libdbi integration (see
> ).  Is anyone else
> working on this?  Maybe we could join efforts :-).

Noone that I know of.
It should be fairly easy to do basing on one of the existing backends.


-- 
Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/