Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied [SOLVED]  (Read 11547 times)

0 Members and 1 Guest are viewing this topic.

caleb

  • Anope User
  • Offline Offline
  • Posts: 5

     For some reason unknown to me I can't get anope and unrealircd to link. Please forgive my noviceness.

 Running on  a windows 7 box


 unreal link block:

 link            127.0.0.1
{
   username   *@*;
   hostname    127.0.0.1;
   bind-ip    127.0.0.1;
   port       7070;
   hub             *;
   password-connect "pass";
   password-receive "pass";
   class           servers;
      options {
         /* Note: You should not use autoconnect when linking services */
         //autoconnect;
         //ssl;
         zip;
      };

 link portion of anope config;

     link 127.0.0.1
 *     {
 *          username *@*;
 *          hostname "127.0.0.1";
 *          bind-ip "127.0.0.1";
 *          port 7070;
 *          hub *;
 *          password-connect "pass";
 *          password-receive "pass";
 *          class servers;
 *     };
 *     ulines { services.localhost.net; };
 *     listen 127.0.0.1:7070;

 And log file:
 
     [May 27 17:39:59 2014] Anope 2.0.0 (g4ccc478) starting up
[May 27 17:39:59 2014] Unable to use language ca_ES.UTF-8
[May 27 17:39:59 2014] Unable to use language de_DE.UTF-8
[May 27 17:39:59 2014] Unable to use language el_GR.UTF-8
[May 27 17:39:59 2014] Unable to use language es_ES.UTF-8
[May 27 17:39:59 2014] Unable to use language fr_FR.UTF-8
[May 27 17:39:59 2014] Unable to use language hu_HU.UTF-8
[May 27 17:39:59 2014] Unable to use language it_IT.UTF-8
[May 27 17:39:59 2014] Unable to use language nl_NL.UTF-8
[May 27 17:39:59 2014] Unable to use language pl_PL.UTF-8
[May 27 17:39:59 2014] Unable to use language pt_PT.UTF-8
[May 27 17:39:59 2014] Unable to use language ru_RU.UTF-8
[May 27 17:39:59 2014] Unable to use language tr_TR.UTF-8
[May 27 17:39:59 2014] Loading modules...
[May 27 17:40:00 2014] Error while loading ns_cert: Your IRCd does not support ssl client certificates
[May 27 17:40:01 2014] Using IRCd protocol unreal
[May 27 17:40:01 2014] Loading databases...
[May 27 17:40:01 2014] DB_FLATFILE: Unable to open data/anope.db for reading!
[May 27 17:40:01 2014] Databases loaded
[May 27 17:40:01 2014] Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1), port 7070
[May 27 17:40:01 2014] Successfully connected to uplink #1 127.0.0.1:7070
[May 27 17:40:01 2014] ERROR: Link denied (No matching link configuration) [@127.0.0.1.61575]
[May 27 17:40:01 2014] ERROR: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[May 27 17:40:01 2014] Received ERROR from uplink: Closing Link: [127.0.0.1] (Link denied (No matching link configuration))


   
« Last Edit: May 28, 2014, 01:25:52 PM by caleb »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #1 on: May 27, 2014, 10:50:13 PM »

You should not name your services server your IP address. Instead, come up with a name.

Also the snippet you posted from Anope's conf isn't actually from Anope's conf.
Logged

caleb

  • Anope User
  • Offline Offline
  • Posts: 5
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #2 on: May 27, 2014, 11:02:07 PM »

It is from services.conf isn't that the config?
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #3 on: May 27, 2014, 11:05:56 PM »

Nothing you pasted was from services.conf, is what adam meant. the first line of a link block should match your services server name, so judging by your uline, link 127.0.0.1 (in your anope part) should be link services.localhost.net, that should also match services-server lower down in the set block otherwise aliases and stuff wont work
Logged

caleb

  • Anope User
  • Offline Offline
  • Posts: 5
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #4 on: May 27, 2014, 11:17:10 PM »

I changed that and it still doesn't work and I am positive I pasted that part from the anope config. also this is on a windows 7 box if that makes any difference
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #5 on: May 27, 2014, 11:22:21 PM »

well you didn't, look at example/services.conf in your services install, what you've pasted is an example block to go into unrealircd.conf, the uplink block below that needs checking, and serverinfo below that for the services server name.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #6 on: May 27, 2014, 11:22:32 PM »

Anope's config most certainly does not look like this:

Quote
link portion of anope config;

     link 127.0.0.1
 *     {
 *          username *@*;
 *          hostname "127.0.0.1";
 *          bind-ip "127.0.0.1";
 *          port 7070;
 *          hub *;
 *          password-connect "pass";
 *          password-receive "pass";
 *          class servers;
 *     };
 *     ulines { services.localhost.net; };
 *     listen 127.0.0.1:7070;
Logged

caleb

  • Anope User
  • Offline Offline
  • Posts: 5
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #7 on: May 27, 2014, 11:41:30 PM »

I pasted it in from anope/conf/services.conf which was example.conf perhaps someone can point me to download for a fresh config?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #8 on: May 27, 2014, 11:47:24 PM »

https://github.com/anope/anope/blob/2.0/data/example.conf#L154 is what the uplink block looks like in services.conf, and what it looks like in your example.conf.  Right above it there is an even example link{} block for Unreal.
Logged

caleb

  • Anope User
  • Offline Offline
  • Posts: 5
Re: ERROR from uplink: Closing Link: [(my ip goes here)] Link denied
« Reply #9 on: May 28, 2014, 12:09:38 AM »

Thank you final got it to say successfully linked launching into background I assume that means it worked? and thanks for answering all my newbie questions.  :)
Logged
Pages: [1]   Go Up