Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Problème résolu unreal5.0.7 & anope-2.0.9  (Read 6988 times)

0 Members and 1 Guest are viewing this topic.

Genesia

  • Anope User
  • Offline Offline
  • Posts: 2
Problème résolu unreal5.0.7 & anope-2.0.9
« on: November 11, 2020, 11:59:52 AM »

Bonjour à tous,

Quote
unrealircd-5.0.7
anope-2.0.9
Debian 10 - OVH


Quote
:~# netstat -anp|grep unrealircd
tcp        0      0 0.0.0.0:6697            0.0.0.0:*               LISTEN      10372/unrealircd
tcp        0      0 0.0.0.0:6667            0.0.0.0:*               LISTEN      10372/unrealircd
tcp        0      0 0.0.0.0:6900            0.0.0.0:*               LISTEN      10372/unrealircd
tcp6       0      0 :::6697                 :::*                    LISTEN      10372/unrealircd
tcp6       0      0 :::6667                 :::*                    LISTEN      10372/unrealircd
tcp6       0      0 :::6900                 :::*                    LISTEN      10372/unrealircd
unix  2      [ ]         DGRAM                    1406585  10372/unrealircd

Quote
:~/unrealircd$ ./unrealircd start
Starting UnrealIRCd
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v5.0.7

UnrealIRCd is brought to you by Bram Matthys (Syzop), Gottem and i

Using the following libraries:
* PCRE2 10.33 2019-04-16
* OpenSSL 1.1.1d  10 Sep 2019

This server can handle 8192 concurrent sockets (8184 clients + 8 reserve)

Loading IRCd configuration..
Configuration loaded.
Loading tunefile..
Initializing TLS..
Dynamic configuration initialized.. booting IRCd.
UnrealIRCd is now listening on the following addresses/ports:
IPv4: *:6900, *:6697(SSL/TLS), *:6667
IPv6: *:6900, *:6697(SSL/TLS), *:6667
UnrealIRCd started.
debian@vps-dkd875:~/unrealircd$


unrealircd.conf

Quote
/* Port SSL/TLS spécial pour la connexion entre serveurs */
listen {
        ip *;
        port 6900;
        options { serversonly; }
}

Quote
link services.mydomain.com
{
        incoming {
                mask 127.0.0.1;
        };

        outgoing {
                bind-ip 127.0.0.1; /* or explicitly an IP */
                hostname 127.0.0.1;
                port 6900;
                options {  };
        };

        password "mypass1"; /* SSL fingerprint of other server */

        class servers;
};


Quote
ulines {
        services.mydomain.com;
}


anope
Quote
uplink
{
        /*
         * The IP or hostname of the IRC server you wish to connect Services to.
         * Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
         *
         * NOTE: On some shell providers, this will not be an option.
         */
        host = "127.0.0.1"

        /*
         * Enable if Services should connect using IPv6.
         */
        ipv6 = no

        /*
         * Enable if Services should connect using SSL.
         * You must have an SSL module loaded for this to work.
         */
        ssl = no

        /*
         * The port to connect to.
         * The IRCd *MUST* be configured to listen on this port, and to accept
         * server connections.
         *
         * Refer to your IRCd documentation for how this is to be done.
         */
        port = 6900

        /*
         * The password to send to the IRC server for authentication.
         * This must match the link block on your IRCd.
         *
         * Refer to your IRCd documentation for more information on link blocks.
         */
        password = "mypass1"
}

/*
 * [REQUIRED] Server Information
 *
 * This section contains information about the Services server.
 */
serverinfo
{
        /*
         * The hostname that Services will be seen as, it must have no conflicts with any
         * other server names on the rest of your IRC network. Note that it does not have
         * to be an existing hostname, just one that isn't on your network already.
         */
        name = "services.mydomain.com"

Connexion et link
Quote
debian@vps-dkd875:~$ cd services/bin/
debian@vps-dkd875:~/services/bin$ ./anoperc start
Starting Anope
Anope 2.0.9, build #2, compiled 16:29:27 Nov 10 2020
Using configuration file conf/services.conf
Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 6900
Successfully connected to uplink #1 127.0.0.1:6900
ERROR: Missing password
ERROR: Closing Link: [127.0.0.1] (Missing password)

Unfortunately it seems Anope did not start successfully
This error has been logged in your Anope Log file
Located in /home/debian/services/logs/
This may help you diagnose the problem
Further help may be available from https://www.anope.org/
debian@vps-dkd875:~/services/bin$

voilà comme vous pouvez le voir, je n'arrive pas à établir la connexion entre le serveur unrealircd et les services anope
en Oper j'ai même fait
Quote
/connect services.mydomain.com
  mais sans succès.
merci de bien vouloir m'aider.

Cordialement,
« Last Edit: November 11, 2020, 02:55:51 PM by Genesia »
Logged

Genesia

  • Anope User
  • Offline Offline
  • Posts: 2
Re: probleme unrealircd-5.0.7 & anope-2.0.9
« Reply #1 on: November 11, 2020, 02:15:15 PM »

Problème résolu si vous utilisez un unrealircd 4 ou 5 !!!!

dans services.conf

rechercher unreal4
Quote
/*
 * [REQUIRED] Protocol module
 *
 * This directive tells Anope which IRCd Protocol to speak when connecting.
 * You MUST modify this to match the IRCd you run.
 *
 * Supported:
 *  - bahamut
 *  - charybdis
 *  - hybrid
 *  - inspircd12
 *  - inspircd20
 *  - inspircd3
 *  - ngircd
 *  - plexus
 *  - ratbox
 *  - unreal (for 3.2.x)
 *  - unreal4 (for 4.x or later)
 */
module
{
        name = "inspircd20"


Trouver la ligne

Quote
name = "inspircd20"

Remplacer par

Quote
name = "unreal4"
  (si vous avez un unreal 4 ou 5)

Enregistrer et quitter faire

Quote
cd services/bin
./anoperc start

Trop Content ! :)
« Last Edit: November 11, 2020, 02:46:04 PM by Genesia »
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 258
    • Réseau IRC francophone
Re: Problème résolu unreal5.0.7 & anope-2.0.9
« Reply #2 on: November 12, 2020, 07:22:52 AM »

Effectivement, ne pas mettre le bon ircd n'aide pas.
Au moins, tu as trouvé tout seul, c'est bien :)
Pages: [1]   Go Up