Anope Configuration Problem

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Post Reply
Evil20071
Posts: 4
Joined: Mon Jul 22, 2013 7:57 pm

Anope Configuration Problem

Post by Evil20071 » Wed Oct 21, 2015 4:26 am

So, every time I try and run Anope services I get the following error:

Code: Select all

Anope 2.0.2 (ga762391), build #6 compiled  15:51:50   Mar 22 2015,  flags GW
Using  configuration file conf\services.conf
Unexpected word: operserv.conf:13
On, cool. I have checked and rechecked my code and can't figure out what's throwing the issue. I'll paste it below. C an anyone see what the heck I'm missing?

Code: Select all

service
{
	nick = "OperServ"
	user = "services"
	host = "services.totalelectronics.us"
	gecos = "Operator Services"
	#modes = "+o"
	channels = "@#services
}

module
{
	name = "operserv"
	client = "OperServ"
	autokillexpiry = 30d
	chankillexpiry = 30d
	snlineexpiry = 30d
	sqlineexpiry = 30d
	akillonadd = yes
	killonsline = yes
	killonsqline = yes
	addakiller = yes
	akillids = yes
	opersonly = yes
}

command { service = "OperServ"; name = "HELP"; command = "generic/help"; }

module { name = "os_akill" }
command { service = "OperServ"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; }

module { name = "os_chankill" }
command { service = "OperServ"; name = "CHANKILL"; commnd = "operserv/ chankill"; permission = "operserv/chankill"; }

module
{
	name = "os_defcon"
	defaultlevel = 5
	level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions"
	level3 = "nonewchannels nonewnicks nomlockchanges reducedsessions forcechanmodes "
	level2 = "nonewchannels nonewnicks nomlockchanges reducedsessions forcechanmodes silentoperonly "
	level1 = "nonewchannels nonewnicks nomlockchanges reducedsessions forcechanmodes silentoperonly akillnewclients"
	sessionlimit = 2
	akillexpire = 15m
	#chanmodes = ""
	timeout = 15m
	globalondefcon = yes
	globalondefconmore = yes
	messsage = "Defcon level increased. Any questions regarding this change should be directed to a staff member."
	offmessage = "Defcon level returned to normal. Please continue to enjoy our services. We apologize for any problems this may have caused."
	akillreason = "Our server is currently in an increased security mode which temporarily restricts new clients from joining. this will expire in 15 minutes. Please check back then."
}
command { service = "OperServ"; name = "DEFCON"; command = "operservdefcon"; permission = "operserv/defcon; }

module { name = "os_config" }
command { service = "OperServ"; name = "CONFIG"; command = "operserv/conig"; permission = "operserv/config"; }

module { name = "os_forbid" }
command { service = "OperServ"; name = "FORBID"; command = "operserv/forbid"; permission = "operserv/forbid"; }

module { name = "os_ignore" }
command { service = "OperServ"; name = "IGNORE"; command = "operserv/ignore"; permission = "operserv/ignore"; }

module { name = "os_info" }
command { service = "OperServ"; name = "INFO"; command = "operserv/info"; permission = "operserv/info"; }

module { name = "os_jupe" }
command { service = "OperServ"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; }

module { name = "os_kick" }
command { service = "OperServ"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; }

module { name = "os_kill" }
command { service = "OperServ"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; }

module { name = "os_list" }
command { service = "OperServ"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; }
command { service = "OperServ"; name = "USERLIST"; command = "operserv/userlist"; permission = "operserv/userlist"; }

module { name = "os_login" }
command { service = "OperServ"; name = "LOGIN"; command = "operserv/login"; }
command { service = "OperServ"; name = "LOGOUT"; command = "operserv/logout"; }

module
{
	name = "os_logsearch"
	logname = "services.log"
}
command { service = "OperServ"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; }

module { name = "os_mode" }
command { sercice = "OperServ"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; }
command { service = "OperServ"; name = "MODE"; command = "operserv/mode"; permiission = "operserv/mode"; }

module { name = "os_modinfo" }
command { service = "OperServ"; name = "MODINFO"; command = "operserv/modinfo"; permission = "operserv/modinfo"; }
command { sercvice = "OperServ"; name = "MODLIST"; command = "operserv/modlist"; permission = "operserv/modinfo"; }

module { name = "os_module" }
command { service = "OperServ"; name = "MODLOAD"; command = "operserv/modload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODRELOAD"; command = "operserv/modreload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODUNLOAD"; command = "operser/modunload"; permission = "operserv/modload"; }

module
{
	name = "os_news"
	announcer = "Global"
	oper_announcer = "OperServ"
	newscount = 3
}
command { service = "OperServ"; name = "LOGONNEWS"; command = "operserv/logonnews" permission = "operserv/news"; }
command { service = "OperServ"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; }
command { service = "OperServ"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; }

#module { name = "os_noop" }
#command {service = "OperServ"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; }

module { name = "os_oline" }
command { service = "OperServ"; name = "OLINE"; command = "operserv/oline"; permission = "operserv/oline"; }

module { name = "os_oper" }
command { service = "OperServ"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; }

module { name = "os_reload" }
command { service = "OperServ"; name = "RELOAD"; command= "operserv/reload"; permission = "operserv/reload" }

module
{
	name = "os_session"
	defaultsessionlimit = 5
	maxsessionlimit = 100
	exceptionexpiry = 1d
	sessionlimitexceeded = "The session limit for your IP %IP% has been exceeded."
	#sessionlimitdetailsloc = "Please visit http://totalelectronics.us/irc/serverlimits.php for more informatino about session limits."
	maxsessionkill = 14
	sessionautokillexpiry = 30m
	session_ipv4_cidr = 32
	session_ipv6_cidr = 128
}
command { service = "OperServ"; name = "EXCEPTION"; command = "operserv/exception"; permission = "operserv/exception"; }
command { service = "OperServ"; name = "SESSION"; command = "operserv/session"; permission = "operserv/session"; }

module
{
	name = "os_set"
	superadmin = yes
}
command {service = "OperServ"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }

module { name = "os_shutdown" }
command { service = "OperServ"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; }
command { service = "OperServ"; name = "RESTART"; command = "operserv/restart"; [ermission = "operserv/restart"; }
command { service = "OperServ"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; }

module { name = "osstats" }
command { service = "OperServ"; name = "STATS"; comand = "operserv/stats"; permission = "operserv/stats"; }

module { name = "os_svs" }
command { service = "OperServ"; name = "SVSNICK"; command = "operserv/svssnick"; permission = "operserv/svs"; }
command { service = "OperServ"; name = "SVSJOIN"; command = "operserv/svsjoin"; permission = "operserv/svs"; }
command { service = "OperServ"; name = "SVSPART"; command = "operserv/svspart"; permission = "operserv/svs"; }

module { name = "os_sxline" }
command { service = "OperServ"; name = "SNLINE"; command = "operserv/snline"; permission = "operserv/snline"; }
command { service = "OperServ"; name = "SQLINE"; command ="operserv/sqline"; permission = "operserv/sqline"; }

module { name = "os_update" }
command { service = "OperServ"; name = "UPDATE"; command = "operserv/update"; permission = "operserv/update"; }
The sad thing is, I'm basically using stock example code on it jus t modifying it for my host name, and a few other small tweaks, and it's not working. I even tried taking the example file and putting it in the place of it, and that didn't work either. So I'm really confused. Trying to get help from Anope.org was bust, so I am turning to you guys for help.

simo
Posts: 4
Joined: Fri Oct 23, 2015 1:37 pm

Re: Anope Configuration Problem

Post by simo » Fri Oct 23, 2015 1:40 pm

channels = "@#services

this is missing a " at the end

Post Reply