Linode Forum
https://forum.linode.com/

jabberd on Debian
https://forum.linode.com/viewtopic.php?f=19&t=1037
Page 1 of 1

Author:  avantman42 [ Thu Jul 22, 2004 3:38 pm ]
Post subject:  jabberd on Debian

I'm trying to set up a Jabber server on my Linode (running Debian). I used apt-get to install jabber & webmin-jabber. However, Webmin can't start the Jabber server. If I try to start it via SSH, I get:

Code:
(none):/usr/sbin# ./jabberd
20040722T19:25:35: [notice] (-internal): initializing server
20040722T19:25:35: [alert] (-internal): io_select unable to listen on 5222 [(null)]
20040722T19:25:35: [alert] (-internal): io_select unable to listen on 5269 [(null)]


The jabberd 1.4.x Admin Guide says:

Quote:
If you get "unable to listen on (port)" errors, please make sure there is no other daemon already running on these ports. netstat -ltp gives you a list of network daemons.


However, running netstat -ltp doesn't seem to help much:

Code:
(none):/usr/sbin# netstat -ltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:10000                 *:*                     LISTEN      171/perl
tcp        0      0 *:ssh                   *:*                     LISTEN      137/sshd


I tried binding my server to a specific IP address, as instructed in the Admin Guide, but that just changed the error message:

Code:
(none):/usr/sbin# ./jabberd
20040722T19:37:45: [notice] (-internal): initializing server
20040722T19:37:45: [alert] (-internal): io_select unable to listen on 5223 [(null)]


Can anyone help me work out what is going wrong?

Russ

Author:  Shermozle [ Fri Jul 23, 2004 6:53 am ]
Post subject:  Jabberd

Quote:
Code:
(none):/usr/sbin# ./jabberd 


For starters, that's not how you start things in Debian. Use the rc script.

/etc/init.d/jabber start

By default, installing a package in Debian actually starts the service, so you'll probably find that you are already running it.

ps -ax |grep jabber

Author:  avantman42 [ Fri Jul 23, 2004 11:10 am ]
Post subject:  Re: Jabberd

Shermozle wrote:
Quote:
Code:
(none):/usr/sbin# ./jabberd 


For starters, that's not how you start things in Debian. Use the rc script.

/etc/init.d/jabber start


That worked, thanks. I was running ./jabberd because that's what the Jabber admin manual suggested.

Oh well, you live & learn :oops:

Russ

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/