Koozali.org: home of the SME Server

Jabber Server

Offline cousin-it

  • *
  • 18
  • +0/-0
Jabber Server
« on: October 19, 2007, 05:37:56 PM »
 :-x  :-x  I have a SME 7.2 Server. I am trying to install EJabberD from the Contribs.org site. I followed the directions to the letter and installed this package. Everything on the server seems to be working. I have the Jabber Services listed in the Admin Console of my SME box. Now.....the problem. I am trying to connect to it using Pidgin and it fails every single time. Gives an error message: "Could not establish connection with the server. Error resolving mydomain.com." What could be the problem here? My website and email work GREAT.  Any help would be appreciated. I have been pulling my hair out for 2 days on this. PLEASE shed some light on my problem. Thanks.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Jabber Server
« Reply #1 on: October 19, 2007, 06:30:31 PM »
First thing is be sure eJabberD is up and listening on XXX port:
Code: [Select]
netstat -an|grep XXX
Later you must find if inside server you can connect to that port:

Code: [Select]
telnet 0 XXX
Finally you will to tell SME about your new service available

Code: [Select]
db configuration set eJabberD service access public status enabled TCPPort XXX

Hope this help you! :)
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #2 on: October 19, 2007, 06:43:33 PM »
Thanks for the help. I did all things listed but I still can't connect. I can see the admin home page (https://yourdomain:5280/admin) and get the log in box, but of coarse I can't log in b/c I can't connect and set up an admin account.  Seems like a DNS issue. But I can't figure why that would be. Why would it not resolve mydomain.com? (Pidgin, I mean). I am at a loss here.  :sad:

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Jabber Server
« Reply #3 on: October 19, 2007, 07:00:37 PM »
cousin-it

Did you really do/follow all the instructions in the Wiki Contrib/Howto ie

    *  creation of your ejabberd admin account

For security reasons you need to create the admin@yourdomain Jabber account as soon as you enable your ejabberd service because this account will have administration rigths for your ejabberd administration. Jabber services are disabled after package installation, so there is no risk before you enable ejabberd with the server-manager panel and create this account.

   1. In your ejabberd panel, enable your ejabberd server, verify or change your Jabber domain and set registration parameter to "Allowed for everybody"
   2. With a Jabber client, register the account "admin@yourdomain" with a (secure) password, and remember this password. This "admin@yourdomain" account and associated password wil be needed to access the administration web page of your ejabberd server at https://yourserver.yourdomain:5280/admin (if enabled in your ejabberd panel).
   3. After setting admin account, you can return to your ejabberd panel and change registration setting for your requirements
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #4 on: October 19, 2007, 07:04:11 PM »
Yes, I read that. I can't set up the admin account because I can't connect to the server. I keep getting an error. I have tried from 3 different computer with all the same results.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Jabber Server
« Reply #5 on: October 19, 2007, 07:10:49 PM »
cousin-it

Quote
I can't set up the admin account because I can't connect to the server. I keep getting an error. I have tried from 3 different computer with all the same results.


My previously famous phrase was "to read Howto's carefully and completely", I think I should change that to "slowly & completely".


Quote
...so there is no risk before you enable ejabberd with the server-manager panel and create this account.
   1. In your ejabberd panel, enable your ejabberd server, verify or change your Jabber domain and set registration parameter to "Allowed for everybody"...


The instructions tell you to configure it in the server manager panel first !
« Last Edit: October 19, 2007, 07:19:50 PM by RayMitchell »
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #6 on: October 19, 2007, 07:16:57 PM »
And that is exactly what I did. It is configured in the control panel exactly like the instructions said.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Jabber Server
« Reply #7 on: October 19, 2007, 07:21:38 PM »
cousin-it

So what are the configuration settings you entered, please try not to disguise them.
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #8 on: October 19, 2007, 07:24:46 PM »
On what? The console on the SME box?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Jabber Server
« Reply #9 on: October 19, 2007, 07:30:17 PM »
cousin-it

Quote
On what?

In the server manager Jabber services panel under Configuration
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #10 on: October 19, 2007, 07:35:39 PM »
Jabber services access-->Allow public access (entire Internet)
Jabber domain---> bsa742.org
Type of access-->non secured access available
Jabber client registering--> Allowed for everybody
Text of welcome subject---->None
Text of welcome message --->None
Jabber admin web page ---> enabled

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Jabber Server
« Reply #11 on: October 19, 2007, 07:46:41 PM »
cousin-it

Try setting
Jabber admin web page ---> disabled

After you set up the admin account by logging in with Pidgin, you can then enable the admin web page again.
...

Offline cousin-it

  • *
  • 18
  • +0/-0
Re: Jabber Server
« Reply #12 on: October 19, 2007, 07:53:29 PM »
Changed admin web page ---> disabled. No luck. Pidgin is still giving me a "Can't resolve bsa742.org 11001" error message.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Jabber Server
« Reply #13 on: October 19, 2007, 07:57:25 PM »
Moved to contribs section as it is more appropriate here.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Jabber Server
« Reply #14 on: October 20, 2007, 12:43:27 PM »
Well, if bsa742.org is your real domain name, it's not resolvable from the internet. (I'm not sure if you're trying to register from the internet or the local network, it seems you're trying from the internet). Your website works because www.bsa742.org is resolvable. And your mails work because your mail server is mail.bsa742.org, and it's resolvable too. You should just add an entry in your dns for @
I use this contrib, and it's working great.
Just another thing, if you use pidgin, you should allow only secured connexions, if you open it to the internet.
C'est la fin du monde !!! :lol: