Re: Jabber died

[email protected] Mon, 11 May 2009 11:31:19 +0100 (BST)
Newsgroups gmane.network.jabber.admin
Message-ID <[email protected]>
I've done and correcting this stuff for lots of times already. I wonder if
this is jabber 1.x or jabberd 2.x but i suppose this is the latter one. to
solve that thing, just create a sh script and it will be as stable as
ever.

> Aha, you are correct, it cannot connect to the database (Karim) due to it
> starting before the DB (demule), it seams to be ok now, however, this
> FreeBSD system is a challenge to find where the start up scripts for mysql
> and jabber are, they are not in /etc/rc.local like I expected.
>
> Thank you for your assistance and time
>
> Chris
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf
> Of [email protected]
> Sent: 11 May 2009 10:26
> To: [email protected]
> Subject: Re: [jadmin] Jabber died
>
> I remember this situation before. On the start up script, both the jabberd
> daemon as well as the mysql server were loading up. There is a simple
> trick with this thing. Just let mysql server run first and create some
> time delay. Once done, time for the jabberd to load itself. A simple sh
> script will make this work. This is just very plain simple thing.
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> Hello Chris,
>>
>>
>>> Yes it seams fine, I connected in and did some select statements, all
>>> users
>>> are still there. That being said, I do not get a "cannot login message"
>>> with
>>> pandion, it just cannot connect, so it's not running (so not
>>> listening).
>>
>> Your problem is that your jabberd cannot connect to the database, as
>> clearly stated in the logfile :
>>
>>> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
>> database failed: Can't connect to local MySQL server through socket
>> '/tmp/mysql.sock' (2)
>>> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
>> database failed: Can't connect to local MySQL server through socket
>> '/tmp/mysql.sock' (2)
>>
>>
>> This is the problem. You need to find out why this is happening.
>> Wrong permissions on /tmp/mysql.sock maybe?
>>
>> Good luck,
>> Karim
>>
>>
>>
>>
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iQIcBAEBCgAGBQJKB+zEAAoJEKX6AibVDljRXV4QAPVLOFQgeYTPyV6kOc6iTQe+
>> xg/DxEP/a5wp/e8vFduryFCHMk0rmv687S4hf4CBrfBuJ1xZX7VOeIWM58NDy31O
>> yblUBEjddedJ4eS3NCXcxRC0l77L3heF8BABWiGw2ZFb44RwfFnegwhYgWBISGAp
>> B0lwgnX0s/TfCYZsklyB5N8NVkYaeN/IPPc6w/FBwtWPG5OByocD5aEjeySNTRQw
>> k91AAzr/1Ji6/Z7KUuhQ4teRBawKS8sp7OHkD3rF98tEk7JWex3RQ7OgVYpdZyRj
>> nXY3AVHAQRUDO/7CbkArAdssQyYwK35gtu/4cW18Wzznx0yUdcgdngQXev35gYbg
>> D54eOzFh8RH1sb2+kDidTv+mzvIlHkvqtkxFmyw+zaOfYN+ZrKLznQHWdbd0Hx4B
>> wCR5piYU3OxfNZz2KK02rhhJxrDNhSnzzqQJjLnQLnHMxJCq5MFo9IrQ4j8qz72a
>> 4N1ioi5MivSYKuEtSL2afCZr5hOqOI7GJdfDdHGXH8Hy3lzdkJFBuJQwypHamAcs
>> o4XVtDOj9EXjozpTMx+dM58r8qYWta4JjvgDNLCLEmiGZMWLsbdgFNCw7JgXiaCD
>> 2jmytEcvh3f+ZHdWv8lJHPHGXc7v3JPOqVApIKt1kDDM+eIswHMFPCc7wOsmdQua
>> i7ALr6do/FsOBQZvRnRT
>> =RH0n
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> JAdmin mailing list
>> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
>> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
>> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>> Unsubscribe: [email protected]
>> _______________________________________________
>>
>
>
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: [email protected]
> _______________________________________________
>
>


_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: [email protected]
_______________________________________________