Page 1 of 1

Global IRCop Woes

Posted: Wed Feb 18, 2009 2:24 am
by Master007
Hello,
I have been trying to add myself as a Global IRCop and full admin, basically every thing you can be.
I've added a bunch of flags in conf/oper.conf arranged as so:

Code: Select all

oper Master007 {
        class           clients;
        from {
                userhost *@*;
        };
        password "***";
        flags{
                local;
                global;
                admin;
                services-admin;
                netadmin;
                can_localkill;
                can_globalkill;
                can_kline;
                can_unkline;
                can_zline;
                can_gkline;
                can_setq;
                can_override;
        };

        swhois "Master007";
        snomask ***;
        modes   pqWH;
};
Can someone please direct me on what I am doing wrong because when I try /oper, it says that I am not on the O:Line list.
Thanks in advance! :)

Re: Global IRCop Woes

Posted: Wed Feb 18, 2009 2:39 am
by digi198816
Make sure you are using right user/password. so it should be /oper Master007 (capital M) and password. Make sure u mind the capital/small letters since its case sensitive.

Re: Global IRCop Woes

Posted: Wed Feb 18, 2009 2:57 am
by Master007
I'm typing everything in right, pretty sure about that. :wink:

Re: Global IRCop Woes

Posted: Wed Feb 18, 2009 3:46 am
by digi198816
Did you /rehash after editing?

Re: Global IRCop Woes

Posted: Wed Feb 18, 2009 6:46 pm
by Casper
And, since you've created a separate file for your opers, have you included conf/oper.conf in the unrealircd.conf ?

Code: Select all

include "conf/oper.conf";

Re: Global IRCop Woes

Posted: Thu Feb 19, 2009 12:04 am
by Master007
Thanks, I've rehashed it and restarted everything but still nothing.
I also checked unrealircd.conf and it is including oper.conf; I didn't create this, it was automatically created.
So I'm thinking its a problem with my code in the configuration file; I've redid it so everything is like this:
flags "admin";
flags "can_setq";
etc.

but still nothing. :(

Re: Global IRCop Woes

Posted: Thu Feb 19, 2009 1:15 am
by digi198816
Can you post your unrealircd.conf (the include part for oper.conf) , and thats weird :S perhaps try your real host or if you can, restart the server.

Re: Global IRCop Woes

Posted: Thu Feb 19, 2009 1:55 pm
by Jobe
Not sure if it matetrs or not, but from your first post, make sure there is a space between flags and { so "flags{" should be "flags {"

Then on your shell type ./unreal rehash

Re: Global IRCop Woes

Posted: Tue Feb 24, 2009 3:52 am
by Skizzerz
One thing I noticed is that you are including the "local," "global," etc. flags. Since the "netadmin" flag includes all of those flags, remove the local, global, admin, and services-admin flags (keep the netadmin flag) -- not only are they unnecessary but it might be causing an issue with the oper block not getting recognized or something.

Re: Global IRCop Woes

Posted: Sat Feb 26, 2011 11:58 am
by Alb4

Code: Select all

* Loading IRCd configuration ..
* oper.conf:26: Ignoring extra close brace
* oper.conf:26 Ignoring extra semicolon
[error] oper.conf:7: Unknown directive 'oper::flags{'
[error] oper.conf:9: oper::global specified without a value
[error] oper.conf:10: oper::admin specified without a value
[error] oper.conf:11: oper::services-admin specified without a value
[error] oper.conf:12: oper::netadmin specified without a value
[error] oper.conf:13: oper::can_localkill specified without a value
[error] oper.conf:14: oper::can_globalkill specified without a value
[error] oper.conf:15: oper::can_kline specified without a value
[error] oper.conf:16: oper::can_unkline specified without a value
[error] oper.conf:17: oper::can_zline specified without a value
[error] oper.conf:18: oper::can_gkline specified without a value
[error] oper.conf:19: oper::can_setq specified without a value
[error] oper.conf:20: oper::can_override specified without a value
[error] oper.conf:1: oper::flags is missing
* oper.conf:23: unknown directive swhois
* oper.conf:24: unknown directive snomask
* oper.conf:25: unknown directive modes
[error] 14 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemingly not started)
Help Please !

Re: Global IRCop Woes

Posted: Sat Feb 26, 2011 2:48 pm
by katsklaw
* oper.conf:26: Ignoring extra close brace
* oper.conf:26 Ignoring extra semicolon


You have an extra close brace and semi-colon just above line 26. I know there are other errors listed. However, the easiest way is to start at the top of the list and fix them one at a time. It's possible to have 500 errors and they all be fixed with 1 missing character. So start at the top and work your way down.