Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Sam on August 25, 2009, 08:18:02 AM

Title: 451 VERSION :You have not registered
Post by: Sam on August 25, 2009, 08:18:02 AM
Hey everyone,
I've sucessfully setup an IRCd before with Inspircd. I just tried and I get this on a services debug start.

Code: [Select]
[Aug 25 07:07:57.982050 2009] debug: Received: :irc.myserver.com NOTICE Auth :*** Looking up your hostname...
[Aug 25 07:07:57.982050 2009] debug: Received: :irc.myserver.com 451 SERVER :You have not registered
[Aug 25 07:07:57.986050 2009] debug: unknown message from server (:irc.myserver.com 451 SERVER :You have not registered)
[Aug 25 07:07:57.986050 2009] debug: Received: :irc.myserver.com 451 VERSION :You have not registered
[Aug 25 07:07:57.986050 2009] debug: unknown message from server (:irc.myserver.com 451 VERSION :You have not registered)
[Aug 25 07:07:57.986050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.986050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.986050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.986050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.986050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.986050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.994050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.994050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.994050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.994050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.994050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.994050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.994050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.994050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:07:57.994050 2009] debug: Received: :irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname
[Aug 25 07:07:57.994050 2009] debug: unknown message from server (:irc.myserver.com 432 0-unknown 1251184077 :Erroneous Nickname)
[Aug 25 07:08:58.997527 2009] debug: Received: ERROR :Closing link (unknown@127.0.0.1) [Registration timeout]
[Aug 25 07:08:58.997527 2009] debug: unknown message from server (ERROR :Closing link (unknown@127.0.0.1) [Registration timeout])

Any help will be appreciated. :)

-sam
Title: Re: 451 VERSION :You have not registered
Post by: Jan Milants on August 25, 2009, 12:36:17 PM
anope is connecting to a client port...
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 25, 2009, 11:46:32 PM
Hey Jan.
I thought the same thing after I posted it. How will I be able to change it to connect to the server instead?
Title: Re: 451 VERSION :You have not registered
Post by: LEthaLity on August 26, 2009, 12:09:32 AM
by making sure that the port in services.conf, matches a port you've set up in inspircd bind block to allow servers, rather then clients.
eg.
if my anope is connecting to port 7000, my inspircd needs to accept servers on that port.
for example: <bind address="" port="7000,7001" type="servers">
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 12:28:59 AM
I have this in my inspircd config:
<bind address="" port="7000,7001" type="servers">

Then I have this as my remote server in my services.conf.
RemoteServer    localhost 7000 "mypass"

I tried that and it looks like it can't connect
[Aug 25 22:51:35.677591 2009] FATAL: Can't connect to server: Connection refused

Title: Re: 451 VERSION :You have not registered
Post by: LEthaLity on August 26, 2009, 12:37:46 AM
maybe try using the actual ip rather then localhost if the machine has more then one.
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 12:42:40 AM
Nope, I get the same error. Also I tried telnetting 7000 and 7001 from the server itself and it doesn't work.
Where 6667 works  ???


Code: [Select]
irc@U1i:~/services$ telnet irc.myserver.com 7000
Trying xxx.xx.xxx.xx...
telnet: Unable to connect to remote host: Connection refused

irc@U1i:~/services$ telnet irc.myserver.com 6667
Trying xxx.xx.xxx.xx...
Connected to irc.myserver.com.
Escape character is '^]'.
:irc.penguinlodge.com NOTICE Auth :*** Looking up your hostname...
Title: Re: 451 VERSION :You have not registered
Post by: LEthaLity on August 26, 2009, 12:46:50 AM
just try another port then
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 12:50:54 AM
I just tried port 9999. Nothing. This is really odd, I've reinstalled it twice because of this.
Title: Re: 451 VERSION :You have not registered
Post by: mooncup on August 26, 2009, 12:51:45 AM
Firewall?

Also try using the external ip instead, just to see if it works.
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 12:59:30 AM
Hey Mooncup. I flushed my iptables and used my external ip. I still can't connect.
Title: Re: 451 VERSION :You have not registered
Post by: LEthaLity on August 26, 2009, 01:12:49 AM
can you paste your inspircd bind, link blocks plz?
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 01:15:07 AM
Code: [Select]
<bind address="" port="6000" type="clients">
<bind address="" port="6660-6669" type="clients" ssl="gnutls">

# When linking servers, the openssl and gnutls transports are largely
# link-compatible and can be used alongside each other or either/or
# on each end of the link without any significant issues.

<bind address="" port="7000,7001" type="servers">
<bind address="1.2.3.4" port="7005" type="servers" transport="openssl">
Title: Re: 451 VERSION :You have not registered
Post by: Adam on August 26, 2009, 01:25:09 AM
You have m_spanningtree.so loaded, right?
Title: Re: 451 VERSION :You have not registered
Post by: Sam on August 26, 2009, 01:35:55 AM
Adam :) :) :) Thanks a lot. I was used to an older version that had them loaded automaticlly. You also need
m_globops and m_services in order for it to work.

Thanks again :)