Page 1 of 4

Services Help

Posted: Thu Nov 04, 2004 8:07 am
by madman
Im trying to install anope on unrealircd3.2.2. Everytime I run anope, i get a FATAL error about, the server got refused:

Code: Select all

[Nov 04 18:02:22 2004] FATAL: Can't connect to server: Connection refused
My friend has helped me with it. Im sure ive made a small mistake but I cant find it.

If you need my unreal directory (includes anope) its hosted at:

http://madman.no-ip.org/hosted/Unreal3.2_madman.zip

Also, im on Windows Xp

~madman

Posted: Thu Nov 04, 2004 8:45 am
by Ron2K
More than likely a linking problem. What messages are you getting from the UnrealIRCd side?

Posted: Thu Nov 04, 2004 9:01 am
by madman
No message from the UnrealIRCD

Posted: Thu Nov 04, 2004 9:28 am
by madman
Sorry, i just noticed there was a services forum. Can a moderator move this?

Also if someone can see if i have made an error??

Thanks,
~madman

Posted: Thu Nov 04, 2004 1:09 pm
by katsklaw
madman wrote:Sorry, i just noticed there was a services forum. Can a moderator move this?

Also if someone can see if i have made an error??

Thanks,
~madman
Connection refused errors come from trying to connect to an IP on a port that is not being listened to.

Example: trying to connect to irc.dal.net on port 12012 would most likely yeild a connection refused. So check your conf files and make sure Services it trying to connect on a port your IRCd is actually listening to.

This error also occurs when trying to connect to an IRCd that in fact isn't running. You should connect to the IRCd first .. then oper up so you can see any server notices, then try to connect Services.

Posted: Fri Nov 05, 2004 5:18 am
by madman
Nope, still doesn't work.. can someone have a look at the link?

~madman

Posted: Fri Nov 05, 2004 10:51 am
by heinz
./services -debug -nofork

If it's still refused refused, rather than link error refused, then post JUST your link block from unreal, your listen blocks, and the RemoteAddress, LocalAddress from services.conf here, and we will see what we can do.

Posted: Fri Nov 05, 2004 10:16 pm
by madman
It says nickserv is currently down, :S

Posted: Fri Nov 05, 2004 10:40 pm
by katsklaw
madman wrote:It says nickserv is currently down, :S
That don't actually mean NickServ isn't there. You could have the wrong services name in your unrealircd.conf file.

try:

Code: Select all

/msg NickServ help
If that fails then Services isn't connected.
If it does work then your aliases are broken and you need to go back over your conf files. Specificlly the network settings section of unrealircd.conf

Also insure you have:

Code: Select all

include "aliases/anope.conf";
in your unrealircd.conf file as well to load the anope aliases.

Posted: Fri Nov 05, 2004 11:20 pm
by madman
There is no anope.conf... Have u even looked at the setup?

Posted: Sat Nov 06, 2004 1:43 am
by Mr_S
Sorry i really dont mean to jump in here but can i make a suggestion??

madman.... look for something called "Lakeserv" might be depreciated by most unrealircd users but i recommend it. i had ALOT of problems getting services to connect.... Lakeserv6.0 (after some careful editing) works fine for me!!!:D

Edit: i havent attempted Lakeserv on 3.2.2 yet but if you get a chance before me - let me know your progress!

Posted: Sat Nov 06, 2004 3:02 am
by katsklaw
madman wrote:There is no anope.conf... Have u even looked at the setup?
Since I wrote some of the services aliases that are included with every copy of Unreal3.2x Beta and forward .. I would think I that I have seen, done and modified the setup at least once. :D Anope.conf comes with both the *nix and the win32 package. If you do not have anope.conf in the aliases directory you need to re-download another|newer copy.

Posted: Sat Nov 06, 2004 12:32 pm
by heinz
Mr_S wrote:madman.... look for something called "Lakeserv"
It doesn't matter what services package you use, you still need to configure unreal to accept it. It takes the same amount of effort to configure LakeServ + Unreal as it does Anope + Unreal.

Also, LakeServ is Windows only. What if this person is using linux? I'm sorry, but I don't find this post at all helping the situation :)

Carrying on from that, madman, please can you paste your Link Block, Listen block from unrealircd.conf, and RemoteServer and ServerName from services.conf. I would look at your setup, but it's a zip file.

Posted: Sat Nov 06, 2004 3:19 pm
by katsklaw
ok I downloaded your 2 meg zip file, by the way we only needed the conf files and then only in worst case. :) Please understand that if we download your files, correct them and send them back or describe every single problem like I'm about to do, you learn nothing because someone other than you fixed the problem. It's best to tell us the error message and we can then GUIDE you to area that is causing the problem, therefore you learn by doing.

First, your anope.conf is in the zip file so you have to have it there. I found it at path: Unreal3.2_madman\aliases\anope.conf (which is right where I said it would be)

Second, in your unrealircd.conf file you need to specify an IP for Services in the services link block.

You also have SSL listen blocks and your version of Unreal is a non-ssl compile. Unreal will still start and run but you can't use SSL and it will complain everytime you (re)start|rehash. If you require SSL then you will have to go back to http://www.unrealircd.com/?page=downloads and download the win32 version with SSL.

Also you have Services connecting on port 6666 which you have no listen block in the unrealircd.conf for. Which I told you was the problem 2 days ago.

I made those 4 changes and I'm currently running Unreal/Anope on my windows box and they are both working as expected.

Re: Services Help

Posted: Sat Nov 06, 2004 6:55 pm
by Mr_S
madman wrote:Im trying to install anope on unrealircd3.2.2. Everytime I run anope, i get a FATAL error about, the server got refused:

Code: Select all

[Nov 04 18:02:22 2004] FATAL: Can't connect to server: Connection refused
My friend has helped me with it. Im sure ive made a small mistake but I cant find it.

If you need my unreal directory (includes anope) its hosted at:

http://madman.no-ip.org/hosted/Unreal3.2_madman.zip

Also, im on Windows Xp

~madman
Also, im on Windows Xp

~madman


Wasnt helpful huh?