Koozali.org: home of the SME Server

New Jabber Instant Messenger RPM and How To available

Jon Blakely

New Jabber Instant Messenger RPM and How To available
« on: March 12, 2002, 03:21:47 PM »
I have just put a new Jabber RPM and How To up on my site. This RPM installs Jabber server and the Transports and allows them to be run in seperate processes so that you can turn a Transport off without turning the Jabber Server off.
It allows the configuration of the Jabber Server, Transports and Hostname  from the Server Manager. No more modifying the XML files.
You can get it here

http://Http://www.khunjarnet.com/downloads/jabber

Jon

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #1 on: March 12, 2002, 04:04:47 PM »
I have just discovered a small bug which I have just fixed and have updated the RPM.

Jon

Chad Self

Re: New Jabber Instant Messenger RPM and How To available
« Reply #2 on: March 12, 2002, 08:06:50 PM »
Noticed your gallery download, are all those files required to s/u a gallery?

Terry Brummell

Re: New Jabber Instant Messenger RPM and How To available
« Reply #3 on: March 12, 2002, 10:54:41 PM »
Chad, here's where you can get a How-To on setting up gallery:

http://www.familybrown.org/howtos/gallery-howto.html

Chad Self wrote:
>
> Noticed your gallery download, are all those files required
> to s/u a gallery?

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #4 on: March 12, 2002, 11:18:56 PM »
Hi, is this realy all that's needed to get Jabber upp and running. I installed Your RPMs om a SME 5.1.2 and it is impossible to connect. I am using WinJab as a client and it works when connecting to jabber.org. Is there any config to do after installation of the RPMs?

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #5 on: March 12, 2002, 11:38:15 PM »
Did you read the How To and set up the  Jabber hostname and server configurations via the Mitel Server Manager.

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #6 on: March 13, 2002, 10:08:56 AM »
Yes I have set it up according to the HOWTO, first as a "local" jabber server with the IP 192.168.1.1 and then with the domain name xxxxxx.nu. What do I do wrong, is it a DNS problem? Can You give me an example HOWTO?

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #7 on: March 13, 2002, 11:19:17 AM »
Mats, a couple of suggestions. Once you have changed the hostname, restart the jabber server by disabling  and re-enabling it in the configuration panel.
Second go to console and at root prompt type

[root@sme5 /root]# service jabber status

and it should come back with

jabber is running ... []

you can also try to telnet to the jabber server

[root@sme5 /root]# telnet 192.168.2.1 5222
Trying 192.168.2.1...
Connected to 192.168.2.1.
Escape character is '^]'.

type in any rubbish, enter and you should get the following reply

Invalid XMLConnection closed by foreign host.

Let me know the results

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #8 on: March 13, 2002, 04:47:42 PM »
Yeah, that worked exactly as You said it would.
Now what?

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #9 on: March 13, 2002, 05:18:20 PM »
Now we're talking. I am upp and running.
You have done a nice job, thank You wery much!

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #10 on: March 13, 2002, 09:09:47 PM »
I have my jabberserver upp and running but I can't get the ICQ- , Yahoo- , MSN- and AIM-transport to work. Can You give me directions.

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #11 on: March 13, 2002, 11:16:05 PM »
Mats,

Do you have ticks (checks) beside the services you want to run on the Jabber configuration page..

Did you download and install the pth-1.4.1 rpm. This is needed to get the Transports to work.

Jon

BillN

Re: New Jabber Instant Messenger RPM and How To available
« Reply #12 on: March 13, 2002, 11:47:02 PM »
I think I am missing something too. Just when I thought I was starting to get a clue on this stuff.....

I have installed as Mats also said as per the howto. The service jabber status and telnet worked just as you said.

Now, at the client side, I put in a user name and password and clicked the new user box. I click OK and get: "Attempting to connect to blah.blah.blah... Disconnected from server!"

Am I missing something on the administration side? How do you add and remove users from the server?

Thanks,

Bill

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #13 on: March 14, 2002, 01:16:34 AM »
Bill,

Adding users is done via the client. If you are not already a user then it will prompt you to register.  Make sure that the host name on the client matches your server hostname.

I would also suggest that you restart the server by disabling it on the configuration panel then re-enable it. I have found that if you change the hostname with the server still running you cannot connect. I will add this to the HowTo.

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #14 on: March 14, 2002, 10:26:49 AM »
Yes I have and Yes I did.
The MSN-transport seams to work and the AIM-transport works but AOL does not allow it because they say that "it is not an approwede software".

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #15 on: March 14, 2002, 11:29:06 AM »
Mats,

I haven't tried the AOL but if you read the Jabber site you will find that AOL will not work anyway. AOL changed their protocol so it would not work with jabber.

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #16 on: March 14, 2002, 04:24:02 PM »
Yes, that is what I have found out aswell, but what I think is interesting is to get a bridge between Jabber and ICQ upp and running. Have You tried and got that one to work, and if so how did You do it.

Dean Mumby

Re: New Jabber Instant Messenger RPM and How To available
« Reply #17 on: March 15, 2002, 12:04:57 AM »
Jon great work

Has anyone had anyluck with the user directory

When I try register nothing happens and if I try search it says it cant access the service. I checked that it is running /etc/rc.d/init.d/jabber-jud status I have setup hostnames for all transports in the hostnames panel You may want to add that to your howto to correctly setup dns on the network (dont know if it needed but I did when I setup jabber with some prms from prmfind which is what it looks like you used to build yours). It would be really cool if you could add users via the admin panel maybe similar to vincent's squid authentication at e-smith.dyndns.org it would certainly make rolling it out much easier as users wouldnt need to know to much (which they never do anyway).

I got the msn transport working it was great chatting to a friend of mine while he was using msn messenger. The interesting thing was I could send him emoticons (L) but could not recieve them . What clients are everyone using , maybe we should have some sort of evaluation to see which is best / most stable ???

I have tried winjab and jabber instant messenger , I found using the chat rooms between clients wasnt possible and settled on JIM ,.

Thanks again

Dean Mumby

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #18 on: March 15, 2002, 05:05:55 AM »
Dean,

>I have setup hostnames for all transports in the hostnames panel <

You do not need to do this as explained on the Hostname configuration page this is done automatically for you. When you enter your hostname xxxx.com, aim.xxxx.com, jud.xxxx.com, conference.xxxx.com etc are automatically set. If you want something different then the XML files need to be manually changed.

Now, if the last hostname you entered was jud.xxxx.com jabber will try to resolve jud.jud.xxxx.com or msn.jud.xxxx.com. This wont work and is probably why you are having problems.

You need to go back and just set the hostname to your hostname, nothing else, then restart the server.

Jon

p.s just noticed that on the host configuration page conf.your_domain is supposed to be conference.your_domain.

Dean Mumby

Re: New Jabber Instant Messenger RPM and How To available
« Reply #19 on: March 15, 2002, 09:34:41 AM »
John I think you miss understood me , I created the hostname entries in Mitel server panel (hostnames and addresses) not in the jabber panel , this updates the local domain dns in bind ?

Are you saying this is not neccassary ? If your panel creates these entries in bind why do they not show up on the hostnames and aaddresses panel ?

Dean

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #20 on: March 15, 2002, 11:34:32 AM »
Dean, I did misunderstand you :). I haven't found it necessary to set up hostnames on the server. It works fine without them.

Jon

BillN

Re: New Jabber Instant Messenger RPM and How To available
« Reply #21 on: March 15, 2002, 12:19:45 PM »
Jon/All,

Thanks for the help. I am up and running now. I think it took a server reboot.

At one point I had one LAN side client that would not connect, but another LAN side client connected up without a hitch. That one seemed to resolve itself with multiple threats to the PC.

On the users issue, I have what may be a unique scenario. My main goal for having an IM chat server was to have 'secure' chats with my daughter. I am living in Turkey and she is in Kansas City. Her mother will not allow her to use the commercial services due to boys and axe murderers being on them. I can see her point. But, to be able to assure her that I have my own limited access IM would work.

Is it possible to restrict new users, or administer who uses my jabber server?

BillN

Re: New Jabber Instant Messenger RPM and How To available
« Reply #22 on: March 15, 2002, 12:39:01 PM »
I am using WinJab.

It seems to be a little quirky. When I was first registering to the server, and when trying to add my wife to my address list I went through multiple fatal errors crashes.

Then when we tried our first IM to eachother, again multiple fatal errors crashes, on both PCs.

And once again, when I attached to MSN and it was pulling my buddy list it crashed with multiple fatal errors.

It seems to be running fine now. I have used it to IM with my father on MSN, and on the LAN side with my wife.

The next test is to get a WAN side WinJab client up and test that.

Bill

Dean Mumby

Re: New Jabber Instant Messenger RPM and How To available
« Reply #23 on: March 15, 2002, 11:39:59 PM »
I have had a good look through the xml files and it would seem that the user directory is being run as users.xxx.xxx rather than jud.xxx.xxx as the panel says , so the conference & users features wont work is that correct ?

Dean

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #24 on: March 16, 2002, 05:51:33 AM »
Dean,

The XML is correct. The panel is wrong. :(
The same also goes for Conference, panel says conf and XML says conference.
So you need to set up hostnames to resolve to user.xxxx.com or
conference.xxxx.com.

I will update the rpm and HowTo.

I haven't figured out myself how to use conference properly yet. It all seems a bit quirky. Plain jabber chat and MSN seem to work very well. Haven't tried the others.

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #25 on: March 16, 2002, 12:09:55 PM »
Has anyboby got any transport but MSN working?

Jon Blakely

Re: New Jabber Instant Messenger RPM and How To available
« Reply #26 on: March 16, 2002, 03:00:15 PM »
Mats,

I must admit that I have only tried MSN. Forget AIM as I said in an earlier email. Yahoo apparently is flakey at the best of times. I have looked at ICQ and found a bug in the XML that I am working on.

I will let you know when I get it working and the what the fix is.

Jon

Mats Nordahl

Re: New Jabber Instant Messenger RPM and How To available
« Reply #27 on: March 16, 2002, 06:16:13 PM »
That's nice, let me know when. You can send me a mail or even jab me dait.homelinux.net. Jabber ID : morfargekkk@dait.homelinux.net

Martin Callihan

Re: New Jabber Instant Messenger RPM and How To available
« Reply #28 on: March 21, 2002, 02:26:27 AM »
First i'd like to say nice job on the rpm.  I testing it now in a corp envoirment. I have a couple of questions tho.. I just want to run a "clean" jabber server.. no msn, yahoo or whatever transport, with jud and conferencing ( this is an internal messaging server) i have disabled the the e-smith manager the other transports. But when clients connect it shows the transports as being on the server. They can't connect but how do i get the transports "out of sight, out of mind? :) Also i'm trying to implement the mod_groups module. Is that possible with this rpm version or will i have to compile it from source? Thanks for any help on this.

Marcos Migliorini

Re: New Jabber Instant Messenger RPM and How To available
« Reply #29 on: April 11, 2002, 08:16:03 AM »
I have the same situation with the jabber jud directory in 2 diferent SME 5.x severs!! Some body knows howto fix this?

Thanks in advance

Marcos