Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [SOLVED] OMODE and CAPAB received twice  (Read 9273 times)

0 Members and 1 Guest are viewing this topic.

FleuryK

  • Anope User
  • Offline Offline
  • Posts: 5
[SOLVED] OMODE and CAPAB received twice
« on: July 05, 2014, 08:54:44 AM »

Hello,

Sorry i'm French and my English is very bad.

I two problems with Anope (or not...) :

I have one line with
Code: [Select]
Error while loading os_oline: Your IRCd does not support OMODE.. What does this mean?

And I have one line with
Code: [Select]
ERROR: Closing Link: srvwebfleuryk.home (CAPAB received twice). What this also means?

I searched on the net and in your forum and I have not found any solutions to these problems.

Can you help me? Thanks for your replies.

I put the log below:
Code: [Select]
[Jul 05 09:32:15 2014] SERVER: services.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 05 09:32:15 2014] Anope 2.0.1 starting up
[Jul 05 09:32:15 2014] Unable to use language de_DE.UTF-8
[Jul 05 09:32:15 2014] Unable to use language el_GR.UTF-8
[Jul 05 09:32:15 2014] Unable to use language es_ES.UTF-8
[Jul 05 09:32:15 2014] Unable to use language hu_HU.UTF-8
[Jul 05 09:32:15 2014] Unable to use language it_IT.UTF-8
[Jul 05 09:32:15 2014] Unable to use language nl_NL.UTF-8
[Jul 05 09:32:15 2014] Unable to use language pl_PL.UTF-8
[Jul 05 09:32:15 2014] Unable to use language pt_PT.UTF-8
[Jul 05 09:32:15 2014] Unable to use language ru_RU.UTF-8
[Jul 05 09:32:15 2014] Unable to use language tr_TR.UTF-8
[Jul 05 09:32:15 2014] Loading modules...
[Jul 05 09:32:15 2014] Error while loading os_oline: Your IRCd does not support OMODE.
[Jul 05 09:32:15 2014] Using IRCd protocol inspircd20
[Jul 05 09:32:15 2014] Loading databases...
[Jul 05 09:32:15 2014] Databases loaded
[Jul 05 09:32:15 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6667
[Jul 05 09:32:15 2014] Successfully connected to uplink #1 x.x.x.x:6667
[Jul 05 09:32:15 2014] ERROR: Closing Link: srvwebfleuryk.home (CAPAB received twice)
[Jul 05 09:32:15 2014] Received ERROR from uplink: Closing Link: srvwebfleuryk.home (CAPAB received twice)

I tested locally for the moment.
« Last Edit: July 20, 2014, 05:19:56 PM by FleuryK »
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: OMODE and CAPAB received twice
« Reply #1 on: July 05, 2014, 10:39:00 AM »

You are using the inspircd20 protocol module, but I found the message "CAPAB received twice" only in the source of charybdis, plexus and ratbox, So I think you are just using the wrong protocol module.
Logged

FleuryK

  • Anope User
  • Offline Offline
  • Posts: 5
Re: OMODE and CAPAB received twice
« Reply #2 on: July 05, 2014, 01:33:12 PM »

Thank you for the reply Jens Voss.

I installed the debian package ircd-hybrid to make my IRC server.

I tested inspircd12, at first it worked but then he does not want.

Here, it's works but I restarted ircd-hybrid so that the IRC server is running :
Code: [Select]
[Jul 05 14:05:50 2014] SERVER: services.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 05 14:05:50 2014] Anope 2.0.1 starting up
[Jul 05 14:05:50 2014] Unable to use language de_DE.UTF-8
[Jul 05 14:05:50 2014] Unable to use language el_GR.UTF-8
[Jul 05 14:05:50 2014] Unable to use language es_ES.UTF-8
[Jul 05 14:05:50 2014] Unable to use language hu_HU.UTF-8
[Jul 05 14:05:50 2014] Unable to use language it_IT.UTF-8
[Jul 05 14:05:50 2014] Unable to use language nl_NL.UTF-8
[Jul 05 14:05:50 2014] Unable to use language pl_PL.UTF-8
[Jul 05 14:05:50 2014] Unable to use language pt_PT.UTF-8
[Jul 05 14:05:50 2014] Unable to use language ru_RU.UTF-8
[Jul 05 14:05:50 2014] Unable to use language tr_TR.UTF-8
[Jul 05 14:05:50 2014] Loading modules...
[Jul 05 14:05:51 2014] Error while loading os_oline: Your IRCd does not support OMODE.
[Jul 05 14:05:52 2014] Using IRCd protocol inspircd12
[Jul 05 14:05:52 2014] Loading databases...
[Jul 05 14:05:52 2014] Databases loaded
[Jul 05 14:05:52 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6667
[Jul 05 14:05:52 2014] Successfully connected to uplink #1 x.x.x.x:6667
[Jul 05 14:06:08 2014] Received Interrupt signal (2), exiting.
[Jul 05 14:06:08 2014] Services terminating via signal Interrupt (2)

Here, after restarting ircd-hybrid, he longer works :
Code: [Select]
[Jul 05 14:14:29 2014] SERVER: services.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 05 14:14:29 2014] Anope 2.0.1 starting up
[Jul 05 14:14:29 2014] Unable to use language de_DE.UTF-8
[Jul 05 14:14:29 2014] Unable to use language el_GR.UTF-8
[Jul 05 14:14:29 2014] Unable to use language es_ES.UTF-8
[Jul 05 14:14:29 2014] Unable to use language hu_HU.UTF-8
[Jul 05 14:14:29 2014] Unable to use language it_IT.UTF-8
[Jul 05 14:14:29 2014] Unable to use language nl_NL.UTF-8
[Jul 05 14:14:29 2014] Unable to use language pl_PL.UTF-8
[Jul 05 14:14:29 2014] Unable to use language pt_PT.UTF-8
[Jul 05 14:14:29 2014] Unable to use language ru_RU.UTF-8
[Jul 05 14:14:29 2014] Unable to use language tr_TR.UTF-8
[Jul 05 14:14:29 2014] Loading modules...
[Jul 05 14:14:29 2014] Error while loading os_oline: Your IRCd does not support OMODE.
[Jul 05 14:14:29 2014] Using IRCd protocol inspircd12
[Jul 05 14:14:29 2014] Loading databases...
[Jul 05 14:14:29 2014] Databases loaded
[Jul 05 14:14:29 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6667
[Jul 05 14:14:29 2014] Successfully connected to uplink #1 x.x.x.x:6667
[Jul 05 14:14:29 2014] ERROR: Closing Link: srvwebfleuryk.home (Non-TS server)
[Jul 05 14:14:29 2014] Received ERROR from uplink: Closing Link: srvwebfleuryk.home (Non-TS server)

Non-TS server, what does this mean?

And I always :
Code: [Select]
Error while loading os_oline: Your IRCd does not support OMODE. Impossible to remove?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: OMODE and CAPAB received twice
« Reply #3 on: July 05, 2014, 02:02:46 PM »

Hello,

You say you are using Hybrid IRCd but you are using the inspircd 1.2 protocol module this will not work.

You must use the matching protocol module for your IRCd.
Logged

FleuryK

  • Anope User
  • Offline Offline
  • Posts: 5
Re: OMODE and CAPAB received twice
« Reply #4 on: July 07, 2014, 02:24:44 PM »

Thank you for the reply Charles Kingsley.

Well, I do not use the debian package ircd-hybrid.
I now use the inspircd package.

I have chosen the right protocole module here is inspircd20 but the latest version is 2.0.5-1.

Log level, I have just one problem:
Code: [Select]
[Jul 06 20:59:02 2014] SERVER: services.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 06 20:59:02 2014] Anope 2.0.1 starting up
[Jul 06 20:59:02 2014] Unable to use language de_DE.UTF-8
[Jul 06 20:59:02 2014] Unable to use language el_GR.UTF-8
[Jul 06 20:59:02 2014] Unable to use language es_ES.UTF-8
[Jul 06 20:59:02 2014] Unable to use language hu_HU.UTF-8
[Jul 06 20:59:02 2014] Unable to use language it_IT.UTF-8
[Jul 06 20:59:02 2014] Unable to use language nl_NL.UTF-8
[Jul 06 20:59:02 2014] Unable to use language pl_PL.UTF-8
[Jul 06 20:59:02 2014] Unable to use language pt_PT.UTF-8
[Jul 06 20:59:02 2014] Unable to use language ru_RU.UTF-8
[Jul 06 20:59:02 2014] Unable to use language tr_TR.UTF-8
[Jul 06 20:59:02 2014] Loading modules...
[Jul 06 20:59:03 2014] Error while loading os_oline: Your IRCd does not support OMODE.
[Jul 06 20:59:03 2014] Using IRCd protocol inspircd20
[Jul 06 20:59:03 2014] Loading databases...
[Jul 06 20:59:03 2014] Databases loaded
[Jul 06 20:59:03 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6667
[Jul 06 20:59:03 2014] Successfully connected to uplink #1 x.x.x.x:6667
[Jul 06 21:00:04 2014] ERROR: Closing link: (unknown@x.x.x.x) [Registration timeout]
[Jul 06 21:00:04 2014] Received ERROR from uplink: Closing link: (unknown@x.x.x.x) [Registration timeout]

Always this
Code: [Select]
Error while loading os_oline: Your IRCd does not support OMODE.
And I now
Code: [Select]
Registration timeout
Then
Code: [Select]
unknown@x.x.x.x
What does that mean?
Logged

Shutter

  • Anope User
  • Offline Offline
  • Posts: 3
Re: OMODE and CAPAB received twice
« Reply #5 on: July 07, 2014, 03:56:32 PM »

Where to begin ...

2.0.5-1 isn't the newest, it's ancient.
Regrettably the Debian package for most IRC stuff is ancient.

You can get the newest version from https://github.com/inspircd/inspircd/tree/insp20 and building from source.
Don't tell Anope to load os_oline unless you're using Unreal IRCd. You probably don't need this anyway.
Don't try to link to InspIRCd on a client port. That will never work.

Make sure you have a bind block for servers inspircd's inspircd.conf, and make Anope link to this port.
Also make sure you have link block in links.conf with the right credentials in inspircd's links.conf
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: OMODE and CAPAB received twice
« Reply #6 on: July 07, 2014, 04:15:55 PM »

In inspircds modules.conf you also need to enable the m_spanningtree module. (Its disabled by default.)
Logged

FleuryK

  • Anope User
  • Offline Offline
  • Posts: 5
Re: OMODE and CAPAB received twice
« Reply #7 on: July 09, 2014, 10:22:19 AM »

Thank you for your answers.

I tried changing port (6667 to 6668) and disabling the OMODE, here is the result:
Code: [Select]
[Jul 09 11:00:52 2014] SERVER: servicesirc.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 09 11:00:52 2014] Anope 2.0.1 starting up
[Jul 09 11:00:52 2014] Loading modules...
[Jul 09 11:00:52 2014] Using IRCd protocol inspircd20
[Jul 09 11:00:52 2014] Loading databases...
[Jul 09 11:00:52 2014] Databases loaded
[Jul 09 11:00:52 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6668
[Jul 09 11:00:52 2014] Successfully connected to uplink #1 x.x.x.x:6668
[Jul 09 11:00:52 2014] Unable to connect to any uplink

I changed the port again (6668 to 6667) and disabling the OMODE, and here is the result:
Code: [Select]
[Jul 09 11:02:39 2014] SERVER: servicesirc.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 09 11:02:39 2014] Anope 2.0.1 starting up
[Jul 09 11:02:39 2014] Loading modules...
[Jul 09 11:02:39 2014] Using IRCd protocol inspircd20
[Jul 09 11:02:39 2014] Loading databases...
[Jul 09 11:02:39 2014] Databases loaded
[Jul 09 11:02:39 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6667
[Jul 09 11:02:39 2014] Successfully connected to uplink #1 x.x.x.x:6667
[Jul 09 11:03:40 2014] ERROR: Closing link: (unknown@x.x.x.x) [Registration timeout]
[Jul 09 11:03:40 2014] Received ERROR from uplink: Closing link: (unknown@x.x.x.x) [Registration timeout]


In inspircd.conf file I put this:
Code: [Select]
<link name = "servicesirc.srvircfleuryk"
       ipaddr = "x.x.x.x"
       port = "6667"
       sendpass = "my_password_I_defined"
       recvpass = "my_password_I_defined">

<uline server="servicesirc.srvircfleuryk" silent="yes">

<bind address="x.x.x.x" port="6667" type="servers">

I did not file modules.conf in inspircd and links.conf also.

In inspircd, I just the following files :
inspircd.conf, inspircd.motd and inspircd.rules
Logged

Shutter

  • Anope User
  • Offline Offline
  • Posts: 3
Re: OMODE and CAPAB received twice
« Reply #8 on: July 09, 2014, 12:57:01 PM »

Why are you binding 6667 to servers?
Trying with 6668 isn't any better as that's normally a standard port, too.

The default config binds 6660-6669 to clients, so unless you changed this, 6668 is already taken.
Try binding 7252 or something crazy like that to servers and use that to connect anope.
Logged

FleuryK

  • Anope User
  • Offline Offline
  • Posts: 5
Re: OMODE and CAPAB received twice
« Reply #9 on: July 20, 2014, 05:18:43 PM »

Good evening,

I bring you good news!

I managed to solve this problem. In fact it I just had to uncomment the id in file services.conf to make it work.

Thank you for your help.

Best regards.

Here is the log (I changed the port to 6665):
Code: [Select]
[Jul 20 17:34:06 2014] SERVER: servicesirc.srvircfleuryk (Services for IRC Networks) has connected to the network (uplinked to no uplink)
[Jul 20 17:34:06 2014] Anope 2.0.1 starting up
[Jul 20 17:34:06 2014] Loading modules...
[Jul 20 17:34:07 2014] Using IRCd protocol inspircd20
[Jul 20 17:34:07 2014] Loading databases...
[Jul 20 17:34:07 2014] Databases loaded
[Jul 20 17:34:07 2014] Attempting to connect to uplink #1 x.x.x.x (x.x.x.x), port 6665
[Jul 20 17:34:07 2014] Successfully connected to uplink #1 x.x.x.x:6665
[Jul 20 17:34:07 2014] SERVER: srvircfleuryk.srvircfleuryk (Serveur IRC de FleuryK) has connected to the network (uplinked to servicesirc.srvircfleuryk)
[Jul 20 17:34:07 2014] SERVER: servicesirc.srvircfleuryk (Services for IRC Networks) introduced srvircfleuryk.srvircfleuryk
[Jul 20 17:34:07 2014] SERVER: srvircfleuryk.srvircfleuryk (Serveur IRC de FleuryK) is done syncing
[Jul 20 17:34:07 2014] SERVER: servicesirc.srvircfleuryk (Services for IRC Networks) is done syncing
[Jul 20 17:34:07 2014] Successfully linked, launching into background...
Logged
Pages: [1]   Go Up