Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Jabber server cannot listen on default ports ;?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tuxisuau
Apprentice
Apprentice


Joined: 04 May 2002
Posts: 213
Location: Catalunya (Europe)

PostPosted: Wed Jun 05, 2002 11:26 pm    Post subject: Jabber server cannot listen on default ports ;? Reply with quote

Code:

moo src # /etc/init.d/jabber start
 * Starting Jabber Server...                                                                                                                                                        [ ok ]
moo src # 20020605T23:23:44: [notice] (-internal): initializing server
20020605T23:23:44: [alert] (-internal): io_select unable to listen on 5222 [(null)]
20020605T23:23:44: [alert] (-internal): io_select unable to listen on 5269 [(null)]
Back to top
View user's profile Send private message
Tuxisuau
Apprentice
Apprentice


Joined: 04 May 2002
Posts: 213
Location: Catalunya (Europe)

PostPosted: Thu Jun 06, 2002 3:53 am    Post subject: Solved Reply with quote

Edit multiple.xml...

find
Code:

<ip port=5222 />

replace with
Code:
ip port=5222>yourip</ip>

And by the way, same with the other port
Back to top
View user's profile Send private message
okun
n00b
n00b


Joined: 14 Oct 2002
Posts: 9
Location: Finland

PostPosted: Mon Oct 14, 2002 3:38 pm    Post subject: Jabber server won't listen to localhost ports Reply with quote

My jabber server won't listen to localhost ports either. When I start the jabber server with aimtransport (debug enabled -D)
Code:

#/etc/init.d/jabber
./jabberd -c multiple.xml &
./jabberd -D -c aimtrans.xml &

I get lots of this
Code:

base_connect.c:202 Base Connect Failed to connect to 127.0.0.1:5233 Retry [-1] in 2 seconds...

and the transport won't work. I have disabled my firewall, used external ip, and even changed <ip/> into <ip>127.0.0.1</ip> and to that with my external ip in multiple.xml. Nothing seem to work. I also got a lot of
Code:

[warn] (io_select): 127.0.0.1(17) is being connection rate limited

before I increased karma settings, but I think this has to do with the inability to connect to the localhost port. So it's just the consequence(?)

I'm using gcc 3.2 and gentoo 1.4_rc1 now, but almost the same config worked in gentoo 1.2. I've only disabled some transports (yahoo, msn...) that nobody used on my server, so I don't think those has anything to do with it. The same happens with other transports as well, so aimtransport is not an exception.
Back to top
View user's profile Send private message
okun
n00b
n00b


Joined: 14 Oct 2002
Posts: 9
Location: Finland

PostPosted: Sun Nov 24, 2002 8:12 pm    Post subject: Solved prob with the localhost ports. Reply with quote

Problem solved. pth-1.4.1 borked the jabber-server as noted in the package.mask file. Jabber-server works fine with pth-1.4.0 :D
Back to top
View user's profile Send private message
heavy
n00b
n00b


Joined: 28 Sep 2003
Posts: 12

PostPosted: Wed Oct 15, 2003 5:55 am    Post subject: thanks Reply with quote

putting my hostname for my dynamic ip (dyndns.org supplied hostname) in the <ip> tags for both non-ssl port and s2s port and in the <ssl> tag worked to get my server running.

thanks for the tip.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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