Hello, brand new to this, but thanks for a great bit of software that I hope to be able to use!
I'm quite confused right now, as I'm getting this on boot:
Starting Anope
Anope 2.0.7, build #2, compiled 16:28:41 Apr 15 2020
Using configuration file conf/services.conf
Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 6666
Successfully connected to uplink #1 127.0.0.1:6666
ERROR: Closing Link: localhost (Invalid password.)
Unfortunately it seems Anope did not start successfully
This error has been logged in your Anope Log file
Located in /home/pi/services/logs/
This may help you diagnose the problem
Further help may be available from https://www.anope.org/
Seems simple enough, but the passwords are matching in both ircd.conf (hybrid) and services.conf (Anope)
Example: services.conf (
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 = 6667
/*
* 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 = "PASSWORD"
}
Password fails whether you use the copy of the encrypted or decrypted password provided in ircd.conf below:
connect {
/* name: the name of the server. */
name = "PiDiscordBot.irc";
/*
* host: the host or IP address to connect to. If a hostname is used it
* must match the reverse DNS of the server.
*/
host = "127.0.0.1";
/*
* vhost: the IP address to bind to when making outgoing connections to
* servers.
* serverinfo::vhost and serverinfo::vhost6 will be overridden
* by this directive.
*/
# vhost = "192.168.0.2";
/*
* send_password, accept_password: the passwords to send and accept.
* The remote server will have these passwords swapped.
*/
send_password = "ENCRYPTED_PASSWORD";
accept_password = "ENCRYPTED_PASSWORD";
/*
* encrypted: controls whether the accept_password above has been
* encrypted.
*/
encrypted = yes;
/* port: the port to connect to this server on. */
port = 6667;
/*
* hub_mask: the mask of servers that this server may hub. Multiple
* entries are permitted.
*/
hub_mask = "*";
/*
* leaf_mask: the mask of servers this server may not hub. Multiple
* entries are permitted. Useful for forbidding EU -> US -> EU routes.
*/
# leaf_mask = "*.uk";
/* class: the class this server is in */
class = "server";
/*
* autoconn - controls whether we autoconnect to this server or not,
* dependent on class limits. By default, this is disabled.
*/
# flags = autoconn;
};
connect {
name = "PiDiscordBot";
host = "127.0.0.1";
send_password = "ENCRYPTED_PASSWORD";
accept_password = "ENCRYPTED_PASSWORD";
encrypted = yes;
port = 6667;
/*
* aftype: controls whether the connection uses "ipv4" or "ipv6".
* Default is ipv4.
*/
aftype = ipv6;
class = "server";
};
Finally, the log:
[Apr 17 00:32:41 2020] SERVER: PiDiscordBot.irc (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Apr 17 00:32:41 2020] Anope 2.0.7 starting up
[Apr 17 00:32:41 2020] Unable to initialize languages, gettext is not installed
[Apr 17 00:32:41 2020] Loading modules...
[Apr 17 00:32:41 2020] Using IRCd protocol hybrid
[Apr 17 00:32:41 2020] Loading databases...
[Apr 17 00:32:41 2020] DB_FLATFILE: Unable to open data/anope.db for reading!
[Apr 17 00:32:41 2020] Databases loaded
[Apr 17 00:32:41 2020] Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 6666
[Apr 17 00:32:41 2020] Successfully connected to uplink #1 127.0.0.1:6666
[Apr 17 00:32:41 2020] ERROR: Closing Link: localhost (Invalid password.)
[Apr 17 00:32:41 2020] Received ERROR from uplink: Closing Link: localhost (Invalid password.)
Any help you can offer is appreciated.
Thanks,
Nick