Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jabberd does not come up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Fri Feb 10, 2006 11:38 pm    Post subject: jabberd does not come up Reply with quote

hello,
after a crash on my server yesterday jabberd seems not to work anymore.. i reemerged it also..

Code:
/etc/init.d/jabber start
 * Re-caching dependency info (mtimes differ)...
 * Starting Jabber Server ...                                                                                                                                                 [ ok ]
stephan init.d # 20060210T23:36:43: [notice] (-internal): initializing server
20060210T23:36:43: [alert] (-internal): io_select unable to listen on 5223 [217.160.135.41]: jabberd already running or invalid interface?
20060210T23:36:43: [alert] (-internal): io_select unable to listen on 5269 [217.160.135.41]: jabberd already running or invalid interface?

stephan init.d # netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:3690            0.0.0.0:*               LISTEN      5570/svnserve       
tcp        0      0 0.0.0.0:6667            0.0.0.0:*               LISTEN      5358/bitlbeed       
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      5316/apache2       
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      5691/vsftpd         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      5289/sshd           
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      5316/apache2       



stephan init.d # /etc/init.d/jabber start

* Starting Jabber Server ...
/etc/init.d/jabber: line 14: [: too many arguments
/usr/sbin/jabberd already running.

#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabber.rc6-r8,v 1.1 2005/05/21 18:35:51 humpback Exp $

depend() {
need net
provide jabber-server
}

start() {
ebegin "Starting Jabber Server"
if [ -f ${JPIDFILE} ]; then
if [ -z $(ps ax | grep `cat ${JPIDFILE}` | grep -v grep ) ]
then
rm -f ${JPIDFILE}
fi
fi
start-stop-daemon --start -c jabber:jabber \
-x /usr/sbin/jabberd -- -B -c /etc/jabber/multiple.xml
eend $?
}

stop() {
ebegin "Stopping Jabber Server"
start-stop-daemon --stop -x /usr/sbin/jabberd
kill `cat ${JPIDFILE}`
sleep 2
if [ -f ${JPIDFILE} ]; then
kill -9 `cat ${JPIDFILE}`
rm -f ${JPIDFILE}
fi
eend $?
}
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
Su8l1me
n00b
n00b


Joined: 25 Jan 2006
Posts: 31

PostPosted: Mon Aug 14, 2006 1:02 pm    Post subject: Reply with quote

That problem is symptomatic of you having re-emerged it with the ipv6 USE flag enabled. Do it again without that flag enabled and you should be good to go.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Aug 14, 2006 7:42 pm    Post subject: Re: jabberd does not come up Reply with quote

smg wrote:
/etc/init.d/jabber: line 14: [: too many arguments
/usr/sbin/jabberd already running.

So, look at line 14. Remove the pidfile.

The initscript isn't reliable. I provided a patch ages ago for the stop part.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum