Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Keenan Leary on April 10, 2011, 03:08:56 PM
-
I have been trying, unsuccessfully I might add, to assist someone in setting a service up. I have not done this before but so far I have the following versions and config setups, and followed by an anope crash log.
I have read numerous guides, and after a while I gave up on his config as I could no longer tell what was what and used a generator for unreal. Obviously I masked the Keys/passwords with #### but other then that I am not sure what else to do. I followed some of the guides here as best I am able but I've been up for a rather long time trying to get a bunch of things fixed for him.
Thank you
UnrealIRCD
http://pastebin.anope.org/index.php?page=viewpaste&id=19abfe4f32 (http://pastebin.anope.org/index.php?page=viewpaste&id=19abfe4f32)
Anope 1.8.5
http://pastebin.anope.org/index.php?page=viewpaste&id=bcd1bb2841 (http://pastebin.anope.org/index.php?page=viewpaste&id=bcd1bb2841)
Crash Log
[Apr 10 06:51:31 2011] Loading IRCD Protocol Module: [unreal32]
[Apr 10 06:51:31 2011] status: [0][Module, Okay - No Error]
[Apr 10 06:51:31 2011] Loading Encryption Module: [enc_md5]
[Apr 10 06:51:31 2011] status: [0][Module, Okay - No Error]
[Apr 10 06:51:31 2011] Launching Anope into the background
[Apr 10 06:51:31 2011] Anope 1.8.5 (3037) (ircd protocol: UnrealIRCd 3.2+) starting up
[Apr 10 06:51:32 2011] Databases loaded
[Apr 10 06:51:32 2011] Info: Reflecting database records.
[Apr 10 06:51:33 2011] FATAL: Can't connect to server: No such file or directory
-
you have neither a listen block for port 7000, which is the port Anope is tryin to connect to, nor a link block for services.
Try this: http://forum.anope.org/index.php?topic=1267.0
-
I have since ammended the files with the following:
UnrealIRCD.conf
listen 127.0.0.1:6660-6669,7070;
link services.sosariaonline.net
{
username *;
hostname 127.0.0.1;
bind-ip 127.0.0.1;
hub *;
port 7070;
password-connect "####";
password-receive "####";
class servers;
};
Services.conf
RemoteServer 127.0.0.1 7070 "Trustno1"
ServerName "services.sosariaonline.net"
The result however is still the same.
-
you have to /rehash the ircd for changes to take affect.
-
I was able to login and rehash. After doing so, the "RemoteServer" entry for the Services.conf completely disapeared. It generated on a the log file stating that the services.conf had no remote server set. After typing it back in, "RemoteServer 127.0.0.1 7070 PASSWORD" and relaunching Anope.bat, I got the following log again.
[Apr 10 11:49:30 2011] Loading IRCD Protocol Module: [unreal32]
[Apr 10 11:49:30 2011] status: [0][Module, Okay - No Error]
[Apr 10 11:49:30 2011] Loading Encryption Module: [enc_md5]
[Apr 10 11:49:30 2011] status: [0][Module, Okay - No Error]
[Apr 10 11:49:30 2011] Launching Anope into the background
[Apr 10 11:49:30 2011] Anope 1.8.5 (3037) (ircd protocol: UnrealIRCd 3.2+) starting up
[Apr 10 11:49:32 2011] Databases loaded
[Apr 10 11:49:32 2011] Info: Reflecting database records.
[Apr 10 11:49:33 2011] FATAL: Can't connect to server: No such file or directory
-
I'm not sure if your
listen 127.0.0.1:6660-6669,7070;
is valid.
Try adding a separate one for port 7070 or confirm with telnet to 127.0.0.1 7070 that it's open.
Btw, listening on 127.0.0.1 for your client ports (ie. 6660-6669) is pointless since nobody will be able to connect except on your computer.
http://www.unrealircd.com/files/docs/unreal32docs.html#listenblock
-
This really isn't making sense at this point. Both the Unreal and Anope are on the same machine, and regardless of how I seem to setup the link/listen blocks I cannot get past this point.
I have tried about 30 different example blocks, yet nothing is working. At this point I would welcome someone remote connecting in and assisting us with the problem if at all possible.
**Also**
I just tried to telnet through putty however the window just froze and closed on me.
The firewalls are opened, the entries are in place. So at this point I think I am just going to ask for some direct support. Please send me a PM and I can give someone the server connection info.
-
The directions in that tutorial I gave you work perfectly. It seems to me that after you have tried tutorial after tutorial and still have problems, then it seems obvious that you aren't following them correctly. the fault can't always be the examples/tutorials.
If we fixed it for you then you learn nothing. This along with all aspects of configuration is part of being a Network Admin. You must know and learn it if you wish to admin a network. Honestly, linking 2 servers is the easiest task you'll face as a netadmin. Please believe me on that point, I've been a NetAdmin for a very very long time.
Try this. Use 1 port only. Listen block set to 6667 and 6667 only. No options, no clients only, no servers only, no ssl .. nothing. Then you connect with an irc client to your server on port 6667. If you can connect, so can services. Then link services.
-
I just tried to telnet through putty however the window just froze and closed on me.
if putty can't connect, anope won't be able to either..