Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: JKM on November 20, 2009, 06:44:23 PM
-
Hello there
I can't link inspircd and anope.
Logfile:
Loading IRCD Protocol Module: [inspircd11]
status: - [Module, Okay - No Error]
Loading Encryption Module: [enc_none]
status: - [Module, Okay - No Error]
Launching Anope into the background
Anope 1.8.2-inspircd12-test (2485) (ircd protocol: inspircdIRCd 1.1) starting up
Databases loaded
Info: Reflecting database records.
Connected to Server 1 (127.0.0.1:6667)
trying to load [cs_appendtopic]
[cs_appendtopic] Loaded successfully
status: - [Module, Okay - No Error]
trying to load [cs_enforce]
status: - [Module, Okay - No Error]
trying to load [ns_maxemail]
status: - [Module, Okay - No Error]
trying to load [os_info]
os_info: Loading configuration directives...
os_info: Directive OSInfoDBName loaded (os_info.db)...
status: - [Module, Okay - No Error]
trying to load [hs_request]
hs_request loaded
status: - [Module, Okay - No Error]
Read error from server: No such file or directory (error num: 2)
[cs_appendtopic] Unloaded successfully
hs_request un-loaded
How can i solve it?
-
I'm sorry... I tested it with the wrong port
Logfile with port 8000:
Loading IRCD Protocol Module: [inspircd11]
status: - [Module, Okay - No Error]
Loading Encryption Module: [enc_none]
status: - [Module, Okay - No Error]
Launching Anope into the background
Anope 1.8.2-inspircd12-test (2485) (ircd protocol: inspircdIRCd 1.1) starting up
[Nov 20 18:57:56 2009] Databases loaded
[Nov 20 18:57:56 2009] Info: Reflecting database records.
[Nov 20 18:57:56 2009] Connected to Server 1 (127.0.0.1:8000)
[Nov 20 18:57:56 2009] trying to load [cs_appendtopic]
[cs_appendtopic] Loaded successfully
status: - [Module, Okay - No Error]
trying to load [cs_enforce]
status: - [Module, Okay - No Error]
trying to load [ns_maxemail]
status: - [Module, Okay - No Error]
trying to load [os_info]
os_info: Loading configuration directives...
os_info: Directive OSInfoDBName loaded (os_info.db)...
status: - [Module, Okay - No Error]
trying to load [hs_request]
hs_request loaded
status: - [Module, Okay - No Error]
Read error from server: No such file or directory (error num: 2)
[cs_appendtopic] Unloaded successfully
hs_request un-loaded
-
Pastebin your config files.
-
Are you trying to link inspircd 1.1 or 1.2? It looks as if you're trying to link 1.1 according to those logs. Which looks like the wrong module.
-
Anope conf file:
http://pastebin.com/m5fa21a15
InspIRCd conf file:
http://pastebin.com/m748b105d
InspIRCd link conf file:
<link name="services.localhost"
ipaddr="127.0.0.1"
port="8000"
allowmask="127.0.0.1"
sendpass="mypass"
recvpass="mypass">
<uline server="services.localhost" silent="no">
-
You'd want to set the ircdmodule to inspircd12 in the config file since you're linking to inspircd12.
I appreciate the example config included with that special 1.8.2 build doesn't make that obvious but common sense may have prevailed.
-
Loading IRCD Protocol Module: [inspircd12]
FATAL ERROR: The InspIRCd 1.2 protocol module requires UseTS6 to be enabled in the services.conf.
inspircd12 requested unload...
status: [6][Module Error, Error during load time or module returned MOD_STOP]
-
FATAL ERROR: The InspIRCd 1.2 protocol module requires UseTS6 to be enabled in the services.conf.
You should uncomment UseTS6 in the services.conf (as it's stated clearly)
-
FATAL ERROR: The InspIRCd 1.2 protocol module requires UseTS6 to be enabled in the services.conf.
READ THE ERROR MESSAGE.
Help yourself.
-
Loading IRCD Protocol Module: [inspircd12]
FATAL ERROR: The InspIRCd 1.2 protocol module requires the Numeric in the services.conf to contain a TS6SID.
inspircd12 requested unload...
status: [6][Module Error, Error during load time or module returned MOD_STOP]
After uncomment UseTS6 i get that error....
Now i uncommented the line Numeric "64" and the error is the same
-
Read your ircd documentation as to determine the correct syntax for the TS6SID
-
nothing about TS6SID in inspircd website/forum. :-\
-
http://wiki.inspircd.org/InspIRCd_Spanning_Tree_1.2/UUIDs
[0-9][A-Z0-9][A-Z0-9]... for example 3AX
-
Now:
Loading IRCD Protocol Module: [inspircd12]
status: - [Module, Okay - No Error]
Loading Encryption Module: [enc_none]
status: - [Module, Okay - No Error]
Launching Anope into the background
Anope 1.8.2-inspircd12-test (2485) (ircd protocol: InspIRCd 1.2) starting up
os_sgline requested unload...
debug: trying to load core module [os_sgline]
debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
os_oline requested unload...
debug: trying to load core module [os_oline]
debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
Databases loaded
Info: Reflecting database records.
Connected to Server 1 (127.0.0.1:8000)
-
that s not the entire log.. anope hasn't finished trying to connect yet.. but it will likely fail if it takes that long.
chances are inspircd isn't listening on the port/ip you are connecting to.
-
[Nov 20 23:06:14 2009] Loading IRCD Protocol Module: [inspircd12]
[Nov 20 23:06:14 2009] status: - [Module, Okay - No Error]
[Nov 20 23:06:14 2009] Loading Encryption Module: [enc_none]
[Nov 20 23:06:14 2009] status: - [Module, Okay - No Error]
[Nov 20 23:06:14 2009] Launching Anope into the background
[Nov 20 23:06:14 2009] Anope 1.8.2-inspircd12-test (2485) (ircd protocol: InspIRCd 1.2) starting up
[Nov 20 23:06:25 2009] os_sgline requested unload...
[Nov 20 23:06:25 2009] debug: trying to load core module [os_sgline]
[Nov 20 23:06:25 2009] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Nov 20 23:06:29 2009] os_oline requested unload...
[Nov 20 23:06:29 2009] debug: trying to load core module [os_oline]
[Nov 20 23:06:29 2009] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Nov 20 23:06:32 2009] Databases loaded
[Nov 20 23:06:32 2009] Info: Reflecting database records.
[Nov 20 23:06:32 2009] Connected to Server 1 (127.0.0.1:8000)
Its 23:15 here.... after 10 minutes it keep trying to connect :|
Ports:
127.0.0.1:8000 (server, plaintext)
*:6667 (client, plaintext)
*:6660 (client, plaintext)
*:6661 (client, plaintext)
*:6662 (client, plaintext)
*:6663 (client, plaintext)
*:6664 (client, plaintext)
*:6665 (client, plaintext)
*:6666 (client, plaintext)
*:6668 (client, plaintext)
*:6669 (client, plaintext)
-
run anope in debug...
./services -debug -nofork
-
http://pastebin.com/m24df6b1f
-
I still see major errors...
You tell inspircd you expect the anope server to be called "services.localhost" yet you tell anope in the services.conf it s called 127.0.0.1 (ServerName).
InspIRCd doesn't answer anopes link attempt.. anope manages to connect to something on that ip/port, but i d expect the ircd to reply.. if you ve fixed above issue and insp still doesn't reply to anope you might wanna try another port or so...
-
i've changed ServerName to test a thing and after that i forgot to change it again.
now the only difference is
debug: Sent: SERVER services.localhost mypass 0 3AX :Services for IRC Networks
debug: Creating services.localhost(3AX) uplinked to No uplink
debug: Emitting event "connect" (1 args)
and
Connected to Server 1 (127.0.0.1:8000)
debug: Sent: SERVER 127.0.0.1 mypass 0 3AX :Services for IRC Networks
debug: Creating 127.0.0.1(3AX) uplinked to No uplink
the rest is the same
-
does it have something to do with Windows Firewall?
-
possibly.. I don't ever run an ircd / services on windows, but a firewall can be blocking it..
-
Try using a different port 8000 might be tied to something already on the IP (just a thought)