Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Probelm with using Operserv  (Read 2857 times)

0 Members and 1 Guest are viewing this topic.

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Probelm with using Operserv
« on: September 22, 2024, 09:59:20 PM »

I keep having an issue with using Operserv commands like this:

[16:49] -OperServ- Access denied.

I'm properly logged in to a registered nick and have my account set to Services Root
as verified from Nickserv:


I'm sure it's a configuration error that's probably pretty simple but I've looked at various problem
reports with similar issues and can't see the problem. This is with running the latest Anope and Unreal
IRC.

Any suggestions on where to look?
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Probelm with using Operserv
« Reply #1 on: September 22, 2024, 11:07:20 PM »

Did you /oper yourself on your network if "require_oper" is set to yes in your oper block ?
Can you show us the full oper block (with maskerading the password) ?

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #2 on: September 23, 2024, 12:25:43 AM »

I oper every time I log in so that should be good.


opertype
{
        name = "Services Administrator"

        inherits = "Services Operator"

        commands = "botserv/* chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"

        privs = "*"
}

opertype
{
        name = "Services Root"

        commands = "*"

        privs = "*"
}


{
        /* The nickname of this services oper */
        name = "nanoflower"

        /* The opertype this person will have */
        type = "Services Root"

        /* If set, the user must be an oper on the IRCd to gain their Services
         * oper privileges.
         */
        require_oper = no

        /* An optional password. If defined the user must login using "/msg OperServ LOGIN" first */
        password = "xxxxxx"

        /* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
        #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"

        /* An optional list of user@host masks. If defined the user must be connected from one of them */
        #host = "*@*.anope.org ident@*"

        /* An optional vHost to set on users who identify for this oper block.
         * This will override HostServ vHosts, and may not be available on all IRCds
         */
        #vhost = "oper.mynet"
}


I tried logging in  and got the following
/msg operserv login xxxxxx
-OperServ- Access denied.

Logged

PeGaSuS

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • What goes around, comes around.
    • PTirc
Re: Probelm with using Operserv
« Reply #3 on: September 23, 2024, 08:26:40 AM »

You're missing the word oper at the beginning of your oper block.

it is supposed to be:
Code: [Select]
oper
{
        /* The nickname of this services oper */
        name = "nanoflower"

        /* The opertype this person will have */
        type = "Services Root"
        ...
}

I'd definitely keep the require_oper set to yes as added security measure.

Also, since you have password set, you need to:
Code: [Select]
/operserv login <your password>in order to become an oper on the Anope side.
« Last Edit: September 23, 2024, 08:44:09 AM by PeGaSuS »
Logged
IRC network: PTirc | Help and support: irc.anope.org - #anope

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #4 on: September 23, 2024, 09:00:24 AM »

Ah, I have the word at oper at the beginning of the oper block. Just didn't copy it over.

As for the require_oper I can do that but it doesn't impact the current issue.

Also I do the "/operserv login" and get the

[03:59] -OperServ- Access denied.

message each time as I just verified again.
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Probelm with using Operserv
« Reply #5 on: September 23, 2024, 10:32:46 AM »

I'd like to have a full copy (or screenshot) of a /whois on yourself (hide your IP if you want) and a /operserv login result.

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #6 on: September 23, 2024, 02:14:30 PM »


/whois nanoflower
[09:11] nanoflower is nanoflower@netadmin.mynet.org * nanoflower
[09:11] nanoflower is using modes +iowsxt +kcfvGqSsob
[09:11] nanoflower is connecting from *@lightspeed.tukrga.sbcglobal.net
[09:11] nanoflower on &@#admin &@#thelounge
[09:11] nanoflower using irc.realitytvlounge.com RealityTVLounge Server
[09:11] nanoflower is an IRC Operator (nanoflower) [netadmin-with-override]
[09:11] nanoflower is a Network Administrator
[09:11] nanoflower is logged in as nanoflower
[09:11] nanoflower has been idle 13secs, signed on Mon Sep 23 09:11:01 2024
[09:11] nanoflower End of /WHOIS list.

/operserv login xxxxx

[09:13] -OperServ- Access denied.
-
[09:13] -services.realitytvlounge.com- from OperServ: Denied access to OperServ from nanoflower!nanoflower@lightspeed.tukrga.sbcglobal.net (non-oper)
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Probelm with using Operserv
« Reply #7 on: September 23, 2024, 03:09:21 PM »

And what gives a /msg nickserv info <you> all ?

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #8 on: September 23, 2024, 05:33:44 PM »

[12:32] -NickServ- nanoflower is nanoflower
[12:32] -NickServ- nanoflower is a Services Operator of type Services Root.
[12:32] -NickServ-           Account: nanoflower
[12:32] -NickServ-       Online from: nanoflower@lightspeed.tukrga.sbcglobal.net
[12:32] -NickServ-       Online from: nanoflower@.lightspeed.tukrga.sbcglobal.net
[12:32] -NickServ-        Registered: Oct 15 15:55:27 2008 EST (15 years, 346 days, 19 hours, 37 minutes ago)
[12:32] -NickServ- Last quit message: NickServ (GHOST command used by nanoflower1)
[12:32] -NickServ-     Email address: nanoflower@gmail.com
[12:32] -NickServ-             Greet: Hey There!
[12:32] -NickServ-           Options: Private, Protection, Security, Auto-op
Logged

PeGaSuS

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • What goes around, comes around.
    • PTirc
Re: Probelm with using Operserv
« Reply #9 on: September 24, 2024, 02:30:51 PM »

Stupid question:

Does the word oper at the start of you Anope oper block has the # sign before it?

That's actually the only thing that's coming to my mind.
Logged
IRC network: PTirc | Help and support: irc.anope.org - #anope

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #10 on: September 24, 2024, 02:35:41 PM »

Good idea, but no. It's not commented out.
Logged

PeGaSuS

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 34
  • What goes around, comes around.
    • PTirc
Re: Probelm with using Operserv
« Reply #11 on: September 24, 2024, 02:38:12 PM »

Did you tried with require_oper set to "yes" and no password set?

One of those must be behaving erratically.

You need to try to disable both, enable both, enable one at a time to try to narrow down the issue
Logged
IRC network: PTirc | Help and support: irc.anope.org - #anope

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #12 on: September 24, 2024, 04:43:47 PM »

That did not help. Though I did get some odd behavior. Changing the password line from

password =

to
#password =

resulted in anope not starting up fully until I shut down unreal and restarted it

Then it was fine but still gives me an error when I try to use any Operserv command.
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Probelm with using Operserv
« Reply #13 on: September 24, 2024, 05:16:47 PM »

Can you set debug and rawio to yes in the log block (and make the services log to a file), then attempt to /msg operserv login and see what appears in the logfile ?
The error will be more explicit.

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #14 on: September 24, 2024, 06:05:23 PM »



[Sep 24 11:58:04 2024] Received: :nanoflower PRIVMSG nickserv@services.realitytvlounge.com :identify xxxx
[Sep 24 11:58:04 2024] Sent: :00BAAAAAG NOTICE 0013H4501 :You are already identified.
[Sep 24 11:58:12 2024] Received: :nanoflower PRIVMSG operserv@services.realitytvlounge.com :login xxxxx
[Sep 24 11:58:12 2024] Sent: :00BAAAAAH NOTICE 0013H4501 :Access denied.
[Sep 24 11:58:12 2024] Denied access to OperServ from nanoflower!nanoflower@.lightspeed.tukrga.sbcglobal.net (non-oper)
[Sep 24 11:58:12 2024] Sent: :00B SENDUMODE o :from OperServ: Denied access to OperServ from nanoflower!nanoflower@lightspeed.tukrga.sbcglobal.net (non-oper)
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Probelm with using Operserv
« Reply #15 on: September 24, 2024, 07:53:40 PM »

in unrealircd, are your services ulined ? And are they defined in set::services-server ?

And strange thing:
Quote
[12:32] -NickServ- nanoflower is a Services Operator of type Services Root.
Services seems to see you as already logged as oper.

nanoflower

  • Anope User
  • Offline Offline
  • Posts: 15
Re: Probelm with using Operserv
« Reply #16 on: September 24, 2024, 10:19:02 PM »

yes, it is ulined and set as services-server.



link  services.realitytvlounge.com
{
        incoming {
                mask xxx.xxx.xxx.xxx;
        };

        password "xxxxxxxxxxxxx";

        class servers;
};


ulines {
         services.realitytvlounge.com;
};



set {
        network-name            "realitytvlounge";
        default-server          "services.realitytvlounge.com";
        services-server         "services.realitytvlounge.com";


rest just left off
Logged
Pages: [1]   Go Up