Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Blair on March 27, 2020, 04:04:52 AM
-
I admin 2 servers running ircd-hybrid 8.2. One is running fine with Anope 2.0.5. The other was running hybserv. After upgrading I needed to switch to Anope. The stable server is Debian 9.12. The problem server is Debian 10.3. When I run Anope I get the message
introduced server with bogus server ID 0
The irc reports
*** Notice -- Link [unknown@255.255.255.255] introduced server with bogus server ID 0
The uplink section of services.conf is
uplink
{
host = "127.0.0.1"
ipv6 = no
ssl = no
port = 6667
password = "wherestheservice"
}
The connect block from ircd.conf is
connect {
name = "services.ehhh.us";
host = "127.0.0.1";
send_password = "wherestheservice";
accept_password = "wherestheservice";
encrypted = no;
port = 6667;
hub_mask = "*";
class = "server";
};
I have tried to duplicate the error on the properly running server. Changing the server name results in "no connect block." Changing the password results in "bad password."
-
I'd suspect you accidentally set 'serverinfo:id' to 0. If not/it's commented out, try uncommenting it and set it to something else, i.e., 2AZ. If that doesn't work run Anope in support mode
./bin/anope -support
and make sure it's sending a valid server ID when connecting to the uplink.
-
Actually, it seems the program didn't like ANYTHING ircd-hybrid had to say
-
I guess no one has seen my output yet. It says the attachment is waiting for approval.
[Mar 27 09:57:49.177466 2020] Debug: Using IRCd protocol inspircd20
[Mar 27 09:57:49.177685 2020] Debug: Loading databases...
[Mar 27 09:57:49.177754 2020] DB_FLATFILE: Unable to open data/anope.db for reading!
[Mar 27 09:57:49.177777 2020] Debug: Databases loaded
[Mar 27 09:57:49.178485 2020] Debug: Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 6667
[Mar 27 09:57:49.178665 2020] Debug: Successfully connected to uplink #1 127.0.0.1:6667
[Mar 27 09:57:49.178704 2020] Debug: Sent: :00B CAPAB START 1202
[Mar 27 09:57:49.178732 2020] Debug: Sent: :00B CAPAB CAPABILITIES :PROTOCOL=1202
[Mar 27 09:57:49.178755 2020] Debug: Sent: :00B CAPAB END
[Mar 27 09:57:49.178788 2020] Debug: Sent: :00B SERVER services.ehhh.usx wherestheservice 0 00B :Services for IRC Networks
[Mar 27 09:57:49.179460 2020] Debug: Received: :gamebird.ehhh.us NOTICE * :*** Looking up your hostname
[Mar 27 09:57:49.180180 2020] Debug: unexpected non-user source gamebird.ehhh.us for NOTICE
[Mar 27 09:57:49.180203 2020] Debug: Received: :gamebird.ehhh.us NOTICE * :*** Checking Ident
[Mar 27 09:57:49.180235 2020] Debug: unexpected non-user source gamebird.ehhh.us for NOTICE
[Mar 27 09:57:49.180255 2020] Debug: Received: :gamebird.ehhh.us NOTICE * :*** No Ident response
[Mar 27 09:57:49.180286 2020] Debug: unexpected non-user source gamebird.ehhh.us for NOTICE
[Mar 27 09:57:49.180371 2020] Debug: Received: :gamebird.ehhh.us NOTICE * :*** Found your hostname
[Mar 27 09:57:49.180411 2020] Debug: unexpected non-user source gamebird.ehhh.us for NOTICE
[Mar 27 09:57:49.180481 2020] Debug: Received: ERROR :Closing Link: localhost (Bogus server ID introduced)
[Mar 27 09:57:49.180517 2020] Debug: ERROR: Closing Link: localhost (Bogus server ID introduced)
[Mar 27 09:57:49.181424 2020] Debug: Received ERROR from uplink: Closing Link: localhost (Bogus server ID introduced)
-
I figured it out! Had to load the hybrid module instead of inspircd20. Now I just have to figure out how to fix the session limit exceeded errors for my znc server