Page 1 of 1

Config error: unrealircd.conf:59: Missing semicolon

Posted: Wed Sep 11, 2013 12:42 am
by CorseDev
http://pastebin.com/bZp9PZYV - My config


Full error:

Code: Select all

[Tue Sep 10 12:23:22 2013] - config error: unrealircd.conf:59: Missing semicolon before close brace
[Tue Sep 10 12:23:22 2013] - config error: Could not load config file unrealircd.conf
[Tue Sep 10 12:23:22 2013] - config error: IRCd configuration failed to load
[Tue Sep 10 12:24:00 2013] - UnrealIRCd started.
[Tue Sep 10 12:24:00 2013] - TIME SYNCH: IRCd clock succesfully synchronized to known good time source.
All Close Brackets (They have semicolons!)

Code: Select all

	Line 6: };
	Line 13: };
	Line 20: };
	Line 26: 	};
	Line 37: 	};
	Line 40: };
	Line 47: };
	Line 54: };
	Line 59: 	};
	Line 60: };
	Line 65: };
	Line 74: 	};
	Line 75: };
	Line 80: };
	Line 92: };
	Line 96: };
	Line 99: 	"#Help" { topic "The official help channel, if nobody is present type /helpop helpme"; };
	Line 101: 	"#General" { topic "The main channel"; };
	Line 102: };
	Line 116:    };
	Line 123: 	};
	Line 124: };
System Info:

Code: Select all

CENTOS - Linux version 2.6.32-358.6.2.el6.x86_64

Can anyone please give me a hand? I'm so lost at this point. Thank you. :)

Re: Config error: unrealircd.conf:59: Missing semicolon

Posted: Wed Sep 11, 2013 4:18 am
by cards
"before close brace" That means something inside one of your blocks does not end with a semi-colon. Using NANO on Linux, hit CTRL+V to scroll down about 5 times, then use CTRL+C to find out what line you are on. Find line 59 and look for a parameter missing a semi-colon before the close brace that is on line 59

Re: Config error: unrealircd.conf:59: Missing semicolon

Posted: Wed Sep 11, 2013 11:38 am
by katsklaw
A quicker way to get to line 59 is to hit Ctrl+w then Ctrl+t, enter 59 and hit enter. Also, line 59 is where the parse got confused, not where the error is. Start at line 58 and work your way back up the file.