Anope and Unreal aren't getting along.

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
Bandit
Posts: 2
Joined: Sun Dec 16, 2007 8:12 am

Anope and Unreal aren't getting along.

Post by Bandit »

I'm trying to set up an IRC server on Windows XP. I have unreal up and running, but anope is a totally different story.

anope's log:

Code: Select all

[Dec 16 03:01:11 2007] Loading IRCD Protocol Module: [unreal32]
[Dec 16 03:01:11 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:11 2007] Loading Encryption Module: [enc_none]
[Dec 16 03:01:11 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:11 2007] Launching Anope into the background
[Dec 16 03:01:11 2007] Anope 1.7.19 (1247) (ircd protocol: UnrealIRCd 3.2+) starting up
[Dec 16 03:01:12 2007] ns_sendpass requested unload...
[Dec 16 03:01:12 2007] debug: trying to load core module [ns_sendpass]
[Dec 16 03:01:12 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:14 2007] cs_sendpass requested unload...
[Dec 16 03:01:14 2007] debug: trying to load core module [cs_sendpass]
[Dec 16 03:01:14 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:15 2007] ms_rsend requested unload...
[Dec 16 03:01:15 2007] debug: trying to load core module [ms_rsend]
[Dec 16 03:01:15 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 16 03:01:20 2007] Databases loaded
[Dec 16 03:01:20 2007] Info: Reflecting database records.
[Dec 16 03:01:20 2007] Connected to Server 1 (localhost:6667)
[Dec 16 03:01:20 2007] trying to load [cs_appendtopic]
[Dec 16 03:01:21 2007] [cs_appendtopic] Loaded successfully
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [cs_enforce]
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [ns_maxemail]
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [os_info]
[Dec 16 03:01:21 2007] os_info: Loading configuration directives...
[Dec 16 03:01:21 2007] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Dec 16 03:01:21 2007] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] trying to load [hs_request]
[Dec 16 03:01:21 2007] hs_request loaded
[Dec 16 03:01:21 2007] status: [0][Module, Okay - No Error]
[Dec 16 03:01:21 2007] Read error from server: No such file or directory (error num: 2)
[Dec 16 03:01:21 2007] [cs_appendtopic] Unloaded successfully
[Dec 16 03:01:22 2007] hs_request un-loaded

Oper info:

Code: Select all

toxictitanium.homelinux.com- *** LocOps -- Link denied (Authentication failed [Bad password?]) [@127.0.0.1.4854]

unrealircd.conf:

Code: Select all

link            toxictitanium.homelinux.com
{
    username    *;
    hostname     127.0.0.1;
    bind-ip     *;
    port         7029;
    hub             *;
    password-connect "pass987";
    password-receive "pass987";
    class           servers;
};

ulines {
    toxictitanium.homelinux.com;
};

set {
    network-name         "Toxic Titanium";
    default-server         "toxictitanium.homelinux.com";
    services-server     "toxictitanium.homelinux.com";
    stats-server         "toxictitanium.homelinux.com";
    help-channel         "#help";
    hiddenhost-prefix    "tox";
    /* prefix-quit         "no"; */
    /* 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 {
        "JD7x4YwpHR6gaoWs7hqz4br1nAl3";
        "DJx4nwpBadAj1ndR6wl3Ws7IqzPb";
        "WsIqPbaHePQhKmYadj1dRwlJxnwB";
    };
    /* on-oper host */
    hosts {
        local        "locop.toxictitanium.com";
        global        "ircop.toxictitanium.com";
        coadmin        "coadmin.toxictitanium.com";
        admin        "admin.toxictitanium.com";
        servicesadmin     "csops.toxictitanium.com";
        netadmin     "netadmin.toxictitanium.com";
        host-on-oper-up "no";
    };
};

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
include "aliases/anope.conf";


listen         *:7029;
listen         *:6667;

Services.conf:

Code: Select all

IRCDModule "unreal32"
RemoteServer    127.0.0.1 7029 "pass987"
ServerName  "toxictitanium.homelinux.com"




Note: Both services are on the same computer.
If you need more info, just ask. Thanks for any help!
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Anope and Unreal aren't getting along.

Post by Jobe »

Well for a start services ServerName CANNOT be the same as Unreal's (in the me{} block).
Your IP: Image
Your Country: Image
Bandit
Posts: 2
Joined: Sun Dec 16, 2007 8:12 am

Re: Anope and Unreal aren't getting along.

Post by Bandit »

Ah, well, hm.. How would you recommend I fix this? get another sub-domain pointing to the same computer? or can I just use a fake sub-domain?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Anope and Unreal aren't getting along.

Post by Jobe »

You dont need a sub-domain for a server name.

You can call your server "services.microsoft.com" if you really wish.

The name doesnt have to be real, just cant already be in use on the same IRC network.
Your IP: Image
Your Country: Image
SNU
Posts: 19
Joined: Sun Aug 05, 2007 5:30 pm

Re: Anope and Unreal aren't getting along.

Post by SNU »

and btw:

listen *:7029;

for services isn't a good Idea. use options like servers-only and only listen on localhost for example. maybe you also won't use [enc_none] in anope. Your users will thank you :D

merry xmas.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Anope and Unreal aren't getting along.

Post by Jobe »

SNU wrote:and btw:

listen *:7029;

for services isn't a good Idea.
To be honest, I am yet to this day, to see any significant danger of allowing servers and users to use the same port. After all if you have set up your link blocks properly, unauthorised servers wont be able to connect anyway. That and once a user or a server is connected, which port they used doesnt make any difference. However I may be wrong, but I've never seen anything that it prevented.
Your IP: Image
Your Country: Image
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Anope and Unreal aren't getting along.

Post by Stealth »

Jobe wrote:To be honest, I am yet to this day, to see any significant danger of allowing servers and users to use the same port. After all if you have set up your link blocks properly, unauthorised servers wont be able to connect anyway. That and once a user or a server is connected, which port they used doesnt make any difference. However I may be wrong, but I've never seen anything that it prevented.
This is correct. I have services connecting on the same ports as clients with absolutely no issues, and I have been doing that since I started running an IRC server.
Locked