Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How do i fix: illegal link::class & oper and also: ignoring extra data  (Read 7343 times)

0 Members and 1 Guest are viewing this topic.

Nicholas Aranda

  • Anope User
  • Offline Offline
  • Posts: 18

[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'
« Last Edit: April 14, 2011, 11:48:13 PM by Nicholas Aranda »
Logged

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network
Re: How do i fix: illegal link::class & oper
« Reply #1 on: April 14, 2011, 11:29:56 PM »

paste your opers block
« Last Edit: April 14, 2011, 11:33:20 PM by VisioN »
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

Nicholas Aranda

  • Anope User
  • Offline Offline
  • Posts: 18
Re: How do i fix: illegal link::class & oper
« Reply #2 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;
};
Logged

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network

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.
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network

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 */
};
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

Nicholas Aranda

  • Anope User
  • Offline Offline
  • Posts: 18

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;
};
Logged

VisioN

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • myIRC Project Hosting IRC Network

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!
Logged
______________________________
VisioN
Find me: irc.myirc.net | irc.anope.org
Contact me: vision@myirc.net

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537

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.
Logged
Pages: [1]   Go Up