Page 1 of 1
8 Errors in "Set Block" (Win32)
Posted: Thu Sep 02, 2004 10:52 pm
by LT FOX
This is what I get while attempting to start "WIRCD"
Code: Select all
* Loading IRCd configuration ..
* unrealircd.conf:5: Ignoring extra data
* unrealircd.conf:5: Ignoring extra data
* unrealircd.conf:13: Ignoring extra data
* unrealircd.conf:13: Ignoring extra data
* unrealircd.conf:32: Ignoring extra close brace
* unrealircd.conf:32 Ignoring extra semicolon
* unrealircd.conf:61: Ignoring extra data
* unrealircd.conf:61: Ignoring extra data
* unrealircd.conf:88: Ignoring extra data
* unrealircd.conf:68: unknown directive dns
* unrealircd.conf:79: unknown directive hosts
[error] set::dns::nameserver missing
[error] set::dns::timeout missing
[error] set::dns::retries missing
[error] set::hosts::global missing
[error] set::hosts::admin missing
[error] set::hosts::servicesadmin missing
[error] set::hosts::netadmin missing
[error] set::hosts::coadmin missing
[error] 8 errors encountered
[error] IRCd configuration failed to pass testing
Why do I get these errors? I have my set block set correctly with everything needed in it, filled with correct values.... Can someone please help me?!?!
EDIT: I DO have those fields in the error filled in as well....
Posted: Thu Sep 02, 2004 11:04 pm
by w00t
It will have something to do with all that "ignoring extra data" "missing semicolon" and stuff.
Basically, you probably forgot to close a block somewhere

Posted: Thu Sep 02, 2004 11:32 pm
by tomcat
That always happened on me
1 missing ; could make that happen
w00t wrote:It will have something to do with all that "ignoring extra data" "missing semicolon" and stuff.
Basically, you probably forgot to close a block somewhere

Posted: Fri Sep 03, 2004 12:14 am
by AngryWolf
LT FOX, you have syntax errors in your configuration. In the error message you pasted, WIRCD shows you in what file, on what line the error is and why (these are the error messages prefixed with "*"). As soon as the syntax errors are corrected, the error messages that start with prefix "[error]" will surely disappear.
If you aren't familiar enough with the configuration format, I suggest you to reread section 4 of doc\unreal32docs.html. Otherwise you should be able to find out the mistakes and correct them. By the way, sometimes the error is not straightly on the line that WIRCD thinks. Good luck.

I understand..
Posted: Fri Sep 03, 2004 11:46 am
by LT FOX
I understand where everything is, but it is all there! Close block and everything... I will try to edit, and see if that helps, but I am not sure it will... Here is the entire block;
Code: Select all
set {
kline-address [email protected];
maxchannelsperuser 10;
};
dns {
nameserver IP;
timeout 1d2h3m;
retries 100;
};
set {
services-server SERVER-NAME;
default-server DEFAULT-IP;
network-name NETWORK-NAME;
hiddenhost-prefix IRC;
};
hosts {
global TITLE-HERE;
admin TITLE-HERE;
servicesadmin TITLE-HERE;
netadmin TITLE-HERE;
coadmin TITLE-HERE;
};
set {
help-channel #Lobby;
hiddenhost-prefix IRC;
cloak-keys {"mykey1"; "mykey2"; "mykey3;};
};
What is wrong with it, anyone?
Posted: Fri Sep 03, 2004 12:01 pm
by AngryWolf
"Trying to edit" is not the best approach to fix syntax errors. If you don't know the syntax, that will be a hard work.
Well, let me help you a bit. Two error messages are displayed regarding line 5. That usually means, 2 characters are assumed as extra data on that line. I suppose they are the beginning of the "me" block. Which gives me the idea that there is a missing semicolon on the previous line (or if that line's empty or it's a comment, then the syntax error is a bit further from line 5). That's why I said the error is not always on the line that Wircd thinks.
Posted: Fri Sep 03, 2004 12:03 pm
by AngryWolf
Oh, I didn't notice that you modified your last post. The dns and the hosts blocks go into your set block. See doc/example.conf if you don't know what I mean.
All done, now what!?!
Posted: Fri Sep 03, 2004 8:20 pm
by LT FOX
Ok, I have done that, and redone my system configuration Unreal IRCD Config file... Here is what it looks like:
Code: Select all
loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
me {
name MY.NETWORK;
info MY.NETWORK;
numeric 1;
};
admin {
"MYINFO";
"MYNICK";
"[email protected]";
};
class servers{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
class clients{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
allow {
ip user@*@*;
hostname user@*@*;
class <connection-class>;
maxperip 20;
redirect-server NETWORK.IP.ADDRESS.HERE;
redirect-port 6667;
};
};
listen NETWORK.IP.ADDRESS.HERE:6667 {
options {
ssl;
clientsonly;
};
};
oper NAME {
class clients;
from {
userhost [email protected];
userhost [email protected];
};
password "MYPASSWORD";
flags {
netadmin;
can_gkline;
can_gzline;
can_zline;
can_restart;
can_die;
global;
};
swhois "Example of a whois mask";
snomask frebWqFv;
};
drpass {
restart Restarting the Services;
die You-Have-Been-Killed;
};
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"Kl15gofojFD4646854fdipjFUpkg";
"fklahfJF354fsfjbvF546dVCMVOI";
};
/* on-oper host */
hosts {
local "locop.MY.NETOWRK";
global "ircop.MY.NETOWRK";
coadmin "coadmin.MY.NETOWRK";
admin "admin.MY.NETOWRK";
servicesadmin "csops.MY.NETOWRK";
netadmin "netadmin.MY.NETOWRK";
host-on-oper-up "no";
};
};
set {
kline-address "[email protected]";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#Lobby";
dns {
nameserver Server.IP.GOES.HERE;
timeout 2s;
retries 2;
};
options {
hide-ulines;
show-connect-info;
};
That is the config file, when I try to launch the IRCD, here is the error:
Code: Select all
* Loading IRCd configuration ..
* unrealircd.conf:14: Ignoring extra data
* unrealircd.conf:14: Ignoring extra data
* unrealircd.conf:22: Ignoring extra close brace
* unrealircd.conf:22 Ignoring extra semicolon
* unrealircd.conf:24: Ignoring extra data
* unrealircd.conf:24: Ignoring extra data
* unrealircd.conf:32: Ignoring extra close brace
* unrealircd.conf:32 Ignoring extra semicolon
* unrealircd.conf:42: Ignoring extra close brace
* unrealircd.conf:42 Ignoring extra semicolon
* unrealircd.conf:71: Ignoring extra data
* unrealircd.conf:71: Ignoring extra data
* unrealircd.conf:89: Ignoring extra close brace
* unrealircd.conf:89 Ignoring extra semicolon
[error] unrealircd.conf: Unexpected EOF for section starting on line 90
[error] Could not load config file unrealircd.conf
[error] IRCd configuration failed to load
Any suggestions/help!?!
Posted: Fri Sep 03, 2004 11:44 pm
by AngryWolf
Is that difficult to understand the documentation?
1. In the allow block, the values you've specified for allow::ip and allow::hostname are wrong. They should be user@host masks, but you wrote user@*@*. user@* would be correct.
2. The allow block has been closed twice. One "};" is enough.
3. "cloak-keys" and "hosts" are sub blocks of the set block (set::cloak-keys and set::hosts).
4. Your set::options block hasn't been closed with a "};".
That's all the syntax errors I could find.
I will create those...
Posted: Sat Sep 04, 2004 11:36 am
by LT FOX
I will create those changes sir, for me it is hard to understand the documentation, for this is my first time setting it all up, even dealing with IRCD.... I thank you for your time and I am sorry for the trouble that may have been caused for you....
FIXED!
Posted: Sat Sep 04, 2004 12:05 pm
by LT FOX
Thanks! I fixed syntax and it is up and running, the only problem is no one is authorized to join.... Well, I will try my hardest to figure that one out!

You helped me greatly AngryWolf, it was a pleasure!

Thanks man!
Done
Posted: Sat Sep 04, 2004 1:01 pm
by LT FOX
Nevermind, I fixed it, I had my wildcards set wrong on my Allow block, like I had
when it should have been
So anyone can join!

My Server will be ready to go as soon as I get my services, so thanks AngryWolf!
Posted: Sat Sep 04, 2004 4:23 pm
by AngryWolf
You're welcome.
