VMware
1 2 3 Previous Next 31 Replies Last post: Nov 23, 2009 12:25 PM by aultman  

Jabber Instant Message Server Virtual Appliance posted: Jun 5, 2006 12:31 AM

Click to view VMTN Admin's profile Expert 1,468 posts since
May 10, 2006
http://www.vmware.com/vmtn/appliances/directory/248

A Jabber instant message server based on jabberd2, BerkeleyDB, and Slackware Linux. Five minute setup!
Click to view TheMot's profile Lurker 1 posts since
Jun 5, 2006
Since I can find no other website or forums for this VA, I will post my problem here.

I followed the directions after downloading, setup the the server to use dhcp, rebooted, got IP of 192.168.15.107 (same net as rest of computers), perfect, should work right.... try gaim from my linux box (ubuntu 6.06)at 192.168.15.102... would just hang trying to register account, port scanned the virtual server to make sure port 5222 was open, it was... tried using spark on host machine (192.168.15.100), followed the directions in the /docs directory for setting up spark... no luck, same results, would just sit there. Added the host name I gave the jabber server on initial setup to my hosts file on my win2k pro machines hosts file, pinged -a to make sure the hostname was resolving. Tried many diff configs of spark and gaim to no avail... no firewalls on any machines, got me stumped. Anyone else experience this? Any help would be appreciated, I am going to keep plugging away at the problem. Please overlook my gratuitous use of commas!

Thanks!
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
I apologize for being so remiss to reply. I did not see this sooner. Did your problems get resolved satisfactorily? If they have not been, I would be glad to assist.

Message was edited by:
telackey
Click to view plm milano's profile Lurker 2 posts since
Aug 5, 2006
hi list,
same for me, jabber ask for password and say no connection.
no firewall il place and ssh machine-name is ok.
client is gaim from the host (suse) and from remote.
service jabberd was running and all appear ok but no connection to the server.
where I can find e jabber log?
tnx paolo
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
paolo:

You can check out the logs in /var/log/messages. When registering a new user entry you'll see lines like:

Aug 5 20:30:51 jabber jabberd/c2s[180]: [7] [192.168.123.113, port=1266] connect
Aug 5 20:31:11 jabber jabberd/c2s[180]: [7] created user: user=telackey; realm=test4.redbudcomputer.local
Aug 5 20:31:11 jabber jabberd/c2s[180]: [7] registration succeeded, requesting
user creation: jid=telackey@test4.redbudcomputer.local
Aug 5 20:31:11 jabber jabberd/sm[178]: created user: jid=telackey@test4.redbudcomputer.local

And when logging in:

Aug 5 20:31:17 jabber jabberd/c2s[180]: [7] [192.168.123.113, port=1275] connect
Aug 5 20:31:18 jabber jabberd/c2s[180]: [7] SASL authentication succeeded: mechanism=DIGEST-MD5; authzid=telackey@test4.redbudcomputer.local
Aug 5 20:31:18 jabber jabberd/c2s[180]: [7] bound: jid=telackey@test4.redbudcomputer.local/Home
Aug 5 20:31:18 jabber jabberd/c2s[180]: [7] requesting session: jid=telackey@test4.redbudcomputer.local/Home
Aug 5 20:31:18 jabber jabberd/sm[178]: session started: jid=telackey@test4.redbudcomputer.local/Home

Did you notice any trouble when registering the user account before attempting to login? Any messages?

Glad to help if I can to get you going.

Click to view jakewilliams's profile Enthusiast 27 posts since
Nov 2, 2004
I am having issues with the jabber VMA as well.

Our VoIP system (Zultys) has an internal IM client application that can interface with Jabber servers. If I use it with an external Jabber server, it works fine. I am trying to get it to work with the internal Jabber server, but am not having any luck with the Jabber VMA.

On the VMA, all it says in the /var/log/messages file is:

jabberd/c2s[175]: [7] [10.10.1.25, port=40501] connect
jabberd/c2s[175]: [7] [10.10.1.25, port=40501] disconnect

The port number continues to climb, but I cannot get the software to register an account with the Jabber server. I can try rebooting the VoIP system, but not until after hours. Any suggestions are welcome.

Thanks,
Jake Williams
ELCOM
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
The first two things I would look into are:

1) Can the VoIP client can communicate over SSL / startTLS? By default the appliance requires secure connections (it is an option during setup though, so it is easy to turn off).

2) Have you tried registering with a standard client such as GAIM or Psi, and then connecting with the VoIP client? It might be a good thing to test, to try to pin down the location to focus on.

Hope that helps! Feel free to e-mail me too, glad to help if I can.

Re: Jabber Instant Message Server Virtual Appliance

7. Aug 14, 2006 7:37 AM in response to: telackey
Click to view jakewilliams's profile Enthusiast 27 posts since
Nov 2, 2004
The first two things I would look into are:

1) Can the VoIP client can communicate over SSL /
startTLS? By default the appliance requires secure
connections (it is an option during setup though, so
it is easy to turn off).


I disabled the SSL / startTLS option when I did the startup, since I'm not sure whether or not the appliance works with it.

2) Have you tried registering with a standard client
such as GAIM or Psi, and then connecting with the
VoIP client? It might be a good thing to test, to
try to pin down the location to focus on.

I have Psi on my machine, and tried that, but I get an error message: There was an error communicating with the Jabber Server. Details: Stream Negotiation Error: Host unknown

I can telnet from my box to port 5222 on the Jabber VMA and get a stream XML error when I type, so I know the server is responding and listening fine.

Hope that helps! Feel free to e-mail me too, glad to
help if I can.

Thanks,
Jake
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
I have Psi on my machine, and tried that, but I get an error message: There was an error communicating with the Jabber Server. Details: Stream Negotiation Error: Host unknown

I can telnet from my box to port 5222 on the Jabber VMA and get a stream XML error when I type, so I know the server is responding and listening fine.


Interesting. Is there a DNS entry for the Jabber appliance? Normally, DNS is used to resolve the host name of the Jabber server, corresponding to the "myserver.com" portion of an ID like username@myserver.com. That can be overridden in some clients however, to specify it manually.

One other thing that occurs to me is if the name in DNS does not match the hostname of the appliance. The Jabber server expects the clients to connect to a certain name, if they are connecting to some other name it may result in that error.

As an example, if the device is configured as jabber.mydomain.com, but it has two entries in the DNS server, jabber.mydomain.com and mail.domain.com, the users cannot connect as <user>@jabber.mydomain.com and <user>@mail.mydomain.com interchangably, they must user jabber.mydomain.com.

If for some reason that is difficult, the work around is to use the JID of <user>@jabber.mydomain.com, and manually specify the actual hostname or IP address of the server to the client.

Re: Jabber Instant Message Server Virtual Appliance

9. Aug 14, 2006 9:02 AM in response to: telackey
Click to view jakewilliams's profile Enthusiast 27 posts since
Nov 2, 2004
OK, I have made some progress. I did mess up, and now I can create an account from my VoIP appliance. However, I still can't log in through there. From Psi I CAN log in fine now, chat with offsite users, etc - so the error is in my VoIP appliance. The only messages I'm getting now regarding the VoIP appliance are:

jabberd/c2s[296]: [7] [10.10.1.25, port=40893] connect

5 minutes later:
jabberd/c2s[296]: [7] packet sent before session start, closing stream
jabberd/c2s[296]: [7] [10.10.1.25, port=40893] disconnect

Any ideas? I am going to talk with the support people for the VoIP appliance, but I don't have much hope that they'll be very helpful.

Thanks,
Jake
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
Jake,

Apologies for the delay in replying. It has been a busy couple of days.

As far as I can make out from that, it certainly looks like for some reason it isn't sending the login information.

The next step I would take would be sniff the traffic with Ethereal/Wireshark. Ideally, what I would do is sniff it connecting to the public server and then again connecting to the private one and compare the traces. Of course, the order doesn't so much matter as just trying both.

If you'd like to post the results (you'll want to remove the passwords though), or prefer to e-mail them, I'd be glad to take a look as well and see if I can spot anything.

Best!
Click to view kashikoi saru's profile Lurker 4 posts since
Dec 6, 2005
First, thanks for creating this!

I've got the server running. And I'm slowing learning how to administer it.

Users can register and chat. But they can't create persistant rooms.

Are JCR and MU-Conference included in this build? (yeah, I'm just copying from email from one of the mailing lists. lol)

Thanks for any help.

David
Click to view telackey's profile Enthusiast 235 posts since
Oct 24, 2003
David:

Good questions! No, unfortunately not. It is a basic jabberd2 install, without many options. When designing the layout of the package, I went for a very simple, very small setup. In retrospect, there are a couple of things, conferencing one of them, that might call that into a little bit of question.

I've been working on a new appliance based on Wildfire (http://www.jivesoftware.org/wildfire/), which would provide a broader array of features at the expense of a minor addition to setup time. There are some licensing issues regarding the Java JRE that have kept me from working it out yet though. If I can get it worked out, I'll be glad to post about it here.
Click to view SamClaret's profile Lurker 1 posts since
Sep 9, 2006
How do I get the appliance without using bittorrent
Click to view tsuarez's profile Lurker 3 posts since
May 28, 2005
We are currently running the Jabber VMA within the few users in our IT dept and its working great. However, before rolling it out to select end users I need to know how to reset a password for a registered account. Also how can I see a list of registered users. I am new to the Linux CLI so any help will be greatly appreciated. Thank you.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities