Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Pim Peters on August 21, 2013, 05:24:18 PM
-
Getting a connection refushed with this settings:
Unrealircd.conf:
#This is the services link block
/*
link services.disgeae.nl
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 6667;
hub *;
password-connect "pass";
password-receive "pass";
class servers;
};
*/
#This is the ulines block
ulines {
services.disgeae.nl;
};
services.conf:
RemoteServer 127.0.0.1 6667 "pass"
ServerName "services.disgeae.nl"
ServerDesc "Disgeae's network"
ServiceUser "services@disgeae.nl"
And this is in the logs:
[Aug 21 18:19:34 2013] Every UserKey must be different. It's for YOUR safety! Remember that!
[Aug 21 18:19:34 2013] Loading IRCD Protocol Module: [unreal32]
[Aug 21 18:19:34 2013] status: [0][Module, Okay - No Error]
[Aug 21 18:19:34 2013] Loading Encryption Module: [enc_none]
[Aug 21 18:19:34 2013] status: [0][Module, Okay - No Error]
[Aug 21 18:19:34 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 21 18:19:34 2013] MSMemoReceipt not enabled in services.conf
[Aug 21 18:19:34 2013] Databases loaded
[Aug 21 18:19:34 2013] Info: Reflecting database records.
[Aug 21 18:19:34 2013] FATAL: Can't connect to server: Connection refused
I don't get what I'm doing wrong..
-
At a guess I'll say your ircd isn't listening on 127.0.0.1 port 6667.
-
listen *:8067;
listen *:6667;
This?
-
Fixed it by restarting unreal, getting new one:
[Aug 21 19:24:57 2013] Every UserKey must be different. It's for YOUR safety! Remember that!
[Aug 21 19:24:57 2013] Loading IRCD Protocol Module: [unreal32]
[Aug 21 19:24:57 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:57 2013] Loading Encryption Module: [enc_none]
[Aug 21 19:24:57 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:57 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 21 19:24:58 2013] MSMemoReceipt not enabled in services.conf
[Aug 21 19:24:58 2013] Databases loaded
[Aug 21 19:24:58 2013] Info: Reflecting database records.
[Aug 21 19:24:58 2013] Connected to Server 1 (127.0.0.1:6667)
[Aug 21 19:24:58 2013] trying to load [cs_appendtopic]
[Aug 21 19:24:58 2013] [cs_appendtopic] Loaded successfully
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [cs_enforce]
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [ns_maxemail]
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [os_info]
[Aug 21 19:24:58 2013] os_info: Loading configuration directives...
[Aug 21 19:24:58 2013] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] trying to load [hs_request]
[Aug 21 19:24:58 2013] hs_request loaded
[Aug 21 19:24:58 2013] status: [0][Module, Okay - No Error]
[Aug 21 19:24:58 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:24:58 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:24:58 2013] Read error from server: Broken pipe (error num: 32)
[Aug 21 19:24:58 2013] [cs_appendtopic] Unloaded successfully
[Aug 21 19:24:58 2013] hs_request un-loaded[/cpde]
-
http://www.anope.org/ilm.php
-
Did that, still getting error..
Getting this one debug:
[Aug 21 19:51:56.733916 2013] debug: Received: ERROR :Link denied (No matching link configuration) [@127.0.0.1.50386]
[Aug 21 19:51:56.734010 2013] debug: Link denied (No matching link configuration) [@127.0.0.1.50386]
[Aug 21 19:51:56.734042 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:51:56.734348 2013] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734380 2013] debug: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734405 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Aug 21 19:51:56.734662 2013] debug: Emitting event "db_saving" (1 args)
-
Anything in your unreal log ?
What about your allow configuration ?
I'm quite doubtful about the port you use for the link (same for users and linked servers ?)
-
actually it would be helpful if you could paste the following things together:
- The Unreal's link block
- The remoteserver part from services.conf
- The services server name
- The listen block
99% the error is in one of these.
-
[Aug 21 19:51:56.734348 2013] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734380 2013] debug: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Aug 21 19:51:56.734405 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf