Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: another services link issue.  (Read 3007 times)

0 Members and 1 Guest are viewing this topic.

Stereo-Farmer

  • Guest
another services link issue.
« on: September 06, 2008, 03:59:54 PM »

I was a little reluctant to ask for help here after seeing the amount of times similar issues to this have surfaced. On the other hand I feel like I have seen them all and still haven't been able to help my self. So I ask for help.

 I am using anope 1.7.21 with unrealircd 3.2.7. I set up unreal and it works good, I used the example.conf for services and edited it to my liking after naming it services.conf. (I used the existing link example in unrealircd.conf  and edited but have tried making one with the "link block maker" and had same problem)
The problem is when linking services.

Quote
[3:51pm] -gems-cars-and-electronics.myvnc.com- *** Connecting to services.gems-cars-and-electronics.myvnc.com[165.44.2.5].
[3:51pm] -gems-cars-and-electronics.myvnc.com- *** LocOps -- Link denied for gems-cars-and-electronics.myvnc.com(unknown@165.44.2.5) (No link block named 'gems-cars-and-electronics.myvnc.com') [@165.44.2.5.4.44419]
[3:51pm] -gems-cars-and-electronics.myvnc.com- *** LocOps -- ERROR :from services.gems-cars-and-electronics.myvnc.com[165.44.2.5] -- Link denied (No matching link configuration) [@165.44.2.5.44419]
[3:51pm] -gems-cars-and-electronics.myvnc.com- *** LocOps -- ERROR :from services.gems-cars-and-electronics.myvnc.com[165.44.2.5] -- Closing Link: [165.44.2.5] (Link denied (No matching link configuration))
[3:51pm] -gems-cars-and-electronics.myvnc.com- *** LocOps -- Server services.gems-cars-and-electronics.myvnc.com[165.44.2.5] closed the connection

as far as I can tell my link block is right and my services.conf is right but here they are.

Quote
link            services.gems-cars-and-electronics.myvnc.com
{
   username   *;
   hostname        165.44.2.5;
   bind-ip    *;
   port       8101;
   hub             *;
   password-connect "donut";
   password-receive "donut";
   class           servers;
};


Quote
ulines {
   services.gems-cars-and-electronics.myvnc.com;
        stats.gems-cars-and-electronics.myvnc.com;
};

and in services.conf
Quote
RemoteServer    165.44.2.5 "donut"

Quote
ServerName "services.gems-cars-and-electronics.myvnc.com"

Quote
ServerUser  "services@gems-cars-and-electronics.myvnc.com"

here is the output from /quote stats c
Quote
C *@165.44.2.5 * services.gems-cars-and-electronics.myvnc.com 8101 servers
> H * * services.gems-cars-and-electronics.myvnc.com
> End of /STATS c Report

I have searched these errors on both google and yahoo search engines. There are lots of hits but few relevant.

This one looked the most promising until I realized the guy never said how he fixed it.

http://lists.ircservices.esper.net/pipermail/ircservices/2004/004564.html

here is another one that looked good on google but didn't help much.

http://lists.ircservices.esper.net/pipermail/ircservices/2004/004124.html

I worked on this after work for a week. (so 10 hours more or less) I think I need help so I came here. I seen this site's search feature. so I searched here.


http://forum.anope.org/index.php?action=search2

I came up with these results. I have been through every one of them shown there. I skimmed through a little on the ones that weren't as close but still looked. Learned a few things working on this but not how to solve my problem. I have even removed everything and restarted the entire ircd from scratch. I know I am messing up cause I have the same problem.
Thanks for reading, I'll be reading too.



Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: another services link issue.
« Reply #1 on: September 06, 2008, 04:13:39 PM »

Quote
RemoteServer    165.44.2.5 "donut"
Quote
RemoteServer <hostname> <port> <password>
i m surprised anope would even start considering the port is missing  ???

and from the looks of it you are trying to connect your ircd to anope using /connect instead of connecting anope to the ircd.

also check the logs in your services directory... those usually contain clues
« Last Edit: September 06, 2008, 04:15:28 PM by Viper »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Stereo-Farmer

  • Guest
Re: another services link issue.
« Reply #2 on: September 06, 2008, 04:47:20 PM »

Not sure how that happened, the port (8101) is there and always been there. Some how lost it in copy.

I read the services log but I don't get what the clues are telling me here.

Quote
[Oct 04 07:39:44 2008] Every UserKey must be different. It's for YOUR safety! Remember that!
[Oct 04 07:39:44 2008] Loading IRCD Protocol Module: [unreal32]
[Oct 04 07:39:44 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:44 2008] Loading Encryption Module: [enc_none]
[Oct 04 07:39:44 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:44 2008] Anope 1.7.21 (1341) (ircd protocol: UnrealIRCd 3.2+) starting up
[Oct 04 07:39:45 2008] ms_rsend requested unload...
[Oct 04 07:39:45 2008] debug: trying to load core module [ms_rsend]
[Oct 04 07:39:45 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Oct 04 07:39:46 2008] MySQL: has been disabled.
[Oct 04 07:39:46 2008] Databases loaded
[Oct 04 07:39:46 2008] Info: Reflecting database records.
[Oct 04 07:39:46 2008] Connected to Server 1 (165.44.2.5:8101)
[Oct 04 07:39:46 2008] trying to load [cs_appendtopic]
[Oct 04 07:39:46 2008] [cs_appendtopic] Loaded successfully
[Oct 04 07:39:46 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:46 2008] trying to load [cs_enforce]
[Oct 04 07:39:46 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:46 2008] trying to load [ns_maxemail]
[Oct 04 07:39:46 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:46 2008] trying to load [os_info]
[Oct 04 07:39:46 2008] os_info: Loading configuration directives...
[Oct 04 07:39:46 2008] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Oct 04 07:39:46 2008] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Oct 04 07:39:46 2008] os_info: WARNING: can not open the database file! (it might not exist, this is not fatal)
[Oct 04 07:39:46 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:39:46 2008] trying to load [hs_request]
[Oct 04 07:39:46 2008] [hs_request] Unable to open database ('hs_request.db') for reading
[Oct 04 07:39:46 2008] hs_request loaded
[Oct 04 07:39:46 2008] status:
  • [Module, Okay - No Error]
[Oct 04 07:41:14 2008] Read error from server: No such file or directory (error num: 2)
[Oct 04 07:41:14 2008] [cs_appendtopic] Unloaded successfully
[Oct 04 07:41:14 2008] hs_request un-loaded

thanks, viper
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: another services link issue.
« Reply #3 on: September 06, 2008, 04:52:57 PM »

services are probably connecting to a port your ircd isn't listening on..
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Stereo-Farmer

  • Guest
Re: another services link issue.
« Reply #4 on: September 06, 2008, 04:59:36 PM »

I don't think that is it either.

Quote
listen         *:6697
{
   options
   {
      
      clientsonly;
   };
};

listen         *:8101;
listen         *:6697;
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: another services link issue.
« Reply #5 on: September 06, 2008, 05:16:25 PM »

run services in debug mode and paste the logs: ./services -debug -nofork
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Stereo-Farmer

  • Guest
Re: another services link issue.
« Reply #6 on: September 06, 2008, 06:29:13 PM »

I can't seem to post it. Keeps freezing. It's too big maybe? (I am trying to post it as a quote)

this is error when I post.
Quote
The message exceeds the maximum allowed length (20000 characters).
« Last Edit: September 06, 2008, 06:55:28 PM by Stereo-Farmer »
Logged

katsklaw

  • Guest
Re: another services link issue.
« Reply #7 on: September 06, 2008, 06:33:31 PM »

use the ip directly.

listen 1.2.3.4:6667;

not

listen *:6667;

You also have to listen blocks for 6697 .. delete one.
Logged

Stereo-Farmer

  • Guest
Re: another services link issue.
« Reply #8 on: September 06, 2008, 06:39:39 PM »

thanks, katzklaw

using the ip directly made no difference though. Same errors when it tried to link.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: another services link issue.
« Reply #9 on: September 07, 2008, 04:01:30 PM »

Paste it into www.anope.org/paste2.php and put the link here.

Logged

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: another services link issue.
« Reply #10 on: September 08, 2008, 09:13:29 AM »

I had same error two days ago.

Server IP is ex. 12.34.56.78 but link IP 12.34.56.56 and I used 12.34.56.*

So in your case try 165.44.2.*

Note: with services u can't use /connect, just starting from ssh
« Last Edit: September 08, 2008, 09:20:31 AM by [dx] »
Logged
Pages: [1]   Go Up