LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2004, 04:50 AM   #1
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Rep: Reputation: 0
Question jabber server doesn't work


Hi All-

I am new to linux but with the help of this website I've managed to set up a linux server on our lan. Among other things, it provides samba services to various windows clients.

I have installed jabber 1.4 on the server but I can't get it to work. I've searched here and googled for days but I can't find anything on point.

For the purpose of simplicity, I have reinstalled the jabber software and have made only one change in the jabber.xml file replacing localhost with the hostname I'm using for the jabber server. (Does the hostname that I use in the jabber.xml file have to match the actual hostname of the server?).

The server will start up and run and shows that it is listening on 5222 and 5269. (When I start the server using the script supplied with the rpm /etc/init.d/jabber it shows that it starts but then it dies. So, I start the server with jabberd -c /etc/jabber/jabber.xml. Is this related to my problem?)

Gaim clients can register with the server but they can't chat with each other. Users' xml files show up in the subdir of the jabber hostname directory /var/lib/jabber/hostname (at one point I made a very big mistake and did a chmod -R in the /var directory. I think it was 222 or something. I'm not sure I've recovered from that. Is this related to my problem? Is there a graceful way to recover from this kind of error?)

The jabber server in debug shows the incoming messages are timing out.

The Gaim clients are showing unresolved host when the messages are sent.

I can not start a telnet session from any client to my server's port 5222. I CAN have a successful telnet session to port 5222 from a terminal on the
server itself.

Using the DNS host name, I can ping the servert from the client. I can ping client to client. I can ping server to any client.

All the jabber documentation says how simple it is to get up and running so I suspect I may have missed something big but what?

Thank you for your patience and assistance.

P.S. Does this question belong in several different threads?
 
Old 06-24-2004, 05:31 AM   #2
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
use the jabber quickstart installer - it'll build all your xml configs and set up the server for you - it's based on DIALOG's and allows you to set up new users and start/stop the server etc...

christo
 
Old 06-24-2004, 08:32 AM   #3
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for looking at this issue.

Jabber quickstart doesn't work. The main screen comes up but none of the buttons do anything. I have to abort using ctl c because it wont even exit. It won't start or stop the server.

Rgds Claude56
 
Old 06-26-2004, 08:25 PM   #4
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Original Poster
Rep: Reputation: 0
This is mostly resolved.

I found some hateful eccentricities as follows:

1. Gaim client for Windows does not append the jabber servername to the screen name by default so you need to send your messages to "user@host" not just "user". The linux Gaim client DOES append the servername if you leave it off. This is why messages from one windows client to another werent getting through causing errors on the server such as 'bouncing packet' and on the windows client such as 'unable to resolve host'. Experienced chat users probably know this.

2. I had a problem running the jabber start up script that comes with the Mandrake 9.2 distribution. It would look like it started but then show not running when you do /etc/init.d/jabber status. The explanation for this was in the log files /var/log/jabber/error.log and /var/log/jabber/record.log. For some reason, the owner of these log files was root. I just deleted them and ran the script and the script ran and started jabber just fine and recreated the 2 files with the owner 'daemon'. The owner and group of these 2 files should be 'daemon'.

3. There is something strange about the jabber start up script. It seems that it does not consistently create the hostname directory in /var/lib/jabber. Sometimes it does, sometimes it doesn't. It seems that you have to register from a client on the same machine to get this directory created automatically? If you know why, I'd be curious to find out.

4. I never did get the jabberd-quickstart interface to work. It will run and present an interface but none of the buttons do anything including exit. If you know why, I'd still like to know.

Thanks for looking.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
jabber server 2.xs9 Ammad Linux - General 0 08-16-2005 02:18 PM
How to configure the Jabber server alnreddy Linux - Networking 2 03-21-2005 08:14 PM
Jabber server error. TheRealDeal Linux - General 1 07-15-2004 03:00 AM
Jabber Server problems. TheRealDeal Linux - Software 0 07-15-2004 12:31 AM
Jabber Server gcombe74 Linux - Software 1 08-10-2002 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration