Page 1 of 1

Booting: UnrealIRCd can't find values which are there

Posted: Sat Sep 09, 2006 5:58 am
by Robert Humphries
Hello,
I have tried setting up the server, but failed at starting it, and I cant see the problem, or why this is happening. The config file has all the needed values, but the server cant find certain ones, causing it to fail. I have checked all my comments, and it all seems to be fine. I also get several "ignoring extra data" comments when trying to start the server. I will post a copy of my config file here, and the server.log file.

Thanks,
Robert

http://bobthebest.com/service.log
http://bobthebest.com/unrealircd.conf

Posted: Sat Sep 09, 2006 10:24 am
by Jobe
First of all the following needs to be commented out by putting it between a /* and a */:

Code: Select all

	options:
	OLD	|	NEW
	S		ssl
	Z		zip
	N/A		autoconnect
	N/A		quarantine
	N/A		nodnscache
That should help if it doesnt post the errors and someone can have another look.

Posted: Sat Sep 09, 2006 1:19 pm
by Robert Humphries
Same errors I believe.

Service.log:

* Loading IRCd configuration ..
* unrealircd.conf:287: Ignoring extra data
* unrealircd.conf:287: Ignoring extra data
* unrealircd.conf:288: Ignoring extra data
* unrealircd.conf:288: Ignoring extra data
* unrealircd.conf:289: Ignoring extra data
* unrealircd.conf:289: Ignoring extra data
* unrealircd.conf:290: Ignoring extra data
* unrealircd.conf:290: Ignoring extra data
* unrealircd.conf:291: Ignoring extra data
* unrealircd.conf:291: Ignoring extra data
* unrealircd.conf:292: Ignoring extra data
* unrealircd.conf:292: Ignoring extra data
* unrealircd.conf:327: Ignoring extra data
* unrealircd.conf:699: Ignoring extra data
* unrealircd.conf:286: unknown directive options:
[error] set::services-server is missing
[error] set::default-server is missing
[error] set::network-name is missing
[error] set::hosts::global is missing
[error] set::hosts::admin is missing
[error] set::hosts::servicesadmin is missing
[error] set::hosts::netadmin is missing
[error] set::hosts::coadmin is missing
[error] set::help-channel is missing
[error] set::hiddenhost-prefix is missing
[error] set::cloak-keys missing!
[error] 11 errors encountered
[error] IRCd configuration failed to pass testing

Updated Config: http://bobthebest.com/unrealircd.conf


Note: The values are there, but for some reason it seems to see the "set { " line as extra data, and therefore don't reconise any of the values.

Posted: Sat Sep 09, 2006 2:44 pm
by Jobe
And yet at line 287 i still find, uncommented the code which needs to be commented out. Change this:

Code: Select all

 *      ciphers "DES-CBC3-MD5";
 * 
 * };
*/

	options:
	OLD	|	NEW
	S		ssl
	Z		zip
	N/A		autoconnect
	N/A		quarantine
	N/A		nodnscache

/*
 *link            hub.demorgans.net
to this:

Code: Select all

 *      ciphers "DES-CBC3-MD5";
 * 
 * };
*/
/*
	options:
	OLD	|	NEW
	S		ssl
	Z		zip
	N/A		autoconnect
	N/A		quarantine
	N/A		nodnscache
*/
/*
 *link            hub.demorgans.net

Posted: Sat Sep 09, 2006 10:09 pm
by Robert Humphries
ok, sorry. I commented a different block, which had already been commented it seems. (Thats what you get when you edit config files at 6 in the morning)

Fixed that, now the only errors I get are:

* Loading IRCd configuration ..
* unrealircd.conf:700: Ignoring extra data
[error] set::services-server is missing
[error] set::default-server is missing
[error] set::network-name is missing
[error] set::hosts::global is missing
[error] set::hosts::admin is missing
[error] set::hosts::servicesadmin is missing
[error] set::hosts::netadmin is missing
[error] set::hosts::coadmin is missing
[error] set::help-channel is missing
[error] set::hiddenhost-prefix is missing
[error] set::cloak-keys missing!
[error] 11 errors encountered
[error] IRCd configuration failed to pass testing


This may just be a commenting error somewhere, while I am not new to IRC and programming, I am new to setting up my own config file, and when I wrote it, I was quite tired.

Thanks for your help :)

Updated config file: http://bobthebest.com/unrealircd.conf

Posted: Sat Sep 09, 2006 10:15 pm
by Jobe
Ok on line 700 you will find:

Code: Select all

include vhost.conf
This needs to have a ";" on the end and the file name needs to be enclosed in "'s like:

Code: Select all

include "vhost.conf";
Hope thats the last thing because i couldnt see anything else but then i only quickly scanned.

Posted: Sat Sep 09, 2006 10:29 pm
by Robert Humphries
Thank you, the Config file now passes fine, giving the:
* Loading IRCd configuration ..
* Configuration loaded without any problems ..
message.

However, in the Windows Services panel, when starting, i get the error message:

"Error 1053: The service did not respond to the start or control request in a timely fashion."

And the process shows up as "Starting". If I try to connect to the server, then I get connection refused. I have tried to connect via:
bobthebest.myftp.org:6667 (testing domain on default non-SSL port)
127.0.0.1:6697 (SSL port - first port listed)
127.0.0.1:+6697 (Last time I used a SSL connection to connect to a server, as I use mIRC, I was told to put a plus infront of the port).

All with the same error message.

If you don't want to search the whole config file for a certain part, then ask me, and i will post just the part you want. If you want to see the whole file, the link above is correct.

Posted: Sat Sep 09, 2006 10:32 pm
by Jobe
Do you now have an "ircd.log" file in the same directory as the "service.log" file. If so i expect the error may show up in there. It is possible that the IRCd is trying to listen on a port or IP address that already has another process listening on it.

Posted: Sat Sep 09, 2006 10:35 pm
by Robert Humphries
No, I have checked, but I dont have that file currently

Posted: Mon Sep 11, 2006 6:04 am
by Ron2K
I wonder if you're not encrypting your SSL certificate and running as a service?

Posted: Thu Sep 14, 2006 6:21 am
by Robert Humphries
I am still not sure what the matter was, but after my weekly restart of the server, the service started up fine, and it is all running ok

Thank you for your help everyone.