Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: PiTTy on November 10, 2012, 11:44:49 PM

Title: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: PiTTy on November 10, 2012, 11:44:49 PM
this is the tail end of the -support function, keep in mind i just compiled edited services.conf 

Code: [Select]
[Nov 10 05:31:06.501444 2012] Debug: Inheriting commands and privs from Helper to Services Operator
[Nov 10 05:31:06.501590 2012] Debug: Inheriting commands and privs from Services Operator to Services Administrator
[Nov 10 05:31:06.502158 2012] USERS: BotServ!services@services.allripped.net connected - new maximum user count: 1
[Nov 10 05:31:06.502294 2012] USERS: Global!services@services.allripped.net connected - new maximum user count: 2
[Nov 10 05:31:06.502432 2012] USERS: ChanServ!services@services.allripped.net connected - new maximum user count: 3
[Nov 10 05:31:06.502563 2012] USERS: HostServ!services@services.allripped.net connected - new maximum user count: 4
[Nov 10 05:31:06.502691 2012] USERS: MemoServ!services@services.allripped.net connected - new maximum user count: 5
[Nov 10 05:31:06.502821 2012] USERS: NickServ!services@services.allripped.net connected - new maximum user count: 6
[Nov 10 05:31:06.503403 2012] Debug: Loaded 2 log blocks
[Nov 10 05:31:06.506204 2012] Debug: Command GLOBAL exists for nonexistant service OperServ
[Nov 10 05:31:06.506240 2012] Debug: *** Support resources: Read through the services.conf self-contained
[Nov 10 05:31:06.506267 2012] Debug: *** documentation. Read the documentation files found in the 'docs'
[Nov 10 05:31:06.506293 2012] Debug: *** folder. Visit our portal located at http://www.anope.org/. Join
[Nov 10 05:31:06.506319 2012] Debug: *** our support channel on /server irc.anope.org channel #anope.
[Nov 10 05:31:06.506457 2012] Debug: Configuration file failed to validate
full code here: http://pastebin.com/TYTJhxav
and my services.conf: http://pastebin.com/QX7Wv1pF

not sure ive tried moving global and operserv includes around but then the same thing comes up about HELP command
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: Adam on November 10, 2012, 11:55:20 PM
In global.example.conf there is a command{} block that puts a command on OperServ because some people felt it would confuse people if it was only on global.
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: PiTTy on November 11, 2012, 12:03:17 AM
yeah then it complains about the HELP command in operserv.example.conf too
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: Adam on November 11, 2012, 12:05:48 AM
Well, the idea was that if you changed the name of the service you would be consciously aware of it and then either changed the commands in operserv.conf or defined{} OperServ to something else.
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: PiTTy on November 11, 2012, 12:09:01 AM
ok that is where you are losing me, I didnt rename anything on the services names this is freshly compiled, pretty much everything else is left alone, I havent even gotten to importing my old DBs yet
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: Adam on November 11, 2012, 12:11:14 AM
you should have a service{} block in the top of operserv.conf that defines a service named OperServ. So when you have a command{} block for the service OperServ it works, otherwise it will give that error because you're trying to assign a command to a service that doesn't exist.

This means you somehow removed the service block in operserv.conf or renamed the client it introduced.

If you want to rename it I suggest using a define{} block to define OperServ to what ever else you want to call it.
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: PiTTy on November 11, 2012, 12:14:43 AM
nope all looks ok to me: http://pastebin.com/Szxu7dE1
Title: Re: Command GLOBAL exists for nonexistant service OperServ Anope 1.9.7 inspircd 1.2
Post by: PiTTy on November 11, 2012, 12:15:49 AM
nevermind i found the culprit and period in the wrong place lol