Problems with IRCu

Ask your questions about ircu and GNUWorld, share your ideas, and help the coders in their work.
Daltocli
Posts: 2
Location: United Kingdom

Problems with IRCu

Post by Daltocli »

Heya,

I seem to be having problems with IRCu... I keep getting the following error when I run ./ircd:

Output:

Code: Select all

[2007-9-7 13:11:38] SYSTEM [CRIT]: Failed to read configuration file ircd.conf


The configuration file is as follows:

lib/ircd.conf:

Code: Select all

General {
         name = "hub.us.xyz.com";
         description = "Meep";
         numeric = 1;
};

Admin {
  Location = "XYZ";
  Location = "Network Operations";
  Contact = "<network@xyz.com>";
};

# All your server uplinks you are not a hub for.
Class {
 name = "Server";
 pingfreq = 1 minutes 30 seconds;
 connectfreq = 5 minutes;
 maxlinks = 1;
 sendq = 9000000;
};
# All the leaf servers you hub for.
Class {
 name = "LeafServer";
 pingfreq = 1 minutes 30 seconds;
 connectfreq = 5 minutes;
 maxlinks = 0;
 sendq = 9000000;
};

# Client classes. 10 = locals; 2 = for all .net and .com that are not
# in Europe; 1 = for everybody.
Class {
 name = "Local";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 100;
 usermode = "+iw";
};
Class {
 name = "America";
 pingfreq = 1 minutes 30 seconds;
 sendq = 80000;
 maxlinks = 5;
};
Class {
 name = "Other";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 400;
};

Class {
 name = "LocOps";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 10;

 local = yes;
 chan_limit = yes;
 mode_lchan = yes;
 show_invis = yes;
 show_all_invis = yes;
 local_kill = yes;
 rehash = yes;
 local_opmode = yes;
 whox = yes;
 display = yes;
 force_local_opmode = yes;
};

Class {
 name = "GlobOps";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 10;

 local = no;
 whox = yes;
 display = yes;
 chan_limit = yes;
 mode_lchan = yes;
 deop_lchan = yes;
 show_invis = yes;
 show_all_invis = yes;
 local_kill = yes;
 rehash = yes;
 local_gline = yes;
 see_chan = yes;
 list_chan = yes;
 see_opers = yes;
 local_opmode = yes;
 force_local_opmode = yes;
 kill = yes;
 opmode = yes;
 force_opmode = yes;
};

Class {
 name = "ServerAdmins";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 10;

 local = yes;
 whox = yes;
 display = yes;
 chan_limit = yes;
 mode_lchan = yes;
 deop_lchan = yes;
 walk_lchan = yes;
 show_invis = yes;
 show_all_invis = yes;
 unlimit_query = yes;
 local_kill = yes;
 rehash = yes;
 restart = yes;
 die = yes;
 local_jupe = yes;
 set = yes;
 local_gline = yes;
 local_badchan = yes;
 see_chan = yes;
 list_chan = yes;
 wide_gline = yes;
 see_opers = yes;
 local_opmode = yes;
 force_local_opmode = yes;
 kill = yes;
 opmode = yes;
 badchan = yes;
 force_opmode = yes;
 apass_opmode = yes;
};

Class {
 name = "NetAdmins";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 10;

 local = no;
 whox = yes;
 display = yes;
 chan_limit = yes;
 mode_lchan = yes;
 deop_lchan = yes;
 walk_lchan = yes;
 show_invis = yes;
 show_all_invis = yes;
 unlimit_query = yes;
 local_kill = yes;
 rehash = yes;
 restart = yes;
 die = yes;
 local_jupe = yes;
 set = yes;
 local_gline = yes;
 local_badchan = yes;
 see_chan = yes;
 list_chan = yes;
 wide_gline = yes;
 see_opers = yes;
 local_opmode = yes;
 force_local_opmode = yes;
 kill = yes;
 gline = yes;
 jupe_server = yes;
 opmode = yes;
 badchan = yes;
 force_opmode = yes;
 apass_opmode = yes;
};

# This is the "fallback" entry. All .uk, .nl, and all unresolved are
# in these two lines.
# By using two different lines, multiple connections from a single IP
# are only allowed from hostnames which have both valid forward and
# reverse DNS mappings.
Client
{
 class = "Other";
 ip = "*@*";
};


Client
{
 class = "Other";
 host = "*@*";
};
# If you don't want unresolved dudes to be able to connect to your
# server, do not specify any "ip = " settings.
#
# Here, take care of all American ISPs.
Client
{
 host = "*@*.com";
 class = "America";
};

Client
{
 host = "*@*.net";
 class = "America";
};
# Now list all the .com / .net domains that you wish to have access...
# actually it's less work to do it this way than to do it the other
# way around - K-lining every single ISP in the US.
# I wish people in Holland just got a .nl domain, and not try to be
# cool and use .com...
Client { host = "*@*.wirehub.net"; class = "Other";};
Client { host = "*@*.planete.net"; class = "Other";};
Client { host = "*@*.ivg.com"; class = "Other";};
Client { host = "*@*.ib.com"; class = "Other";};
Client { host = "*@*.ibm.net"; class = "Other";};
Client { host = "*@*.hydro.com"; class = "Other";};
Client { host = "*@*.nl.net"; class = "Local";};

# You can request a more complete listing, including the "list of standard
# Kill blocks" from the Routing Committee; it will also be sent to you if
# you apply for a server and get accepted.
#
# Ourselves - this makes sure that we can get in, no matter how full
# the server is (hopefully).
Client
{
 host = "*daltocli@149.254.*";
 ip = "*@149.254.*";
 class = "Local";
};

# If you are not worried about who connects, this line will allow everyone
# to connect.
Client {
 host = "*@*";
 ip = "*@*";
 class = "Other";
};

UWorld {
 name = "uworld.xyz.com";
 name = "uworld.us.xyz.com";
 name = "channels.xyz.com";
 name = "services.xyz.com";
};

# As of ircu2.10.05 is it possible to Jupe nicks. As per CFV-0095 and
# CFV-0255, the following nicks must be juped, it is not allowed to
# jupe others as well.
Jupe {
 nick = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,{,|,},~,-,_,`";
 nick = "EuWorld,UWorld,UWorld2";
 nick = "login,xyz,protocol,pass,newpass,com";
 nick = "StatServ,NoteServ";
 nick = "ChanSvr,ChanSaver,ChanServ";
 nick = "NickSvr,NickSaver,NickServ";
 nick = "LPT1,LPT2,COM1,COM2,COM3,COM4,AUX";
};

# You can also kill based on username.
Kill { username = "sub7"; realname = "s*7*"; reason = "You are infected with a Trojan"; };

# The file can contain for example, a reason, a link to the
# server rules and a contact address.  Note the combination
# of username and host in the host field.
Kill
{
 host = "*luser@unixbox.flooder.co.uk";
 file = "kline/youflooded.txt";
};

# IP-based kill lines apply to all hosts, even if an IP address has a
# properly resolving host name.
Kill
{
 host = "192.168.*";
 file = "klines/martians";
};

# The realname field lets you ban by realname...
Kill
{
 realname = "*sub7*";
 reason = "You are infected with a Trojan";
};

# Our primary uplink.
Connect {
 name = "services.xyz.com";
 host = "1.1.1.1";
 password = "pwdhere";
 port = 4400;
 class = "Server";
 hub;
};

CRULE
{
 server = "*.us.xyz.com";
 rule = "connected(*.us.xyz.com)";
};
CRULE
{
 server = "*.eu.xyz.com";
 rule = "connected(*.eu.xyz.com)";
};
CRULE
{
 server = "*.as.xyz.com";
 rule = "connect(*.as.xyz.com)";
};
CRULE
{
 server = "*.au.xyz.com";
 rule = "connected(*.au.xyz.com)";
};

# The following block is recommended for leaf servers:
CRULE
{
 server = "*";
 rule = "directcon(*)";
};

Operator {
 host = "*daltocli@149.254.*";
 password = "pwdhere";
 name = "Daltocli";
 class = "NetAdmins";
};

Port {
 server = yes;
 port = 4400;
};

# This is an IPv4-only Server port that is Hidden
Port {
 vhost = "1.1.1.1";
 server = yes;
 hidden = yes;
 port = 4401;
};

# The following are normal client ports
Port {
 vhost = "1.1.1.1";
 port = 6667;
};
Port {
 vhost = "1.1.1.1";
 port = 6668;
};
Port {
 # This only accepts clients with IPs like 192.168.*.
 mask = "192.168.*";
 port = 6666;
};

# This is a hidden client port, listening on 168.8.21.107.
Port {
 vhost = "1.1.1.1";
 hidden = yes;
 port = 7000;
};

Quarantine {
  "#shells" = "Thou shalt not support the h4><0rz";
  "&kiddies" = "They can take care of themselves";
};

Pseudo "CHANSERV" {
 name = "X";
 nick = "X@services.xyz.com";
};

# You can also prepend text before the user's message.
Pseudo "LOGIN" {
 name = "X";
 prepend = "LOGIN ";
 nick = "X@services.xyz.com";
};

features
{
 "LOG" = "SYSTEM" "FILE" "/home/xyz/ircu/lib/ircd.log";
 "LOG" = "SYSTEM" "LEVEL" "CRIT";
 "KILL_IPMISMATCH"="FALSE";
 "IDLE_FROM_MSG"="TRUE";
 "HUB"="TRUE";
 "WALLOPS_OPER_ONLY"="RUE";
 "DEFAULT_LIST_PARAM"="TRUE";
 "NETWORK"="RiftIRC";
 "HOST_HIDING"="TRUE";
 "HIDDEN_HOST"="users.xyz.com";
#  "HIDDEN_IP"="127.0.0.1";
 "MAXCHANNELSPERUSER"="10";
 "NICKLEN" = "31";
 "PINGFREQUENCY" = "120";
 "CONNECTFREQUENCY" = "600";
 "MPATH" = "/home/xyz/ircu/lib/ircd.motd";
 "RPATH" = "/home/xyz/ircu/lib/remote.motd";
 "PPATH" = "/home/xyz/ircu/lib/ircd.pid";
 "IPCHECK_CLONE_LIMIT" = "3";
 "IPCHECK_CLONE_PERIOD" = "40";
 "IPCHECK_CLONE_DELAY" = "600";
 "CHANNELLEN" = "200";
 "OPLEVELS" = "TRUE";
 "ZANNELS" = "TRUE";
 "LOCAL_CHANNELS" = "TRUE";
 "ANNOUNCE_INVITES" = "FALSE";
 "HIS_SNOTICES" = "TRUE";
 "HIS_SNOTICES_OPER_ONLY" = "TRUE";
 "HIS_DEBUG_OPER_ONLY" = "TRUE";
 "HIS_WALLOPS" = "TRUE";
 "HIS_MAP" = "TRUE";
 "HIS_LINKS" = "TRUE";
 "HIS_TRACE" = "TRUE";
 "HIS_STATS_a" = "TRUE";
 "HIS_STATS_c" = "TRUE";
 "HIS_STATS_d" = "TRUE";
 "HIS_STATS_e" = "TRUE";
 "HIS_STATS_f" = "TRUE";
 "HIS_STATS_g" = "TRUE";
 "HIS_STATS_i" = "TRUE";
 "HIS_STATS_j" = "TRUE";
 "HIS_STATS_J" = "TRUE";
 "HIS_STATS_k" = "TRUE";
 "HIS_STATS_l" = "TRUE";
 "HIS_STATS_L" = "TRUE";
 "HIS_STATS_m" = "TRUE";
 "HIS_STATS_M" = "TRUE";
 "HIS_STATS_o" = "TRUE";
 "HIS_STATS_p" = "TRUE";
 "HIS_STATS_q" = "TRUE";
 "HIS_STATS_r" = "TRUE";
 "HIS_STATS_R" = "TRUE";
 "HIS_STATS_t" = "TRUE";
 "HIS_STATS_T" = "TRUE";
 "HIS_STATS_u" = "FALSE";
 "HIS_STATS_U" = "TRUE";
 "HIS_STATS_v" = "TRUE";
 "HIS_STATS_w" = "TRUE";
 "HIS_STATS_x" = "TRUE";
 "HIS_STATS_y" = "TRUE";
 "HIS_STATS_z" = "TRUE";
 "HIS_STATS_IAUTH" = "TRUE";
 "HIS_WHOIS_SERVERNAME" = "TRUE";
 "HIS_WHOIS_IDLETIME" = "TRUE";
 "HIS_WHOIS_LOCALCHAN" = "TRUE";
 "HIS_WHO_SERVERNAME" = "TRUE";
 "HIS_WHO_HOPCOUNT" = "TRUE";
 "HIS_MODEWHO" = "TRUE";
 "HIS_BANWHO" = "TRUE";
 "HIS_KILLWHO" = "TRUE";
 "HIS_REWRITE" = "TRUE";
 "HIS_REMOTE" = "TRUE";
 "HIS_NETSPLIT" = "TRUE";
 "HIS_SERVERNAME" = "*.xyz.com";
 "HIS_SERVERINFO" = "XYZ";
 "HIS_URLSERVERS" = "http://www.xyz.com/network/";
# "URLREG" = "http://my.xyz.com/";
};


Any help would be greatly appreciated!
Cheers,
~ Daltocli

Devorador
Posts: 2

Post by Devorador »

I see the problem:
"WALLOPS_OPER_ONLY"="RUE";

Is tru and you write rue, if ave problems again try run ./ircd -k and say wich is the bad line.

Greetings

Devorador
Posts: 2

Post by Devorador »

Try run ./ircd -k I don't relly see the problem, but with -k say what line is wrong,
Good luck