Problem with Linking

These are old archives. They are kept for historic purposes only.
MoW_JoW
Posts: 2
Joined: Fri Jun 11, 2004 3:21 pm

Problem with Linking

Post by MoW_JoW » Fri Jun 11, 2004 3:29 pm

I installed Unreal3.2 on 2 servers. The hub and the services are linked.
But the hub and the leaf don´t want to link.
11.06. [17:26:30] -DeineMamma.SocietY-neT.org- *** Notice -- Connection to hub.SocietY-neT.org[62.112.152.179] activated.

11.06. [17:26:30] -DeineMamma.SocietY-neT.org- *** Global -- Closing link: Write error: Connection refused - hub.SocietY-neT.org[62.112.152.179]
unrealircd.conf from the hub:
link DeineMamma.SocietY-neT.org
{
username *;
hostname 217.160.166.3;
bind-ip *;
port 7337;
password-connect "****";
password-receive "****";
class servers;
};
unrealircd.conf from the leaf:
link hub.SocietY-neT.org
{
username *;
hostname 62.112.152.179;
bind-ip *;
port 7337;
password-connect "****";
password-receive "****";
class servers;
options {
autoconnect;
};
};
what can I do ?

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Fri Jun 11, 2004 3:32 pm

The hub needs:

Code: Select all

listen *:7337;
Setting the bind-ip and port on the hub don't automatically make it ok to accept connections to that ip and port. You have to have a listen directive to tell the server open that port on that IP.

MoW_JoW
Posts: 2
Joined: Fri Jun 11, 2004 3:21 pm

Post by MoW_JoW » Fri Jun 11, 2004 3:52 pm

I added.
My new problem :
11.06. [18:26:58] -DeineMamma.SocietY-neT.org- *** Notice -- Connection to hub.SocietY-neT.org[62.112.152.179] activated.

11.06. [18:26:59] -DeineMamma.SocietY-neT.org- *** Notice -- (link) Link DeineMamma.SocietY-neT.org -> hub.SocietY-neT.org[mow@62.112.152.179.0] established

11.06. [18:26:59] -DeineMamma.SocietY-neT.org- (link) Link hub.SocietY-neT.org -> DeineMamma.SocietY-neT.org[@217.160.166.3.59100] established

11.06. [18:26:59] -DeineMamma.SocietY-neT.org- *** LocOps -- Link hub.SocietY-neT.org cancelled, is Non-Hub but introduced Leaf Services.SocietY-neT.org

AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf » Fri Jun 11, 2004 8:12 pm

Then solve it. :) RTFM.

jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA
Contact:

Post by jewles » Fri Jun 11, 2004 9:46 pm

how is it this is becoming the most common problem when it's the easiest thing....


READ!!!
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Sat Jun 12, 2004 4:03 am

jewles wrote:how is it this is becoming the most common problem when it's the easiest thing....


READ!!!
The answer is simple ;) . People are getting lazy and don't want to do any of the work themselves - they want someone to do it for them :P .

Someone needs to post a sticky RTFM thread ;) .

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Sat Jun 12, 2004 6:58 am

I'd do it, unfortunatly, im neither admin, nor Mod. I'll have to design a nice sig with "RTFM--love w00t" in it, and use that ;)

PS, i'll make it so others can use if they want to... :P
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post by tuete » Mon Mar 07, 2005 11:02 am

sorry for bumping this old thread, but i have the same problem as described above, and i'm not able to find a solution for more than 2 days now.

i'm trying to link 2 servers, one machine is hub, services are also running on this box. the link blocks of this box look like the following:

Code: Select all

link            *hostname.of.leaf*
{
        username        *;
        hostname        *ip of leaf*;
        bind-ip         *;
        port            9000;
        hub             *;

        password-connect *******;
        password-receive *******;
        class           servers;
                options {
                ssl;
                };
};


link            *services.hub*
{
        username        *;
        hostname        127.0.0.1;
        bind-ip         *;
        port            9005;
        hub             *;
        password-connect *****;
        password-receive *******;
        class           servers;
                options {
                };
};
link block of the other box:

Code: Select all

link            **hostname of hub**
{
        username        *;
        hostname        **ip of hub**;
        bind-ip         *;
        port            9000;
        leaf             *;
        password-connect ****;
        password-receive ******;
        class           servers;
                options {
        autoconnect;
        ssl;
        };
};
the thing i don't understand is, with running services the servers don't link, the leaf aborts with

[11:57:42] *** LocOps -- Link **hostname of hub** cancelled, is Non-Hub but introduced Leaf services.**hub**

when i shut down the services, the servers link fine, get synced and everything else. when i restart the services, the link gets broken, but services work fine o.O

i also tried to put services on the leaf-box, but effect is still the same. i also read the fucking manual :lol: , but couldn't find an answer to my problem.

thx in advance,
tuete

Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech » Mon Mar 07, 2005 11:43 am

http://forums.unrealircd.com/viewtopic.php?t=329

You tried reading this thread ? .

tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post by tuete » Mon Mar 07, 2005 12:11 pm

yes, i discovered the thread after posting my problem here, but it didn't help me out really. i did not have to change anything... :(

Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech » Mon Mar 07, 2005 1:10 pm

Weird , I just linked 2 servers together using the guide and it works fine.

Main Box with services

Code: Select all


link irc.Our-chat2.tk
{
username    *;
hostname   *server2 IP*;
bind-ip     *;
port        6669;
leaf             *;
password-connect "password deleted";
password-receive "password deleted";
class           servers;
};
Secondary box

Code: Select all

link irc.Our-chat.tk
{
username    *;
hostname   server1 IP;
bind-ip     *;
port        6669;
hub            *;
password-connect "password deleted";
password-receive "password deleted";
class           servers;
};
Both linked up aok with no errors except the clock synch bein a bit off lol

tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post by tuete » Mon Mar 07, 2005 1:33 pm

yes,

linking my two servers whithout services works very fine :D but i can't explain to myself why the link brakes when services (anope 1.7.8 from 127.0.0.1) are connecting... very confusing. i also changed the ports of the link and also the port where the services arre connecting... nothing :?

tuete
Posts: 7
Joined: Wed Oct 06, 2004 2:41 pm

Post by tuete » Mon Mar 07, 2005 2:24 pm

problem solved, it wasn't a problem but my inconvenience... mixed up hub & leaf in the link blocks.

thx solutech

White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic » Mon Mar 07, 2005 2:28 pm

have you got the ulines + listen blocks for the ports??
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D

Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech » Mon Mar 07, 2005 2:50 pm

no probs glad you got it sorted mate :D

Post Reply