On Sat, 27 Sep 2008 22:53:35 +0200
Tomasz Sterna <[EMAIL PROTECTED]> wrote:
> On sob, 2008-09-27 at 17:57 +0100, Luís Moreira wrote:
> > I have inserted a user into the database with the command
> >
> > insert into authreg (username, realm, password) values
> > ('myusername', 'somedomain.com', 'mypassword');
>
> Did you enable <auto-create/> option in sm.xml?
>
>
> > But I can't seem to login with my XMPP client software (I'm using
> > pidgin
> > and check the option to register with the server), it stays on
> > 'connecting' forever and doesn't go further nor does it spit out a
> > error message.
> >
> > The server seems to start just fine and no logs seem to exist (is
> > this normal?)
>
> This is not normal.
> You should se messages from starting components. You should also see a
> message about connecting client.
> Make sure that all required jabberd processes are reunning (at least
> router, c2s, sm), and double-check your logging configuration.
>
>
Hello.
Yes, I have <auto-create/> enabled in sm.xml.
Looks like the problem was that i didn't have <enable/> in the
registration field in c2s.xml.
The server now asks for the registration fields username and password
but when i give it this data I get a 'Registration Failed - 500:
Internal Server Error' message, both with an account that exists in the
database and with one that doesn't exist.
About the logs, this was a dumb mistake of me, I
said to jabberd2 to write the logs to /usr/var/log/jabberd/ but jabberd2
didn't have enough permissions to write there. I have logs now.
Any help will be appreciated.
Thanks,
Luís Moreira.
--
To unsubscribe send a mail to [EMAIL PROTECTED]