[hybrid] Unsuccessfully connecting hybserv to ircd-hybrid: (Invalid servername.)

Joan Touzet joant at ieee.org
Wed Feb 20 16:49:03 EST 2013


Yup, paste your config into gist.github.com or similar and we can have a
gander.
---
Joan Touzet  |  joant at ieee.org  |  wohali at efnet


On 6 February 2013 16:02, John Rilling <John.Rilling at riverbed.com> wrote:

>  This server is a standalone with ircd and hybserv configured on the same
> host. I can paste a full config of both if that helps…****
>
> ** **
>
> *From:* hybrid-bounces at lists.ircd-hybrid.org [mailto:
> hybrid-bounces at lists.ircd-hybrid.org] *On Behalf Of *Mark Cunningham
> *Sent:* Wednesday, February 06, 2013 12:15 PM
>
> *To:* General IRCD-Hybrid Discussion
> *Subject:* Re: [hybrid] Unsuccessfully connecting hybserv to ircd-hybrid:
> (Invalid servername.)****
>
> ** **
>
> Sorry on the phone. Missed the grep said line. I'm just guessing here but
> the server you're peering with has a server on their network with the same
> sid?****
>
> Mark****
>
> On 2013-02-06 8:08 PM, "Mark Cunningham" <contact at markcunningham.ie>
> wrote:****
>
> you should try adding one in then****
>
> Mark****
>
> On 2013-02-06 8:06 PM, "John Rilling" <John.Rilling at riverbed.com> wrote:**
> **
>
> Thanks for the extra set of eyes Mark. I tripled checked my config file
> for an extra 'sid' line but I don't have one. I even removed the "#/*"
> commented lines containing 'sid' and still have exactly the same
>
> [root at jpn1ircserver-ircd-prod-01 ircd]# grep sid /etc/ircd/ircd.conf
>         sid = "7SS";
>          * consider ourselves split.  This must be set for automatic
> splitmode.
>          * consider ourselves split.  This must be set for automatic
> splitmode.
>          * it has the side effect of hiding the ips everywhere, including
>
> [root at jpn1ircserver-ircd-prod-01 ircd]# clear; /etc/init.d/ircd start;
> tail -f /var/log/ircd/hybserv.log
> Wed Feb  6 11:58:28 2013 Opened log file successfully
> Wed Feb  6 11:58:28 2013 Hybserv2 TS services version 1.9.3-release started
> Wed Feb  6 11:58:28 2013 Databases loaded (0 registered nicknames, 0
> registered channels, 0 memo entries)
> Wed Feb  6 11:58:28 2013 Listener successfully started on host [*] port
> tcp/5656
> Wed Feb  6 11:58:28 2013 FATAL: Unable to bind port tcp/5656: Address
> already in use
> Wed Feb  6 11:58:28 2013 Listener successfully started on host [*] port
> tcp/5555
> Wed Feb  6 11:58:28 2013 FATAL: Unable to bind port tcp/5555: Address
> already in use
> Wed Feb  6 11:58:28 2013 Listener successfully started on host [*] port
> tcp/6900
> Wed Feb  6 11:58:28 2013 FATAL: Unable to bind port tcp/6900: Address
> already in use
> Wed Feb  6 11:58:28 2013 Connecting to 10.6.0.163[10.6.0.163] tcp/6667
> Wed Feb  6 11:58:29 2013 Connected to 10.6.0.163 tcp/6667
> Wed Feb  6 11:58:29 2013 Server Error: Server ID already exists.
> Wed Feb  6 11:58:29 2013 Server Error: Closing Link:
> jpn1ircserver-ircd-prod-01.nbttech.com (Server ID Exists)
>
>
> -----Original Message-----
> From: hybrid-bounces at lists.ircd-hybrid.org [mailto:
> hybrid-bounces at lists.ircd-hybrid.org] On Behalf Of Mark Cunningham
> Sent: Tuesday, February 05, 2013 4:47 PM
> To: General IRCD-Hybrid Discussion
> Subject: Re: [hybrid] Unsuccessfully connecting hybserv to ircd-hybrid:
> (Invalid servername.)
>
> Sorry for "double post". I should add, by ID, i'm guessing it's talking
> about sid. This is taken from example.conf under the serverinfo block.
>
>         /*
>          * sid: a server's unique ID.  This is three characters long and
> must
>          * be in the form [0-9][A-Z0-9][A-Z0-9].  The first character must
> be
>          * a digit, followed by 2 alpha-numerical letters.
>          * NOTE: The letters must be capitalized.  This cannot be changed
> at runtime.
>          */
>         sid = "_CHANGE_ME_";
>
> Mark
>
> On Wed, Feb 6, 2013 at 12:43 AM, Mark Cunningham <
> contact at markcunningham.ie> wrote:
> > Only took a quick glance but, is the issue not the last message in the
> > log "Tue Feb  5 16:14:04 2013 Server Error: Server ID already exists."
> >
> > The server id already exists? You've got 2 server ids the same?
> >
> > Mark
> >
> > On Wed, Feb 6, 2013 at 12:34 AM, John Rilling <John.Rilling at riverbed.com>
> wrote:
> >> Hi Guys,
> >>
> >>
> >>
> >> 5 hours working on this, my head hurts. Any hits or suggestions are
> >> highly appreciated. Thanks in advance:
> >>
> >>
> >>
> >> Expected outcome: hybserv successfully connects to ircd-hybrid and
> >> the universe lives happily ever after J
> >>
> >>
> >>
> >> Current outcome: (Invalid servername.)
> >>
> >> tail -f /var/log/ircd/hybserv.log
> >>
> >> Tue Feb  5 16:14:04 2013 Opened log file successfully
> >>
> >> Tue Feb  5 16:14:04 2013 Hybserv2 TS services version 1.9.3-release
> >> started
> >>
> >> Tue Feb  5 16:14:04 2013 Databases loaded (0 registered nicknames, 0
> >> registered channels, 0 memo entries)
> >>
> >> Tue Feb  5 16:14:04 2013 Listener successfully started on host [*]
> >> port
> >> tcp/5656
> >>
> >> Tue Feb  5 16:14:04 2013 FATAL: Unable to bind port tcp/5656: Address
> >> already in use
> >>
> >> Tue Feb  5 16:14:04 2013 Listener successfully started on host [*]
> >> port
> >> tcp/5555
> >>
> >> Tue Feb  5 16:14:04 2013 FATAL: Unable to bind port tcp/5555: Address
> >> already in use
> >>
> >> Tue Feb  5 16:14:04 2013 Listener successfully started on host [*]
> >> port
> >> tcp/6900
> >>
> >> Tue Feb  5 16:14:04 2013 FATAL: Unable to bind port tcp/6900: Address
> >> already in use
> >>
> >> Tue Feb  5 16:14:04 2013 Connecting to 10.6.0.163[10.6.0.163]
> >> tcp/6667
> >>
> >> Tue Feb  5 16:14:04 2013 Connected to 10.6.0.163 tcp/6667
> >>
> >> Tue Feb  5 16:14:04 2013 Server Error: Server ID already exists.
> >>
> >> Tue Feb  5 16:14:04 2013 Server Error: Closing Link:
> >> jpn1ircserver-ircd-prod-01.nbttech.com (Server ID Exists)
> >>
> >> *** jpn1ircserver-ircd-prod-01.nbttech.com is our internal dns name
> >> for this machine
> >>
> >>
> >>
> >> Excerpts of Ircd.conf
> >>
> >> serverinfo {
> >>
> >>         /*
> >>
> >>          * name: the name of this server.  This cannot be changed at
> >> runtime.
> >>
> >>          */
> >>
> >>         #name = "hades.arpa";
> >>
> >>         name = "jpn1ircserver-ircd-prod-01.nbttech.com";
> >>
> >>         host = "10.6.0.163";
> >>
> >> ...
> >>
> >> }
> >>
> >>
> >>
> >> connect {
> >>
> >> name = " jpn1ircserver-ircd-prod-01.nbttech.com";
> >>
> >> host = "10.6.0.163";
> >>
> >> #send_password = "SuperSecret";
> >>
> >> send_password = " SuperSecretmkpasswdhash ";
> >>
> >> accept_password = " SuperSecretmkpasswdhash";
> >>
> >> hub_mask = "*";
> >>
> >> class = "server";
> >>
> >> };
> >>
> >>
> >>
> >> Excert Hybserv.conf:
> >>
> >> N:jpn1ircserver-ircd-prod-01.nbttech.com:Hybrid services
> >>
> >> S:SuperSecretmkpasswdhash:10.6.0.163:6667
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
> ****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20130220/4b6f68b0/attachment.html>


More information about the hybrid mailing list