[error] me {} block is missing

These are old archives. They are kept for historic purposes only.
Post Reply
wolfheart
Posts: 2
Joined: Sun Jan 04, 2015 8:26 pm

[error] me {} block is missing

Post by wolfheart »

Hello ,

I am running Unreal3.2.10.3 after having same problem with Unreal3.2.10.4 and Unreal3.4Alpha1 . Anyway when i start unreal on Debian 7.0 (64 bit ) can someone please help ? Thank You

i get the error
" * Loading IRCd configuration ..
* unrealircd.conf:26: Ignoring extra data
* opers.conf:31: Ignoring extra data
* opers.conf:31: Ignoring extra data
[error] me {} block is missing
[error] 1 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
My unrealircd.conf is below ( I have removed the passwords and cloak keys ) :-

Code: Select all

// Config File Starts Here

/* These sections here load extra modules and files.
 * If you add any new modules please add them under the current "loadmodule"
 * For help on installing additional Unrealircd modules please see:
 * http://www.fuzzyhosts.com/Clients/knowledgebase.php?action=displayarticle&id=44
 */

//loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
include "opers.conf"
#include "links.conf";


// This is the me block. This defines the name, description and server numeric.
// When linking IRCds together, the numeric must be unique.
// A recommended method is to have your hub as numeric 1, and increase the numeric by 1 every time you link a server.
// (this includes services/stats/etc, where you supply the numeric in its config)

me {
        name "pathoflight.info";
	info "PathOfLight Server";
        numeric 1;
};

// This is the admin block -- you usually put your nick, and your email address here.
// It's what's shown when a user does the command /admin.

admin {
        "wolfheart";
        "[email protected]";
};

// This is the class block.
// We recommend to not touch this :)
class           clients
{
        pingfreq 180;
        maxclients 1024;
        sendq 100000;
        recvq 8000;
};

class           servers
{
        pingfreq 180;
        maxclients 1024;
        sendq 1000000;
        connfreq 100;
};

// This is the allow block which defines allowing connections to your server
// We recommend to not touch this. :)

allow {
        ip             *;
        hostname       *@*;
        class           clients;
        maxperip 50;
};

// This is the allow channel block which allows a user to join a channel no matter what.

allow           channel {
        channel "<#MainChannel>";
};


// Listen blocks - these open the ports which are used to connect to your IRCd.

// SSL for Clients
listen 167.114.14.213:6697
{
options
        {
                ssl;
                clientsonly;
        };
};

// Server NonSSL Port
listen 167.114.14.213:9784
{
        options
        {
                serversonly;
        };
};

// SSL for clients and servers
listen <IP>:7000 { options { ssl; }; };

// Common Listen Ports
listen 167.114.14.213:7000;
listen 167.114.14.213:8067;
listen 167.114.14.213:6667;
listen 167.114.14.213:6666;
listen 167.114.14.213:9731;
listen 167.114.14.213:9473;
listen 167.114.14.213:8006;

// Ulines block
// Here you add psuedoservers, which include services, stats, defender, omega, janus, ...

ulines {
        services.<Network>;
        stats.<Network>;
        defender.<Network>;
};
// This is the drpass block, where /restart and /die passwords are set.
// Note these are passwords to restart and stop your ircd remotely, and not to use ./unreal restart/stop.
// We DEFINITELY recommend changing these to something secure.
// A good secure password generator can be found at http://strongpasswordgenerator.com/

drpass {
        restart "";
        die "";
};

// Log block
// This block tells the irc where and what to log.
// We recommend leaving this alone.

log "ircd.log" {
        maxsize 2097152;
        flags {
                oper;
                kline;
                connects;
                server-connects;
                kills;
                errors;
                sadmin-commands;
                chg-commands;
                oper-override;
                spamfilter;
        };
};

// Alias blocks
// We recommend leaving these alone, unless you know what you are doing.

alias os { nick OperServ; type services; }; alias operserv { nick OperServ; type services; };
alias cs { nick ChanServ; type services; }; alias chanserv { nick ChanServ; type services; };
alias ns { nick NickServ; type services; }; alias nickserv { nick NickServ; type services; };
alias bs { nick BotServ; type services; }; alias botserv { nick BotServ; type services; };
alias ms { nick MemoServ; type services; }; alias memoserv { nick MemoServ; type services; };
alias hs { nick HostServ; type services; }; alias hostserv { nick HostServ; type services; };
alias ss { nick StatServ; type normal; }; alias statserv { nick StatServ; type normal; };
alias gs { nick GameServ; type normal; }; alias gameserv { nick GameServ; type normal; };
alias g1 { nick GameServ1; type stats; }; alias gameserv1 { nick GameServ1; type stats; };
alias ws { nick StupidServ; type normal; }; alias stupidserv { nick StupidServ; type normal; };
alias xs { nick SecureServ; type stats; }; alias secureserv { nick SecureServ; type stats; };
alias ls { nick LimitServ; type stats; }; alias limitserv { nick LimitServ; type stats; };
alias qs { nick QuoteServ; type stats; }; alias quoteserv { nick QuoteServ; type stats; };
alias ts { nick TextServ; type stats; }; alias textserv { nick TextServ; type stats; };
alias vs { nick vHostServ; type services; }; alias vhostserv { nick vHostServ; type services; };
alias op { nick opsb; type stats; }; alias opsb { nick opsb; type stats; };
alias bl { nick blsb; type stats; }; alias blsb { nick blsb; type stats; };
alias df { nick Defender; type normal; }; alias Defender { nick Defender; type normal; };
alias bo { nick bopm; type normal; }; alias bopm { nick bopm; type normal; };
alias fs { nick FloodServ; type stats; }; alias floodserv { nick FloodServ; type stats; };
alias es { nick SeenServ; type stats; }; alias seenserv { nick SeenServ; type stats; };
alias ne { nick NeoStats; type stats; }; alias neostats { nick NeoStats; type stats; };


alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };

alias "global" {
        format ".+" {
                command "NOTICE";
                type real;
                parameters "$* :[Global Notice] %1-";
        };
        type command;
};
alias "globalpriv" {
        format ".+" {
                command "PRIVMSG";
                type real;
                parameters "$* :[Global Message] %1-";
        };
        type command;
};
alias "superadmin" {
        format ".+" {
                target "OperServ";
                type services;
                parameters "SET SUPERADMIN %1-";
        };

type command;
};
alias "identify" {
        format ".+" {
                target "NickServ";
                type services;
                parameters "IDENTIFY %1-";
        };
        type command;
};

// This is the main network configuration area.
// You should set everything in <> that needs to be set here.
// We also highly recommend changing the cloak keys, to 3 random strings, 27 characters long.
// Cloak keys must only have letters of any case (a-z and A-Z) or digits (0-9) or both.

set {
        network-name            "Path Of Light";
        default-server          "pathoflight.info";
        services-server         "services.<Network>";
        stats-server            "stats.<Network>";
        help-channel            "#Help";
        hiddenhost-prefix       "<ServerName>";
        /* prefix-quit          "yes"; */
        /* Cloak keys should be the same at all servers on the network.
         * They are used for generating masked hosts and should be kept secret.
         * The keys should be 3 random strings of 5-100 characters
         * (10-20 chars is just fine) and must consist of lowcase (a-z),
         * upcase (A-Z) and digits (0-9) [see first key example].
         */

 cloak-keys {
                
"";
"";
"";
        };
        /* on-oper host */
        hosts {
                local           "[email protected]";
                global          "[email protected]";
                coadmin 	"[email protected]";
                admin           "[email protected]";
                servicesadmin 	"[email protected]";
                netadmin        "[email protected]";
                host-on-oper-up "yes";
        };
};

set {
        kline-address "[email protected] with subject connection/ban";
        modes-on-connect "+ixw";
        modes-on-join "+nt";
        oper-only-stats "*";
        restrict-usermodes "sx";
        oper-auto-join "#Services,#Opers,#Staff,#Help";
        dns {
                nameserver 167.114.14.213;
                timeout 2s;
                retries 2;
        };
        options {
                hide-ulines;
                show-connect-info;
        };

        maxchannelsperuser 30;
        anti-spam-quit-message-time 10s;

 /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
        throttle {
                connections 5;
                period 60s;
        };

        // Anti flood protection settting
        // Should be fine to leave as already set.
        anti-flood {
                nick-flood 3:120;
        };
};

link irc.paddedcell.org.uk {
        username         *;
        hostname         92.222.18.73;
        bind-ip          167.114.14.213;
        port             8006;
        hub              *;
        password-connect "";
        password-receive "";
        class servers;
        options {
                //zip;
                /* If you're NOT linking anything that needs a uline,
                 * you should remove the '//' from the line below.
                 * NOTE: you should do this on the LEAF (which should only have one link block),
                 * not the HUB (which should have more than one link block).
                 */
                autoconnect;
        };
};

link pathoflight.janus {
        username         *;
        hostname         167.114.14.213;
        bind-ip          127.0.0.1;
        port             8006;
        hub              *;
        password-connect "";
        password-receive "";
        class servers;
        options {
                //zip;
                /* If you're NOT linking anything that needs a uline,
                 * you should remove the '//' from the line below.
                 * NOTE: you should do this on the LEAF (which should only have one link block),
                 * not the HUB (which should have more than one link block).
                 */
                autoconnect;
        };
};

// You have now reached the end of the config.
// Now modify conf/opers.conf and conf/links.conf
// After that, you should be ready to start your ircd.
// Do this by typing ./unreal start in your shell



katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: [error] me {} block is missing

Post by katsklaw »

Code: Select all

* unrealircd.conf:26: Ignoring extra data
* opers.conf:31: Ignoring extra data
* opers.conf:31: Ignoring extra data
fix those first. Line 26 is where the config file parser got confused, not the line where the error resides. start at line 25 and work backwards to find the problem.

HINT: It's easy to see and only 1 issue.
wolfheart
Posts: 2
Joined: Sun Jan 04, 2015 8:26 pm

Re: [error] me {} block is missing

Post by wolfheart »

Hello ,

Thank You got it fixed much appreciated for your help.
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [error] me {} block is missing

Post by Stealth »

I always recommend using a configuration with as little comments or extra information as possible. The example configuration is an example and not intended for use in production.

For an example configuration with fewer comments, you can check out mine at http://unreal.x-tab.org/resources
Post Reply