Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Kay on July 11, 2020, 01:07:08 PM

Title: Anope 2.0.7. & UnrealIRCd 5.0.5.1 not connected
Post by: Kay on July 11, 2020, 01:07:08 PM
Hello everybody,

I've been trying to connect UnrealIRCd 5.0.5.1 to Anope 2.0.7 for a few hours.
Both in unrealircd.conf and in services.conf, the parameters for the connection are set correctly, but I always get the following error message:

Quote
Anope 2.0.7, build #2, compiled 11:10:09 Jul 11 2020
Using configuration file conf/services.conf
Attempting to connect to uplink #1 213.239.202.194 (213.239.202.194), port 6900
Successfully connected to uplink #1 213.239.202.194:6900
Lost connection from uplink #1 (213.239.202.194:6900): Connection reset by peer


If I start the services with the flag debug and then look in the log, the following is inside:

Quote
[Jul 11 13:49:37.310128 2020] SERVER: services.stargate-delta.de (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 11 13:49:37.310189 2020] Anope 2.0.7 starting up (options: debug)
[Jul 11 13:49:37.310220 2020] Unable to initialize languages, gettext is not installed
[Jul 11 13:49:37.310247 2020] Loading modules...
[Jul 11 13:49:37.310275 2020] Trying to load module: unreal4
[Jul 11 13:49:37.311042 2020] Module unreal4 loaded.
[Jul 11 13:49:37.311186 2020] Trying to load module: db_flatfile
[Jul 11 13:49:37.311524 2020] Module db_flatfile loaded.
[Jul 11 13:49:37.311595 2020] Trying to load module: enc_sha256
.
.
.
.
[Jul 11 13:49:37.331738 2020] Module m_sasl loaded.
[Jul 11 13:49:37.331811 2020] Using IRCd protocol unreal4
[Jul 11 13:49:37.331902 2020] Loading databases...
[Jul 11 13:49:37.331961 2020] Databases loaded
[Jul 11 13:49:37.332653 2020] Attempting to connect to uplink #1 213.239.202.194 (213.239.202.194), port 6900
[Jul 11 13:49:37.332811 2020] Successfully connected to uplink #1 213.239.202.194:6900
[Jul 11 13:49:37.332831 2020] Sent: :255 PASS :servicesda
[Jul 11 13:49:37.332843 2020] Sent: :255 PROTOCTL NICKv2 VHP UMODE2 NICKIP SJOIN SJOIN2 SJ3 NOQUIT TKLEXT MLOCK SID
[Jul 11 13:49:37.332857 2020] Sent: :255 PROTOCTL EAUTH=services.stargate-delta.de,,,Anope-2.0.7
[Jul 11 13:49:37.332876 2020] Sent: :255 PROTOCTL SID=255
[Jul 11 13:49:37.332888 2020] Sent: :255 SERVER services.stargate-delta.de 1 :Services for IRC Networks
[Jul 11 13:49:37.834027 2020] Lost connection from uplink #1 (213.239.202.194:6900): Connection reset by peer
[Jul 11 13:49:37.834931 2020] Unable to connect to any uplink

here are the two code blocks from anpoe and unreal:

anope:
Code: [Select]
uplink
{

        host = "213.239.202.194"
        ipv6 = no
        ssl = no
        port = 6900
        password = "servicesda"
}

unreal:
Code: [Select]
link services.stargate-delta.de {
         incoming {
             mask *@213.239.202.194;
         };
         password "servicesda";
         class servers;
     };
     ulines { services.stargate-delta.de; };

someone an idea what can still be wrong there?
Title: Re: Anope 2.0.7. & UnrealIRCd 5.0.5.1 not connected
Post by: Lord255 on July 11, 2020, 06:11:17 PM
first of all:
if ircd and services are on the same host, use either localhost or 127.0.0.1 as ip for linking.
2nd: https://www.unrealircd.org/docs/Tutorial:_Linking_servers
you are missing lots of entries from your link block on ircd side.

btw: anope defaults conf have a copy paste block, you just need to read the config and use it..