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:

(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:

> 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:

(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:

(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

2 Replies

> ````

(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

@Shermozle:

> ````

(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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct