Author Topic: Jabber Server Flakey  (Read 3224 times)

michele

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
    • Casa Bastiano
Re: Jabber Server Flakey
« Reply #15 on: December 07, 2009, 11:01:50 am »
after last update (1.3.10) i have exactly the same problem: with or without ssl i can't connect to jabber server that worked perfectly during last 3 months.
Meteo Radio & Blog
@ Casa Bastiano
www.casabastiano.com

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Jabber Server Flakey
« Reply #16 on: December 07, 2009, 02:10:37 pm »
Hi michele,

When you say the jabber server were working during the last 3 months. Which version of ebox-jabber were you using? 1.3.9?

It would be also nice to know the version of jabberd2 installed on your system (execute apt-cache policy jabberd2).
« Last Edit: December 07, 2009, 02:25:30 pm by J. A. Calvo »
Zentyal Server Lead Developer

michele

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
    • Casa Bastiano
Re: Jabber Server Flakey
« Reply #17 on: December 07, 2009, 03:03:22 pm »
I'm using ebox-jabber since version 1.3.2 but i start having this problem after last update (from 1.3.9 to 1.3.10)

apt-cache policy jabberd2

jabberd2:
  Installato: 2.2.8-1ubuntu0~hardy1~ppa1
  Candidato: 2.2.8-1ubuntu0~hardy1~ppa1
  Tabella versione:
 *** 2.2.8-1ubuntu0~hardy1~ppa1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
Meteo Radio & Blog
@ Casa Bastiano
www.casabastiano.com

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Jabber Server Flakey
« Reply #18 on: December 07, 2009, 05:41:48 pm »
VaineDragon, i've just installed ebox-jabber 1.2.1-0ubuntu1~ppa1~hardy1 with jabberd2 2.2.8-1ubuntu0~hardy1~ppa1 (as ebox normal installation does) and works out of the box, using psi 0.13-1. Can you check that the user has the account enabled ?

michele, can you check if the user has the account enabled as well ? did you try to make an /etc/init.d/ebox jabber restart ?

michele

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
    • Casa Bastiano
Re: Jabber Server Flakey
« Reply #19 on: December 07, 2009, 06:00:51 pm »
My user is enabled and i already tried to restart jabber without any results.
Meteo Radio & Blog
@ Casa Bastiano
www.casabastiano.com

VaineDragon

  • Zen Warrior
  • ***
  • Posts: 100
  • Karma: +0/-0
    • View Profile
    • Dragon's Den
Re: Jabber Server Flakey
« Reply #20 on: December 07, 2009, 06:09:11 pm »
Yeah I know for 4 days now and umpteen installs later I still have not gotten it to work, in the c2s.log it says waiting for connection and nothing.

Try this command out and see what your's says.

sudo tail -f /var/log/jabberd2/c2s.log or sm.log then watch the log and try to connect, mine does nothing. also take a look at your daemon.log
sudo tail -f /var/daemon.log

“ If you look into the eye of the storm, and see nothing, Well I guess you better step aside, thus is the truth of your lack of reason. ”

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Jabber Server Flakey
« Reply #21 on: December 07, 2009, 06:22:20 pm »
My user is enabled and i already tried to restart jabber without any results.

michele, i just tried to reproduce your issue with 1.3 and works out of the box too.

can you show us your jabberd2 logs ? and your configuration, both ebox and client ?

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: Jabber Server Flakey
« Reply #22 on: December 07, 2009, 06:24:21 pm »
Yeah I know for 4 days now and umpteen installs later I still have not gotten it to work, in the c2s.log it says waiting for connection and nothing.

Try this command out and see what your's says.

sudo tail -f /var/log/jabberd2/c2s.log or sm.log then watch the log and try to connect, mine does nothing. also take a look at your daemon.log
sudo tail -f /var/daemon.log

VaineDragon, something is wrong with your eBox / your server. Everything is working here as expected ...

Code: [Select]
==> /var/log/jabberd2/s2s.log <==
Mon Dec  7 18:18:12 2009 [notice] [0.0.0.0, port=5269] listening for connections
Mon Dec  7 18:18:12 2009 [notice] ready for connections
Mon Dec  7 18:19:17 2009 [notice] shutting down
Mon Dec  7 18:19:17 2009 [notice] connection to router closed
Mon Dec  7 18:19:18 2009 [notice] starting up (interval=60, queue=60, keepalive=0, idle=86400)
Mon Dec  7 18:19:18 2009 [info] process id is 28802, written to /var/run/jabberd2/s2s.pid
Mon Dec  7 18:19:18 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Dec  7 18:19:18 2009 [notice] connection to router established
Mon Dec  7 18:19:18 2009 [notice] [0.0.0.0, port=5269] listening for connections
Mon Dec  7 18:19:18 2009 [notice] ready for connections

==> /var/log/jabberd2/sm.log <==
Mon Dec  7 18:19:18 2009 [notice] module 'iq-vcard' added to chain 'user-delete' (order 10 index 6 seq 2)
Mon Dec  7 18:19:18 2009 [notice] module 'iq-version' added to chain 'disco-extend' (order 0 index 17 seq 1)
Mon Dec  7 18:19:18 2009 [notice] module 'help' added to chain 'disco-extend' (order 1 index 18 seq 1)
Mon Dec  7 18:19:18 2009 [notice] version: jabberd2 sm 2.2.8
Mon Dec  7 18:19:18 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Dec  7 18:19:18 2009 [notice] connection to router established
Mon Dec  7 18:19:18 2009 [notice] ready for sessions
Mon Dec  7 18:19:28 2009 [notice] created user: jid=foobar@dragonsden.info
Mon Dec  7 18:19:28 2009 [notice] session started: jid=foobar@dragonsden.info/thinkpad
Mon Dec  7 18:19:36 2009 [notice] session ended: jid=foobar@dragonsden.info/thinkpad

VaineDragon

  • Zen Warrior
  • ***
  • Posts: 100
  • Karma: +0/-0
    • View Profile
    • Dragon's Den
Re: Jabber Server Flakey
« Reply #23 on: December 08, 2009, 05:52:42 am »
So how did you manage this feat, I have reinstalled this thing 15 time since yesterday, I just it got done again and I'm looking at sm.log and c2s.log says ready for connection and nothing, there is absolutely no acknowledgment I'm trying to connect at all?

I have tried 4 different users from 4 different systems and the same issues come up, nothing is happening no connection attempts. Can't connect via Domain Name, IP Address or Hostname Nada zilch neinte.Where else do I look?

Once again how did you do that with my domain name?????????????????????

sm.log
root@ubuntu-server:/etc/default# sudo tail -f /var/log/jabberd2/sm.log
Mon Dec  7 19:50:12 2009 [notice] module 'status' added to chain 'user-delete' (order 7 index 0 seq 4)
Mon Dec  7 19:50:12 2009 [notice] module 'iq-last' added to chain 'user-delete' (order 8 index 1 seq 3)
Mon Dec  7 19:50:12 2009 [notice] module 'iq-private' added to chain 'user-delete' (order 9 index 8 seq 1)
Mon Dec  7 19:50:12 2009 [notice] module 'iq-vcard' added to chain 'user-delete' (order 10 index 6 seq 2)
Mon Dec  7 19:50:12 2009 [notice] module 'iq-version' added to chain 'disco-extend' (order 0 index 17 seq 1)
Mon Dec  7 19:50:12 2009 [notice] module 'help' added to chain 'disco-extend' (order 1 index 18 seq 1)
Mon Dec  7 19:50:12 2009 [notice] version: jabberd2 sm 2.2.8
Mon Dec  7 19:50:12 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Dec  7 19:50:12 2009 [notice] connection to router established
Mon Dec  7 19:50:12 2009 [notice] ready for sessions

c2s.log
root@ubuntu-server:/etc/default# sudo tail -f /var/log/jabberd2/c2s.log
Mon Dec  7 20:14:09 2009 [notice] modules search path: /usr/lib/jabberd2
Mon Dec  7 20:14:09 2009 [info] loading 'ldap' authreg module
Mon Dec  7 20:14:09 2009 [notice] ldap: configured 1 realms
Mon Dec  7 20:14:09 2009 [notice] initialized auth module 'ldap'
Mon Dec  7 20:14:09 2009 [notice] [dragonsden.info] configured; realm=dragonsden.info, registration enabled
Mon Dec  7 20:14:09 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Mon Dec  7 20:14:09 2009 [notice] connection to router established
Mon Dec  7 20:14:09 2009 [notice] [0.0.0.0, port=5222] listening for connections
Mon Dec  7 20:14:09 2009 [notice] [0.0.0.0, port=5223] listening for SSL connections
Mon Dec  7 20:14:09 2009 [notice] ready for connections
“ If you look into the eye of the storm, and see nothing, Well I guess you better step aside, thus is the truth of your lack of reason. ”

michele

  • Zen Monk
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
    • Casa Bastiano
Re: Jabber Server Flakey
« Reply #24 on: December 15, 2009, 03:44:49 pm »
My solution: i changed the client (Spark) with Pidgin and now everything work as expected
Don't ask me why Spark stopped to work correctly after 1.3.10 upgrade, but with Pidgin no problems.
CIAO Michele
Meteo Radio & Blog
@ Casa Bastiano
www.casabastiano.com

VaineDragon

  • Zen Warrior
  • ***
  • Posts: 100
  • Karma: +0/-0
    • View Profile
    • Dragon's Den
Re: Jabber Server Flakey
« Reply #25 on: December 15, 2009, 04:23:17 pm »
Yeah I know did the same changed to Pandion and all is working just fine now, In the immortal words of Paris Hilton "Like Yeah Whatever"

“ If you look into the eye of the storm, and see nothing, Well I guess you better step aside, thus is the truth of your lack of reason. ”

brcisna

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Jabber Server Flakey
« Reply #26 on: December 26, 2009, 03:21:46 pm »
Hey Guys,

Just seen this thread. This may be worth a try with Spark client.( I run into this same snaffoo many moons ago when running jabberd),
When entering your user credentials in Spark client for the domain to connect to,,,use the machine name>along with the domain. In other words,like so:
eboxserver.mydomain.net
NOT;
mydomain.net
,,,
(Do NOT use server IP Address)
See if this entry works for Spark to your Ebox/Jabberd server.

Take Care,
Barry C