Author Topic: jabber  (Read 4603 times)

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
jabber
« on: November 24, 2009, 10:30:15 pm »
Estoy tratando de poner en marcha el jabber pero los clientes con pidgy no pueden conectarse.
Me podrían explicar como debo configurar esta parte? "No me digan que  esta en la doc ... no entiendo"

Domain Name:
    Specifying the name of the server, the users’ accounts will be user@domain.
    Tip
    domain should have an entry in the DNS, so it can be resolved.

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: jabber
« Reply #1 on: November 25, 2009, 06:52:53 pm »
hola alejandro,

debes asegurarte que desde los clientes se resuelve el nombre de dominio que tienes configurado en el módulo de ebox-jabber, por ejemplo, si el usuario jabber es alejandro@tuempresa.com, desde es máquina debes de poder hacer ping a tuempresa.com y debe responder la máquina ebox. esto lo puedes hacer con el módulo de ebox-dns.

si vas a utilizar las conferencias, el subdominio conference.tuempresa.com deberá apuntar también al servidor de jabber.

espero haberte aclarado las dudas.

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: jabber
« Reply #2 on: November 25, 2009, 07:29:24 pm »
Ok. pero el tuempresa.com esta externo. y si le doy ping lo resuelve pero afuera.


2009/11/25 13:18:47 WARN> Manager.pm:84 EBox::Monitor::Measure::Manager::register - Loading EBox::Monitor::Measure::Memory measure again
2009/11/25 13:18:47 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 13:18:49 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:18:49 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:18:52 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:18:52 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:18:54 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:18:54 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:18:56 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:18:56 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:18:58 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:18:58 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:00 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:00 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:02 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:02 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:03 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:03 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:05 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:05 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:07 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:09 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:11 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:11 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:19:15 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:19:15 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:30:03 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 13:30:03 INFO> Service.pm:619 EBox::Module::Service::restartService - Restarting service for module: monitor
2009/11/25 13:30:06 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:30:06 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:30:09 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:30:09 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:30:33 DEBUG> Base.pm:255 EBox::RemoteServices::Base::_queryServicesNameserver - Server mm.internal.ebox-controlcenter.com not found via DNS server 10.200.0.4
2009/11/25 13:45:02 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 13:45:03 INFO> Service.pm:619 EBox::Module::Service::restartService - Restarting service for module: monitor
2009/11/25 13:45:05 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:45:05 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:45:08 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 13:45:08 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 13:45:31 DEBUG> Base.pm:255 EBox::RemoteServices::Base::_queryServicesNameserver - Server mm.internal.ebox-controlcenter.com not found via DNS server 10.200.0.4
2009/11/25 14:00:03 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 14:00:03 INFO> Service.pm:619 EBox::Module::Service::restartService - Restarting service for module: monitor
2009/11/25 14:00:06 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 14:08:33 INFO> ServiceManager.pm:608 EBox::ServiceManager::__ANON__ - File /etc/bind/db.16.168.192 does not exist. So we won't compute its digest
2009/11/25 14:08:40 INFO> Global.pm:406 EBox::Global::saveAllModules - Saving config and restarting services: firewall dns
2009/11/25 14:08:41 INFO> Base.pm:125 EBox::Module::Base::save - Restarting service for module: firewall
2009/11/25 14:08:45 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 14:08:47 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 14:08:47 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 14:08:56 INFO> Base.pm:754 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1
2009/11/25 14:08:56 INFO> Base.pm:125 EBox::Module::Base::save - Restarting service for module: dns
2009/11/25 14:08:57 ERROR> Sudo.pm:190 EBox::Sudo::_rootError - root command test -e /etc/bind/db.akimotors.com failed.
Error output:
Command output: .
Exit value: 1
2009/11/25 14:08:57 INFO> ServiceManager.pm:608 EBox::ServiceManager::__ANON__ - File /etc/bind/db.akimotors.com does not exist. So we won't compute its digest
2009/11/25 14:08:58 ERROR> Sudo.pm:190 EBox::Sudo::_rootError - root command /usr/bin/stat -c%dI%iI%fI%hI%uI%gIhI%sI%XI%YI%ZI%oI%bI%tI%T '/etc/bind/db.akimotors.com' failed.
Error output: /usr/bin/stat: cannot stat `/etc/bind/db.akimotors.com': No such file or directory

Command output: .
Exit value: 1
2009/11/25 14:08:58 ERROR> Sudo.pm:190 EBox::Sudo::_rootError - root command test -e /etc/bind/db.16.168.192 failed.
Error output:
Command output: .
Exit value: 1
2009/11/25 14:08:58 INFO> ServiceManager.pm:608 EBox::ServiceManager::__ANON__ - File /etc/bind/db.16.168.192 does not exist. So we won't compute its digest
2009/11/25 14:08:58 ERROR> Sudo.pm:190 EBox::Sudo::_rootError - root command /usr/bin/stat -c%dI%iI%fI%hI%uI%gIhI%sI%XI%YI%ZI%oI%bI%tI%T '/etc/bind/db.16.168.192' failed.
Error output: /usr/bin/stat: cannot stat `/etc/bind/db.16.168.192': No such file or directory

Command output: .
Exit value: 1
2009/11/25 14:09:33 INFO> Global.pm:406 EBox::Global::saveAllModules - Saving config and restarting services: firewall jabber
2009/11/25 14:09:33 INFO> Base.pm:125 EBox::Module::Base::save - Restarting service for module: firewall
2009/11/25 14:09:36 INFO> Manager.pm:97 EBox::Monitor::Measure::Manager::register - EBox::Monitor::Measure::Thermal is not enabled to collect data
2009/11/25 14:09:38 DEBUG> LogFiltering.pm:70 EBox::Events::Model::Watcher::LogFiltering::new - Missing argument: tableInfo
2009/11/25 14:09:38 WARN> Events.pm:526 EBox::Events::__ANON__ - model EBox::Events::Model::Watcher::LogFiltering cannot be instantiated
2009/11/25 14:09:46 INFO> Base.pm:754 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1
2009/11/25 14:09:46 INFO> Base.pm:125 EBox::Module::Base::save - Restarting service for module: jabber
« Last Edit: November 25, 2009, 07:48:35 pm by alejandro guerra »

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: jabber
« Reply #3 on: November 26, 2009, 04:33:59 pm »
alejandro,

entonces lo que debes hacer es crear el dominio im.tuempresa.com (de instant messaging) o jabber.tuempresa.com o xmpp.tuempresa.com y hacer que ebox-dns resuelva ese dominio a la ip del servidor de jabber. configura ese dominio en ebox-jabber y las direcciones de los clientes serán usuario@im.tuempresa.com. también deberás crear el subdominio conference.im.tuempresa.com apuntando al servidor de jabber también.

espero que ahora te haya ayudado ...

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: jabber
« Reply #4 on: November 27, 2009, 10:47:44 pm »
Mil gracias .... todo perfecto

Solo que hay maquinas que se conectan y otras no. Alguna idea??
« Last Edit: November 27, 2009, 11:11:11 pm by alejandro guerra »

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: jabber
« Reply #5 on: November 28, 2009, 03:48:14 pm »
no te puedo decir con tan poca información, estás usando SSL/TLS ? qué sistema operativo ? que cliente ? qué error te dan ? puedes resolver el dominio desde esas máquinas ?

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: jabber
« Reply #6 on: November 30, 2009, 04:19:22 pm »
Si estamos usando ssl como lo indican en le manual, el cliente para windows que estamos usando es: Pidgin 2.6.3  y el error que nos muestra es: Falló la conexión SSL

Salu2.


Te anexo las imágenes con la configuración.
cliente:
http://dl.dropbox.com/u/1846510/pidgin.PNG
http://dl.dropbox.com/u/1846510/pidgin2.PNG
http://dl.dropbox.com/u/1846510/pidgin3.PNG
server:
http://dl.dropbox.com/u/1846510/ebox-jabber.PNG

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: jabber
« Reply #7 on: November 30, 2009, 06:59:24 pm »
sólo puedo ver las capturas primera del cliente y la del servidor que parecen correctas.

puedes comprobar que se han subido las de las pestañas avanzada y pasarela del pidgin ?

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: jabber
« Reply #8 on: November 30, 2009, 07:52:16 pm »

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: jabber
« Reply #9 on: December 01, 2009, 06:21:52 pm »
la opcion "Conectar con el servidor" coincide con la IP del servidor eBox ? por qué no pruebas poniendo ahí im.tuempresa.com ?

si no, podrías mostrarnos las últimas líneas de /var/log/jabberd2/c2s.log y /var/log/jabberd2/sm.log ?

aguerra

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: jabber
« Reply #10 on: December 02, 2009, 12:02:51 am »
Jsalamero, en el servidor jabber .... SSL support: le coloque "Optional" y así fue me funciono.
Salu2