Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Tino on July 07, 2021, 04:38:34 PM

Title: Help! Global module: Access denied
Post by: Tino on July 07, 2021, 04:38:34 PM
Hi, So I set up UnrealIRCd and I am identified as an IRCop
I set up Anope Services. Just Chanserv, Nickserv, and Global.

Everything else is working fine, but when I try:

/msg global test

I get: Access Denied
And When I do /msg global help
all i get is a list of 1 command: Help

so i figure this module is very straightforward, but why am I getting Access Denied?

Any help would be appreciated. Thanks.
Title: Re: Help! Global module: Access denied
Post by: Lord255 on July 07, 2021, 04:58:41 PM
hello.
you need to configure services rights for yourself.

see:
https://github.com/anope/anope/blob/33590aa59b1f065ac9bd8f283170c9f6f17a0ae4/data/example.conf#L752-L932

if you are the network owner, i would recommend to give yourself services root.
see the pre-made oper block there, which you have to just fill out. :)

glhf.
Title: Re: Help! Global module: Access denied
Post by: Tino on July 07, 2021, 06:21:04 PM
Okay I see, thank you.
My next question is how do I properly and safely make these changes go live?

I am wary of breaking my Services! :)
Title: Re: Help! Global module: Access denied
Post by: Lord255 on July 07, 2021, 06:30:34 PM
the oper block wont break your services. :)
you have to just fill out the one which is there (the one with services root rights), then reload the conf via cmd line (anoperc) or just restart services (with anoperc)
(later on you can user operserv to do such things)
Title: Re: Help! Global module: Access denied
Post by: Tino on July 07, 2021, 07:19:03 PM
Okay, but this is where I am unclear. How do I reload the conf or restart services with anoperc? I am unfamiliar with this tool.
Title: Re: Help! Global module: Access denied
Post by: Lord255 on July 07, 2021, 07:23:19 PM
not sure why you not try the things out or why you not search it on google.. ?:)

but here:

Code: [Select]
../anope/bin/anoperc
Anope Remote Control (2)
Usage: ../anope/bin/anoperc [start|stop|status|restart|rehash|version|help]

easy, right? :)
Title: Re: Help! Global module: Access denied
Post by: Tino on July 07, 2021, 07:28:34 PM
Okay thank you. Some of this stuff is confusing for me!
I will try "rehash" and if that doesn't work ill try "restart"
Title: Re: Help! Global module: Access denied
Post by: Lord255 on July 07, 2021, 08:02:09 PM
yup. right. :) although rehash will be sufficient. :)
if you have probs, share your oper block plz (of course you can redact the password, actually plz do so. :))
in case you have solved the issue, then its a good job. :) cheers
Title: Re: Help! Global module: Access denied
Post by: Tino on July 07, 2021, 09:16:48 PM
it worked. thank you very much for your help.
Title: Re: Help! Global module: Access denied
Post by: Lord255 on July 07, 2021, 10:17:38 PM
nice. :) well done.
cheers! :)