Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: wesley on January 31, 2014, 11:44:06 AM

Title: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 11:44:06 AM
Hi,

I have been trying for a few days now read alot of documentation and also tried to follow several tutorials but no luck.

My UnrealIRCD server works fine I just cannot get anope to link with UnrealIRCD.

I am using a dedicated server at home and am able to give teamviewer acces to anyone that can try and help me out because I am starting to get desperate.

Here is the pastebin for my services.conf
https://pastebin.anope.org/index.php?page=viewpaste&id=0a23555fe6

And here is the pastebin of my unrealircd.conf
https://pastebin.anope.org/index.php?page=viewpaste&id=80f1380a79

you can add me on skype idutchy2 or ask me here on the forums and I can give you teamviewer access.

I keep getting the following message:
[Jan 31 12:36:41 2014] FATAL: Can't connect to server: No such file or directory

I tried using the anope link block generator, I have been trying for so many hours straight now that I might be overlooking something.

Any help is appreciated

Thank you
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Adam on January 31, 2014, 11:47:02 AM
Your services are connecting to port 7092 but unreal is listening on 7029.

Only a handful of people can open protected pastebin links, it is better to remove sensitive information and then pastebin them without protecting them.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 12:00:40 PM
Hi Adam,

Thanks I will post them again without protection but first gonna try and edit the ports.

do i need to just remove port 7092 from my unrealircd.conf?

or what do i need to change?

cheers
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 12:05:11 PM
Your services are connecting to port 7092 but unreal is listening on 7029.

Only a handful of people can open protected pastebin links, it is better to remove sensitive information and then pastebin them without protecting them.

new pastebin for unrealircd.conf
https://pastebin.anope.org/index.php?page=viewpaste&id=70ea733a13

new pastebin for services.conf
https://pastebin.anope.org/index.php?page=viewpaste&id=ed2e16f932

gr
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 12:45:32 PM
Try to remove that port from unrealircd.conf
Unreal just listen on port 7029! Change also the port in anope. Try to use port 7005 in unreal ass serversonly and port 7005 in services. Then restart unreal an services and look if it work?
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 01:03:54 PM
Try to remove that port from unrealircd.conf
Unreal just listen on port 7029! Change also the port in anope. Try to use port 7005 in unreal ass serversonly and port 7005 in services. Then restart unreal an services and look if it work?

thank you for the reply I am going to get some groceries and when I am back I will try this out.

thanks
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 01:08:23 PM
Try this code in your unrealircd.conf
Code: [Select]
listen your.ip.goes.here:7005 {
        options  {
                serversonly;
        };
};

{
 username   *;
 hostname   127.0.0.1;
 port   7005;
 bind-ip    127.0.0.1;
 password-connect   "LiNk";
 password-receive   "LiNk";
 class  servers;
 };
};
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 04:06:32 PM
[Jan 31 17:05:31 2014] Loading IRCD Protocol Module: [unreal32]
[Jan 31 17:05:31 2014] status: [enc_md5]
[Jan 31 17:05:31 2014] status:
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 05:26:48 PM
enable --> #MSMemoReceipt delete --># before that entry
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 06:28:10 PM
enable --> #MSMemoReceipt delete --># before that entry

done that now it does not show the msmemo error anymore but still fatal error.

[Jan 31 19:27:31 2014] Loading IRCD Protocol Module: [unreal32]
[Jan 31 19:27:31 2014] status: [enc_md5]
[Jan 31 19:27:31 2014] status:
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 06:32:23 PM
Hmm
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 06:34:04 PM
can u post the services.conf ?
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 06:37:57 PM
Yes thank you here is the services.conf

https://pastebin.anope.org/index.php?page=viewpaste&id=0eb24d1173

If needed I can give u teamviewer access to my server.

thanks
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: Kugener Jeff on January 31, 2014, 06:43:10 PM
Yes okay u can give my teamv. its better i think --> PN
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 07:17:40 PM
Ok so Jeff Kugener was not able to fix it since he is more into linux, anyone that is good with windows that could give this a go??

Anyone that is able to help me out will get a donation from me in altcoins.

I really need to get this fixed.

gr
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 07:24:03 PM
The unrealircd listen blocks should really contain an IP, eg 127.0.0.1.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 07:31:53 PM
Sorry I pasted the wrong one the last time

here is the correct unrealircd pastebin

https://pastebin.anope.org/index.php?page=viewpaste&id=141062c35d

https://pastebin.anope.org/index.php?page=viewpaste&id=295a3a7da1
This is the right one sorry
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 07:38:17 PM
What's the last error you had? the IP for the services listen should probably still be 127.0.0.1 and not the other, from my windows unreal/anope experience.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 07:44:03 PM
https://pastebin.anope.org/index.php?page=viewpaste&id=10743d8b10

changed to 172.0.0.1

also here is the last error log I have from anope

[Jan 31 20:42:58 2014] Loading IRCD Protocol Module: [unreal32]
[Jan 31 20:42:58 2014] status: [enc_md5]
[Jan 31 20:42:58 2014] status:
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 07:46:54 PM
127 not 172
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 07:50:03 PM
Sorry Its getting late getting sleepy lol!

Now it gives me a diff error so we are one step further :)

[Jan 31 20:49:15 2014] Connected to Server 1 (127.0.0.1:7005)
[Jan 31 20:49:15 2014] FATAL: Remote server returned: ERROR :Link denied (No matching link configuration) [@127.0.0.1.58363]
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 07:57:17 PM
the first line of the services link block should contain the services server name as set in services.conf ServerName, yours should be services.cerberus.xns01.com

eg:
link   services.cerberus.xns01.com
{
 username   *;
 hostname   127.0.0.1;
 port   7005;
 bind-ip    127.0.0.1;
 password-connect   "LiNk";
 password-receive   "LiNk";
 class  servers;
 };
};
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:02:56 PM
Got it working now :D thank you guys!

so LEthaLity do you have a dogecoin wallet?
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 08:04:25 PM
no problem. nope lol.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:09:40 PM
Go download a wallet its like bitcoin they already have a value and are supossed to get worth alot more in the nearby future I will send you a bunch.

Tho my problem still is not solved now the IRC does start but I cannot connect now I get connection Refused on IRC :(

[Jan 31 21:03:19 2014] [cs_appendtopic] Unloaded successfully
[Jan 31 21:03:19 2014] hs_request un-loaded
[Jan 31 21:08:24 2014] Loading IRCD Protocol Module: [unreal32]
[Jan 31 21:08:24 2014] status: [enc_md5]
[Jan 31 21:08:24 2014] status: [cs_appendtopic]
[Jan 31 21:08:26 2014] [cs_appendtopic] Loaded successfully
[Jan 31 21:08:26 2014] status: [cs_enforce]
[Jan 31 21:08:26 2014] status: [ns_maxemail]
[Jan 31 21:08:26 2014] status: [os_info]
[Jan 31 21:08:26 2014] os_info: Loading configuration directives...
[Jan 31 21:08:26 2014] os_info: OSInfoDBName is not defined in Serv
[Jan 31 21:08:26 2014] os_info: Directive OSInfoDBName loaded (os_i
[Jan 31 21:08:26 2014] status: [hs_request]
[Jan 31 21:08:26 2014] hs_request loaded
[Jan 31 21:08:26 2014] status:
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 08:11:40 PM
Depends if you changed all the listen blocks, you most likely need to /server localhost instead of whatever you had before.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:12:27 PM
NVM it works thanks thanks thanks :)

I can connect everything works fine now

http://dogecoin.com/ go download a wallet and send me ur adress I will send you 2000 coins

they are worth 0.0011$ ct each atm but are soon going to be worth much more hopefully.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:30:26 PM
I have another question I cant connect from anywhere now except from the pc the server is running on itself, but I geuss I will be able to fix this with some more time.

Tho I am wondering what if the computer crashes are all the registred names gone from anope again? or does it have its own DB because I chose the one without MySql and I am not sure if it remembers registred people now.

Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 08:33:15 PM
It will have it's own *.db (database files), along with backups. For connecting from outside, you'll need to explore your router settings and look up port forwarding, you don't need to alter anything within the irc configs for that to work.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:36:07 PM
Well the funny thing is I opened all the ports already and yesterday people were able to connect to my IRC server.

Now I cannot even connect myself from the local network I am on my laptop and my server is in the room next to me.

Both systems connected to the same network and I still cannot get acces to the irc server.

It keeps saying Can't resolve

So I can only connect when I try to on the server it self.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 08:40:52 PM
Ah didn't realise it was a separate system, in that case go back to using the local 192 IP for your laptop, opening ports and forwarding are different things, the server will be listening for connections coming from the server it's on, you just need to route those users there.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 08:44:53 PM
Offcourse I am connecting to the local ip from my laptop not 127.0.0.1 but to 192.168.1.26 wich is the static ip of my server but I just cannot connect to it.

Also ports are all forwarded to 192.168.1.26 in my router so that should be fine for external users.

Tho No one can connect neither me or anyone else except for when I run MiRC on the server it self I can connect to 127.0.0.1.

This is what an external user is getting on OSX

[21:48:02] Credits Crd: *** Looking up your hostname...
21:01:28
*** Found your hostname (cached)
Disconnected
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 08:56:55 PM
Not sure about that, would need a better message, looks like they are connecting though.
You could try changing the listen blocks for users back to what you had before, * or 192, as I said 127.0.0.1 before I realized it was a separate server, leave the services one though if it's working.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 09:08:08 PM
I tried still not working :(

https://pastebin.anope.org/index.php?page=viewpaste&id=071e1b419a

this is my unrealircd.conf now pff it's driving me insane lol
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: LEthaLity on January 31, 2014, 09:13:11 PM
You didn't need to change the link block or the listen block for 7005.
What port was the OSX user connecting on?

Also, assuming that hostname resolves to your routers IP, it doesn't connect, it times out, usually suggests a firewall.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 09:16:14 PM
oh sorry, he is connecting on 6667

I am trying to connect to the same port aswell from my laptop wich is in the same network but it is not working either so i geuss it must be in the config if i can connect from the server itself but not from my laptop.
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 09:42:06 PM
I am now trying http://www.canyouseeme.org/

it does not see the ports open for some reason but that should still not block me from connecting from the same network right?
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 09:52:57 PM
pff it works on port 6697 Dont ask me why...
Title: Re: Help needed Linking UnrealIRCD 3.2 and Anope 1.8
Post by: wesley on January 31, 2014, 10:31:24 PM
so any idea why someone from korea would not be able to connect to my server?