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
-
Hey everyone,
I've sucessfully setup an IRCd before with Inspircd. I just tried and I get this on a services debug start.
[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
-
anope is connecting to a client port...
-
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?
-
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">
-
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
-
maybe try using the actual ip rather then localhost if the machine has more then one.
-
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 ???
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...
-
just try another port then
-
I just tried port 9999. Nothing. This is really odd, I've reinstalled it twice because of this.
-
Firewall?
Also try using the external ip instead, just to see if it works.
-
Hey Mooncup. I flushed my iptables and used my external ip. I still can't connect.
-
can you paste your inspircd bind, link blocks plz?
-
<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">
-
You have m_spanningtree.so loaded, right?
-
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 :)