|
|
| Author |
Message |
cycykewl none

Joined: 25 May 2009 Posts: 4
|
Posted: May 25, 2009 3:26pm Post subject: ratbox-services link error |
|
|
I have a link problem...
Here my configuration files :
ircd.conf
| Code: |
serverinfo {
name = "toto";
use_ts6 = yes;
sid = "66L";
description = "toto' IRC server";
network_name = "ircd-ratbox";
network_desc = "ircd-ratbox network";
hub = no;
default_max_clients = 10000;
};
admin {
[ ... ]
};
log {
fname_userlog = "/var/log/ircd/user.log";
fname_operlog = "/var/log/ircd/oper.log";
fname_serverlog = "/var/log/ircd/server.log";
fname_glinelog = "/var/log/ircd/gline.log";
fname_killlog = "/var/log/ircd/kill.log";
fname_operspylog = "/var/log/ircd/operspy.log";
};
listen {
host = "0.0.0.0";
port = 6667;
};
auth {
user = "* *";
class = "users";
# flags = need_ident;
};
/* uncomment and adjust your setting if you're using ratbox-services package.
connect "ratbox.services" {
host = "127.0.0.1";
send_password = "pass";
accept_password = "pass";
port = 6006;
class = "server";
flags = topicburst;
};
*/
channel {
no_create_on_split = no;
};
modules {
path = "/usr/share/ircd/modules";
path = "/usr/share/ircd/modules/autoload";
}; |
ratbox-services.conf
| Code: | serverinfo {
name = "ratbox.services";
sid = "66K";
description = "ratbox services";
ratbox = yes;
};
admin {
name = "Administrator";
description = "Main Server Administrator";
email = "<root@localhost>";
};
connect "ircd.ratbox" {
host = "127.0.0.1";
password = "pass"; /* this password needs to be changed */
port = 6667;
};
service "userserv" {
nick = "USERSERV";
username = "user";
host = "services.int";
realname = "user registration service";
flags = opered, msg_self;
loglevel = 5;
};
service "chanserv" {
nick = "CHANSERV";
username = "chan";
host = "services.int";
realname = "channel registration service";
flags = opered, login_help;
};
service "nickserv" {
nick = "NICKSERV";
username = "nick";
host = "services.int";
realname = "nickname services";
flags = opered, msg_self, disabled;
warn_string = "This nickname is registered, you may be disconnected if a user regains this nickname.";
}; |
in ratbox-services logs, I have :
2009/5/25 19.49 Connection to server ircd.ratbox/6667 activated
2009/5/25 19.49 Connection to server ircd.ratbox established
2009/5/25 19.49 Connection to server ircd.ratbox error: (Closing Link: 127.0.0.1 (Invalid servername.))
what's wrong ? Does anyone can help me plz ?
thx in advance! |
|
| Back to top |
|
 |
katsklaw Guru

Joined: 28 Jun 2004 Posts: 1604 Location: Somewhere you're not.
|
Posted: May 25, 2009 6:44pm Post subject: |
|
|
serverinfo {
name = "toto";
use_ts6 = yes;
sid = "66L";
description = "toto' IRC server";
network_name = "ircd-ratbox";
network_desc = "ircd-ratbox network";
hub = no;
default_max_clients = 10000;
};
Most ircds/services require at least 1 dot in the servername field. |
|
| Back to top |
|
 |
cycykewl none

Joined: 25 May 2009 Posts: 4
|
Posted: May 26, 2009 2:16am Post subject: |
|
|
sorry ... toto is just an example for this post ... In real, it's a CQDN
and this morning I have an another problem :
10:11 -!- ERROR Closing Link: xxx.suresnes.rev.numericable.fr (No more connections allowed in your connection class) |
|
| Back to top |
|
 |
mouselike Idler

Joined: 09 Dec 2003 Posts: 316 Location: IRC
|
Posted: May 26, 2009 2:48am Post subject: |
|
|
Tbh you've pasted a config file to us that shows us no problem as you've removed all the vital parts i.e the server names and ip's and if it is/or going to be lsitening on a ipv4 then its useful to know that these are configured right.
Also you should let services do the auto-connecting to the ircd and move it off port 6667.
We cant help with the connecion class blah blah is full because again you havent pasted the relevant parts needed so we can get some understanding what's going on with it. |
|
| Back to top |
|
 |
cycykewl none

Joined: 25 May 2009 Posts: 4
|
Posted: May 26, 2009 7:02am Post subject: |
|
|
ok. So i past all my config file without touch the content (just password)
ircd.conf
| Code: | /* doc/ircd.conf - ircd-ratbox Example configuration file
* Default configuration for Fedora project,
* please consult /etc/ircd/example.conf for detailed informations
*/
serverinfo {
name = "irc.desmo-riders.fr";
use_ts6 = yes;
sid = "66L";
description = "desmo-riders' IRC server";
network_name = "ircd-ratbox";
network_desc = "ircd-ratbox network";
hub = no;
default_max_clients = 1000;
};
admin {
[ .. ]
};
log {
fname_userlog = "/var/log/ircd/user.log";
fname_operlog = "/var/log/ircd/oper.log";
fname_serverlog = "/var/log/ircd/server.log";
fname_glinelog = "/var/log/ircd/gline.log";
fname_killlog = "/var/log/ircd/kill.log";
fname_operspylog = "/var/log/ircd/operspy.log";
};
listen {
host = "0.0.0.0";
port = 6667;
};
class {
name = "users";
ping_time = 90 seconds;
number_per_ip = 10;
max_number = 100;
sendq = 100kbytes;
number_per_ident = 10000;
};
auth {
user = "*@*";
class = "users";
# flags = need_ident;
};
/* uncomment and adjust your setting if you're using ratbox-services package.
connect "ratbox.services" {
host = "127.0.0.1";
send_password = "pass";
accept_password = "pass";
port = 6006;
class = "server";
flags = topicburst;
};
*/
channel {
no_create_on_split = no;
};
modules {
path = "/usr/share/ircd/modules";
path = "/usr/share/ircd/modules/autoload";
}; |
ratbox-services.conf
| Code: | serverinfo {
name = "ratbox.services";
sid = "66K";
description = "ratbox services";
ratbox = yes;
};
admin {
[ ... ]
};
connect "ircd.ratbox" {
host = "127.0.0.1";
password = "pass"; /* this password needs to be changed */
port = 6667;
};
service "userserv" {
nick = "USERSERV";
username = "user";
host = "services.int";
realname = "user registration service";
flags = opered, msg_self;
loglevel = 5;
};
service "chanserv" {
nick = "CHANSERV";
username = "chan";
host = "services.int";
realname = "channel registration service";
flags = opered, login_help;
};
service "nickserv" {
nick = "NICKSERV";
username = "nick";
host = "services.int";
realname = "nickname services";
flags = opered, msg_self, disabled;
warn_string = "This nickname is registered, you may be disconnected if a user regains this nickname.";
}; |
I've installed ratbox and ratbox-services with yum on my centos ... so it's the configuration of this package. |
|
| Back to top |
|
 |
hooiz none

Joined: 13 Apr 2004 Posts: 30
|
Posted: May 26, 2009 12:05pm Post subject: |
|
|
first, on the ircd side you're telling the daemon to connect to services at port 6006. however, on the services side you're telling them to connect to the ircd at port 6667.
second, you only have port 6667 in the listen block, and not 6006.
--
hooiz |
|
| Back to top |
|
 |
katsklaw Guru

Joined: 28 Jun 2004 Posts: 1604 Location: Somewhere you're not.
|
Posted: May 26, 2009 2:44pm Post subject: |
|
|
| hooiz wrote: | first, on the ircd side you're telling the daemon to connect to services at port 6006. however, on the services side you're telling them to connect to the ircd at port 6667.
second, you only have port 6667 in the listen block, and not 6006.
--
hooiz |
That connect block is completely commented out so it's not valid anyway.
Anything within /* */ regardless of how many lines is a comment and you don't have to start a new line with a *.
| Code: |
/* stuff
* here is the
* same
*/
|
as
| Code: |
/*
this
stuff
here
too
*/
|
|
|
| Back to top |
|
 |
Invisible Idler

Joined: 26 Jul 2005 Posts: 280
|
Posted: May 26, 2009 3:08pm Post subject: |
|
|
| katsklaw wrote: |
Anything within /* */ regardless of how many lines is a comment and you don't have to start a new line with a *.
| Code: |
/* stuff
* here is the
* same
*/
|
as
| Code: |
/*
this
stuff
here
too
*/
|
|
(slightly off topic)
This is true. It is in fact the reason that a second comment style was added besides //, so that you didn't have to put something on every line. The stars are really just to help it look "commented" |
|
| Back to top |
|
 |
nenolod Idler

Joined: 23 Jan 2004 Posts: 357 Location: A box!
|
Posted: Jun 06, 2009 1:45am Post subject: |
|
|
| Invisible wrote: | (slightly off topic)
This is true. It is in fact the reason that a second comment style was added besides //, so that you didn't have to put something on every line. The stars are really just to help it look "commented" |
Actually, /* */ predates //. // comments were added in C++.
/* */ style comments go back to BCPL, a distant predecessor of C. |
|
| Back to top |
|
 |
|