unrealircd.conf:319 Comment on this line does not end

These are old archives. They are kept for historic purposes only.
Post Reply
X-EX

unrealircd.conf:319 Comment on this line does not end

Post by X-EX » Wed Oct 19, 2005 8:26 pm

I need help here , I cant start the unreal server for i have error:
* Loading IRCd configuration ..
[error] unrealircd.conf:319 Comment on this line does not end
[error] Could not load config file unrealircd.conf
[error] IRCd configuration failed to load
I have this in unrealircd.conf :

Code: Select all

/*

 * NEW: link {}

 * OLD: C/N:Lines

 * This defines an okay for a server connection.

 * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!

 * Syntax is as follows:

 * link (server name)

 * { <<<< This is 319

 *	username	(username, * works too);

 * 	hostname	(ip number/hostmask);

 *	bind-ip		(What IP to bind to when connecting, or *);

 *	port		(port to connect to, if any);

 *	hub (If this is a hub, * works, or servermasks it may bring in);

 *	[or leaf *;]

 *	password-connect "(pass to send)";

 *	password-receive "(pass we should receive)";

 *	class		(class to direct servers into);

 *	options {

 *		(options here*);

 *	};

 *      /* If we use SSL, we can choose what cipher to use in SSL mode

 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s

 *      */

 *      ciphers "DES-CBC3-MD5";

 * 

 * };

*/

Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech » Thu Oct 20, 2005 4:15 am

when you get an error and it says a line number your error can be above or below it , in this case you appear to have missed out a " ;" which makes unreal believe the section isnt completed . Id check the block above the listen block and check the line is finished correctly .
it should look like this

Code: Select all

listen         *:6667;
If its not that check through the config carefully and make sure you havent made an error , remember a : looks very much like a ; to tired eyes .
Yawn. So there's yet another "if the user clicks the button, they're infected" exploit. Why is this news? We already know users are idiots.

pytolechat
Posts: 4
Joined: Tue Oct 18, 2005 8:47 am

Post by pytolechat » Thu Oct 20, 2005 6:54 am

Code: Select all

*      /* If we use SSL, we can choose what cipher to use in SSL mode

 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s

 *      */
Remove chars /* ans */ , your coment is already started
:)

Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech » Thu Oct 20, 2005 8:11 am

pytolechat wrote:

Code: Select all

*      /* If we use SSL, we can choose what cipher to use in SSL mode

 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s

 *      */
Remove chars /* ans */ , your coment is already started
Dude thats in my config file just like that and it works fine .....

The /* at the start of that entire comment block posted and */ at the end means unreal doesnt read them .
/* Type of comments */
#Comment type 1 (Shell type)
// Comment type 2(C++ style)
/* Comment type 3 (C Style) */
#those lines are ignored by the ircd.
so I would assume those lines dont get included in the line count (someone correct me if Im wrong here I've had no sleep lol)

When unreal gives a line error it is usually sensible to check above that line and below it for the error .
Yawn. So there's yet another "if the user clicks the button, they're infected" exploit. Why is this news? We already know users are idiots.

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Thu Oct 20, 2005 4:03 pm

They are counted as lines. They just have no effect. And block comments can't be nested IIRC.

Post Reply