jabberd on Debian
Jabber
(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
> 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
Russ