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

Title: Link InspIRCd 1.2 Anope 1.8
Post 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:
Loading Encryption Module: [enc_none]
status:
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:
trying to load [cs_enforce]
status:
trying to load [ns_maxemail]
status:
trying to load [os_info]
os_info: Loading configuration directives...
os_info: Directive OSInfoDBName loaded (os_info.db)...
status:
trying to load [hs_request]
hs_request loaded
status:
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?
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 06:52:35 PM
I'm sorry... I tested it with the wrong port

Logfile with port 8000:
Loading IRCD Protocol Module: [inspircd11]
status:
Loading Encryption Module: [enc_none]
status:
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:
trying to load [cs_enforce]
status:
trying to load [ns_maxemail]
status:
trying to load [os_info]
os_info: Loading configuration directives...
os_info: Directive OSInfoDBName loaded (os_info.db)...
status:
trying to load [hs_request]
hs_request loaded
status:
Read error from server: No such file or directory (error num: 2)
[cs_appendtopic] Unloaded successfully
hs_request un-loaded
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Charles Kingsley on November 20, 2009, 07:16:36 PM
Pastebin your config files.
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Syloq on November 20, 2009, 07:23:49 PM
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.
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 07:27:32 PM
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">
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Charles Kingsley on November 20, 2009, 07:36:23 PM
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.
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 08:08:20 PM
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]
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Sm0ke0ut on November 20, 2009, 08:33:27 PM
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)
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Charles Kingsley on November 20, 2009, 08:43:56 PM
FATAL ERROR: The InspIRCd 1.2 protocol module requires UseTS6 to be enabled in the services.conf.

READ THE ERROR MESSAGE.

Help yourself.
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 08:46:03 PM
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
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Charles Kingsley on November 20, 2009, 08:47:41 PM
Read your ircd documentation as to determine the correct syntax for the TS6SID
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 08:53:56 PM
nothing about TS6SID in inspircd website/forum.  :-\
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Jan Milants on November 20, 2009, 09:07:05 PM
http://wiki.inspircd.org/InspIRCd_Spanning_Tree_1.2/UUIDs

[0-9][A-Z0-9][A-Z0-9]... for example 3AX
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 10:06:47 PM
Now:

Loading IRCD Protocol Module: [inspircd12]
status:
Loading Encryption Module: [enc_none]
status:
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)
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Jan Milants on November 20, 2009, 11:01:00 PM
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.
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 20, 2009, 11:16:55 PM
[Nov 20 23:06:14 2009] Loading IRCD Protocol Module: [inspircd12]
[Nov 20 23:06:14 2009] status: [Nov 20 23:06:14 2009] Loading Encryption Module: [enc_none]
[Nov 20 23:06:14 2009] status: [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)
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Jan Milants on November 21, 2009, 11:42:14 AM
run anope in debug...

./services -debug -nofork
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 21, 2009, 11:57:27 AM
http://pastebin.com/m24df6b1f
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Jan Milants on November 21, 2009, 12:12:07 PM
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...
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 21, 2009, 12:22:57 PM
i've changed ServerName to test a thing and after that i forgot to change it again.

now the only difference is

Code: [Select]
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
Code: [Select]
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
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: JKM on November 21, 2009, 02:05:00 PM
does it have something to do with Windows Firewall?
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Jan Milants on November 21, 2009, 04:35:11 PM
possibly.. I don't ever run an ircd / services on windows, but a firewall can be blocking it..
Title: Re: Link InspIRCd 1.2 Anope 1.8
Post by: Alan Carr on November 21, 2009, 10:11:20 PM
Try using a different port 8000 might be tied to something already on the IP (just a thought)