Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Nicholas Aranda on April 14, 2011, 11:25:52 PM

Title: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: Nicholas Aranda on April 14, 2011, 11:25:52 PM
[15:23:40] -irc.pwndevteam.net- *** Notice -- unrealircd.conf:194: Ignoring extra data
[15:23:40] -irc.pwndevteam.net- *** Notice -- unrealircd.conf:194: Ignoring extra data
[15:23:40] -irc.pwndevteam.net- *** Notice -- unrealircd.conf:34: illegal oper::class, unknown class 'clients' using default of class 'default'
[15:23:40] -irc.pwndevteam.net- *** Notice -- unrealircd.conf:62: illegal link::class, unknown class 'servers' using default of class 'default'
Title: Re: How do i fix: illegal link::class & oper
Post by: VisioN on April 14, 2011, 11:29:56 PM
paste your opers block
Title: Re: How do i fix: illegal link::class & oper
Post by: Nicholas Aranda on April 14, 2011, 11:47:07 PM
line 194:
Code: [Select]
listen *:6667
{
options
{
};
};

line 34:
Code: [Select]
oper NicholasLAranda {
from {
userhost *@*;
};
password "mypass";
class clients;
flags {
local;
coadmin;
netadmin;
can_die;
can_restart;
can_localnotice;
can_zline;
can_gkline;
can_gzline;
get_umodew;
get_host;
can_override;
can_addline;
};
};

line 62:
Code: [Select]
link services.pwndevteam.net
{
  username *;
hostname *;
bind-ip 68.231.6.245;
port 6667;
hub              *;
password-connect "mypass";
password-receive "mypass";
class            servers;
};
Title: Re: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: VisioN on April 15, 2011, 12:05:08 AM
first of all you are in the wrong section/forum as you should adress that to unreal forums and not anope. But since you are here and you started the thread..

The problem is that you havent defined a "clients" class in your unrealircd.conf... try to add these lines


Code: [Select]
class           clients
{
        pingfreq 90;
        maxclients 500;
        sendq 100000;
        recvq 8000;
};

also, your link block is wrong as you dont give an IP adress to listen to.
Title: Re: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: VisioN on April 15, 2011, 12:06:31 AM
oh, also you dont have defined a "servers" class either.. so you should add something like this too:

Code: [Select]
class           servers
{
        pingfreq 90;
        maxclients 10;          /* Max servers we can have linked at a time */
        sendq 1000000;
        connfreq 100; /* How many seconds between each connection attempt */
};
Title: Re: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: Nicholas Aranda on April 15, 2011, 12:10:02 AM
i do have that look:

Code: [Select]
class           clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};

class           servers
{
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
Title: Re: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: VisioN on April 15, 2011, 12:16:08 AM
It would be best if you went to unreal support forums to help you out with unreal issues. When you have your ircd setup and want help around services, then you come here for help (after making sure you're opered in your network).

Unreal forums: forums.unrealircd.org

My guess is that you have those lines in another file than unrealircd.conf or for any other reason your conf file cant read them so it doesnt know what is "clients" and "servers" class. In any case that is not an Anope issue and thus, not to be resolved here.

I hope i helped you, good luck!
Title: Re: How do i fix: illegal link::class & oper and also: ignoring extra data
Post by: katsklaw on April 15, 2011, 12:20:08 AM
my guess is he has bad syntax near line 33 and it's causing the parser to not see the class blocks. PM me your entire unrealircd.conf and I'll find the problem for you.

btw, I'm an official unreal supporter, so no need to go over there this time.