Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

first time setting up ratbox-services, could use a hand!

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services
Author Message
askaq
none
none


Joined: 09 Mar 2008
Posts: 4

PostPosted: Mar 09, 2008 9:47am    Post subject: first time setting up ratbox-services, could use a hand! Reply with quote

hey everyone

a few days ago i set up ircd-ratbox on my server, it's working fine but i really need to get ratbox-services working..

i have to admit im a bit lost with this. hence these few questions, and id be grateful if you could help me out

both ircd-ratbox and ratbox-services will be running on one server. ircd-ratbox is sitting on port 6667. im lost when it comes to setting up servies, where should they connect?

ive configured ratbox-services like this: (connect bloack)
Code:
connect "myircservaddress" {
host="10.0.0.1";
password="somepassword";
port=6668;
};

ircd.conf is set up like this: (two blocks, service and connect - since i guess those matter)
Code:
connect "myircservaddress" {
host="10.0.0.1";
send_password="somepassword";
accept_password="somepassword";
port=6668;
flags=~encrypted,~autoconn;
};

Code:
service {
name="myircservaddress";
};

i can start both ircd and services but services fail to.. communicate with ircd. i have a 'broken pipe' error in ratbox-services logs.

could anyone push me in the right direction?

thanks in advance,
askaq

PS myircservaddress is a valid url, anit-spam didnt let me post urls
Back to top
mouselike
Lurker
Lurker


Joined: 09 Dec 2003
Posts: 227

PostPosted: Mar 09, 2008 10:01am    Post subject: Re: first time setting up ratbox-services, could use a hand! Reply with quote

askaq wrote:

PS myircservaddress is a valid url, anit-spam didnt let me post urls


I am guessing the IP address 10.0.0.1 is the one you are trying to use, try using 127.0.0.1

also you say your ircd is listening on 6667 but your blocks show port 6668, this shouldnt really matter if services are setup to connect to the ircd but if your ircd isnt setup to listen on 6668 either then its not going to connect.

ratbox services do give a bit of a headache when someone isnt familiar with them, have you tried using the likes of others i.e atheme which has ratbox support.
Back to top
askaq
none
none


Joined: 09 Mar 2008
Posts: 4

PostPosted: Mar 09, 2008 11:03am    Post subject: Reply with quote

the server has two interfaces, eth0 and eth1, so it's both 127.0.0.1 and 10.0.0.1

okay so fixed the ports, they match now.. now im getting these errors/warnings/notices:
ratbox-services log:
Code:
2008/3/9 18.02 Connection to server orion.lo1.edu.pl/6668 activated
2008/3/9 18.02 Connection to server <server> established
2008/3/9 18.02 Connection to server <server> error: (Server already exists.)

(replaced real address, id rather keep it private)
and the notice i got:
Code:

!<server> *** Notice -- Attempt to re-introduce server <server> from [@255.255.255.255]

ill try atheme a bit later, thanks for the tip.. but i really want to get ratbox up and running, since i feel that with ratbox ill get a better understanding of how it works.. like slackware against ubuntu, that kind of stuff Wink

--- EDIT

also, im concerned about the host="" thingy found in each of the service {} blocks in ratbox-services.conf. they're set to "services.int" by default and their role/behavior isn't really described anywhere.

askaq
Back to top
askaq
none
none


Joined: 09 Mar 2008
Posts: 4

PostPosted: Mar 09, 2008 12:15pm    Post subject: Reply with quote

solved.. kinda embarrassing, i accidentally tried to use the SAME server name for services and ircd.

thanks for you help.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer