|
|
| Author |
Message |
Drakx Lurker

Joined: 17 Feb 2006 Posts: 139
|
Posted: Mar 27, 2006 12:12pm Post subject: ratbox guru required for a small task |
|
|
Hi
Im looking for some one who has setup ratbox before plus there services to take a quick look at my conf's and tell me why the logs are saying
ircd.log
| Code: | | "/usr/home/myname/testing/rat/etc/ircd.conf", line 396: syntax error at ' class = "server"; |
services.log
| Code: | 2006/3/27 14.53 ratbox-services started
2006/3/27 14.53 Connection to server ircd.mydnsname.com/6668 activated
2006/3/27 14.53 Connection to server ircd.mydnsname.com lost: (Write error: Broken pipe)
|
here is the services linking part of the conf
| Code: | connect "ircd.mydnsname.com" {
/* host: the host to connect to */
host = "208.53.174.60";
/* vhost: optional vhost to use for this connection */
vhost = "208.53.174.60";
/* password: the password to use */
password = "mypasshere";
/* port: the port to connect on */
port = 6668;
/* autoconn: auto connect to this server. default yes */
#autoconn = no;
}; |
and this is the ircd linking part
| Code: | connect "services.mydnsname.com" {
host = "208.53.174.60";
#vhost = "208.53.174.60";
send_password = "mypasshere";
accept_password = "mypasshere";
/* port: the port to connect to this server on */
port = 6668;
hub_mask = "*";
#leaf_mask = "*.uk";
/* class: the class this server is in */
class = "server";
flags = compressed, topicburst, autoconn, encrypted;
}; |
The ircd starts up fine and runs but the servcies are just not playing ball :\ at all and im outta ideas so any help would be great.!
Thanks for the time
Drakx
BTW: because this is a test server it does not run all the time i stop it when im finished doing what i need so please dont waste, your time or bandwidth trying to connect  |
|
| Back to top |
|
 |
mouselike Idler

Joined: 09 Dec 2003 Posts: 333 Location: IRC
|
Posted: Mar 27, 2006 12:57pm Post subject: |
|
|
| Quote: | | "/usr/home/myname/testing/rat/etc/ircd.conf", line 396: syntax error at ' class = "server"; |
Please paste what you have at line 396, if you added/removed lines within the config this can relate to anything you have manualy entered into the config.
| Quote: | 2006/3/27 14.53 ratbox-services started
2006/3/27 14.53 Connection to server ircd.mydnsname.com/6668 activated
2006/3/27 14.53 Connection to server ircd.mydnsname.com lost: (Write error: Broken pipe) |
Again you've provided us with no information in regards to what services these actually are you are using, also setup a seperate port for servers to use, 6660-6669 & 7000 is generaly considered but not limited to user ports these days.
| Quote: | connect "ircd.mydnsname.com" {
/* host: the host to connect to */
host = "208.53.174.60";
/* vhost: optional vhost to use for this connection */
vhost = "208.53.174.60";
/* password: the password to use */
password = "mypasshere";
/* port: the port to connect on */
port = 6668;
/* autoconn: auto connect to this server. default yes */
#autoconn = no;
}; |
Check what you have done with the ip's, assuming this is a connect block to another server you have the vhost and host ip's the same, meaning it would double back on it's self on port 6668 which makes no sense then, you need to change either ip. Unless of course this is "IRCservices" configuration you are using and pasted here but I aint checked so my appologies if this is the case. But again use an alternative port.
If that is the case then try connecting services over localhost or a local ethernet ip address which can be found by using /sbin/ifconfig
HOST = The IP of the server you are connecting too (NOT from)
VHOST = The IP of the server you are connecting FROM (NOT TOO), the ip address assigned to your server.
| Quote: | connect "services.mydnsname.com" {
host = "208.53.174.60";
#vhost = "208.53.174.60";
send_password = "mypasshere";
accept_password = "mypasshere";
/* port: the port to connect to this server on */
port = 6668;
hub_mask = "*";
#leaf_mask = "*.uk";
/* class: the class this server is in */
class = "server";
flags = compressed, topicburst, autoconn, encrypted;
}; |
Same as above, check and change ip's as necessary, check to see if the services you are using support compressed and encrypted links as the majority dont.
Autoconn and port isnt worth having here as irc services dont listen on a port, the servies auto connect themselfs and wont connect when an ircd tries to link to them. |
|
| Back to top |
|
 |
Drakx Lurker

Joined: 17 Feb 2006 Posts: 139
|
Posted: Mar 27, 2006 1:59pm Post subject: |
|
|
| mouselike wrote: | | Quote: | | "/usr/home/myname/testing/rat/etc/ircd.conf", line 396: syntax error at ' class = "server"; |
Please paste what you have at line 396, if you added/removed lines within the config this can relate to anything you have manualy entered into the config. |
Sorry i thought that was obvious
class = "server";
| Quote: | 2006/3/27 14.53 ratbox-services started
2006/3/27 14.53 Connection to server ircd.mydnsname.com/6668 activated
2006/3/27 14.53 Connection to server ircd.mydnsname.com lost: (Write error: Broken pipe)
Again you've provided us with no information in regards to what services these actually are you are using, also setup a seperate port for servers to use, 6660-6669 & 7000 is generaly considered but not limited to user ports these days. |
again i thought this was obvious too
ircd-ratbox-services
| Quote: | connect "ircd.mydnsname.com" {
/* host: the host to connect to */
host = "208.53.174.60";
/* vhost: optional vhost to use for this connection */
vhost = "208.53.174.60";
/* password: the password to use */
password = "mypasshere";
/* port: the port to connect on */
port = 6668;
/* autoconn: auto connect to this server. default yes */
#autoconn = no;
};
Check what you have done with the ip's, assuming this is a connect block to another server you have the vhost and host ip's the same, meaning it would double back on it's self on port 6668 which makes no sense then, you need to change either ip. Unless of course this is "IRCservices" configuration you are using and pasted here but I aint checked so my appologies if this is the case. But again use an alternative port.
If that is the case then try connecting services over localhost or a local ethernet ip address which can be found by using /sbin/ifconfig
HOST = The IP of the server you are connecting too (NOT from)
VHOST = The IP of the server you are connecting FROM (NOT TOO), the ip address assigned to your server.
|
services and ircd are using the same host and im not hosting
| Quote: | connect "services.mydnsname.com" {
host = "208.53.174.60";
#vhost = "208.53.174.60";
send_password = "mypasshere";
accept_password = "mypasshere";
/* port: the port to connect to this server on */
port = 6668;
hub_mask = "*";
#leaf_mask = "*.uk";
/* class: the class this server is in */
class = "server";
flags = compressed, topicburst, autoconn, encrypted;
};
Same as above, check and change ip's as necessary, check to see if the services you are using support compressed and encrypted links as the majority dont.
Autoconn and port isnt worth having here as irc services dont listen on a port, the servies auto connect themselfs and wont connect when an ircd
tries to link to them. |
ill give them a try with out them flags and see what happens |
|
| Back to top |
|
 |
Drakx Lurker

Joined: 17 Feb 2006 Posts: 139
|
Posted: Mar 27, 2006 4:57pm Post subject: |
|
|
Its fixed, thanks for your help!  |
|
| Back to top |
|
 |
jilles none

Joined: 22 Jan 2006 Posts: 12
|
Posted: Mar 27, 2006 5:40pm Post subject: solved |
|
|
drakx tried to connect from ircd to services, then tried to connect from services to a port that was not in the ircd conf.
it's fixed now |
|
| Back to top |
|
 |
Drakx Lurker

Joined: 17 Feb 2006 Posts: 139
|
Posted: Mar 27, 2006 5:43pm Post subject: |
|
|
an easy mistake to make  |
|
| Back to top |
|
 |
|
|
| |