Services are currently down (have read faq #52)

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
EricT
Posts: 11
Joined: Thu Oct 12, 2006 8:23 pm

Services are currently down (have read faq #52)

Post by EricT »

Hi,

I'm using Windows XP ports of Unread 3.2.5 as my ICR server and Anope 1.7.16 for services. Both run on the same networked PC (two network addresses 192.168.1.3 to router and 1.1.1.1 to hub).

The error I'm getting with /ns, /cs, /NickServ and /ChanServ is "Services are currently down. Please try again later." /msg NickServ responds "No such nick/channel".

Yet:

-- the client shows that the link to services is established and synced.
-- the services log shows that it's receiving pings and sending back pongs.
-- the client shows I'm an oper/netadmin.
-- /stats S shows services-server correctly as services.mydomain.dyndns.org
-- /map shows irc + services link.

In unrealircd.conf:

-- I'm including anope.conf (which itself includes aliases.conf).
-- there's a set block specifying services-server.
-- there's a link block which includes services.
-- there's a ulines block specifying services.

Any ideas gratefully received. Edited details follow (sensitive data scrambled).
EricT.

unrealircd.conf details:

=====================

link services.mydomain.dyndns.org
{
username *;
hostname 192.168.1.3;
bind-ip *;
port *;
hub *;
password-connect "";
password-receive "password";
class servers;
options {
/* Note: You should not use autoconnect when linking services */
};
};

=====================

ulines {
services.mydomain.dyndns.org;
};

=====================

/* Network configuration */
set {
network-name "mydomain";
default-server "irc.mydomain.dyndns.org";
services-server "services.mydomain.dyndns.org";
stats-server "irc.mydomain.dyndns.org";
...
};
/* on-oper host */
hosts {
local "irc.mydomain.dyndns.org";
global "irc.mydomain.dyndns.org";
coadmin "irc.mydomain.dyndns.org";
admin "irc.mydomain.dyndns.org";
servicesadmin "irc.mydomain.dyndns.org";
netadmin "irc.mydomain.dyndns.org";
host-on-oper-up "no";
};
};

=====================
=====================

services.conf details:

IRCDModule "unreal32"
RemoteServer 192.168.1.3 6667 "password"
LocalAddress 192.168.1.3
ServerName "services.mydomain.dyndns.org"
ServicesRoot "mynick"

=====================
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

You should tell anope to use a server numeric.

Code: Select all

Numeric <number>
EDIT: Also, I don't believe your domain is "mydomain.dyndns.org". Actual information helps, because this error is usually due to a typo in set::services-server.
EricT
Posts: 11
Joined: Thu Oct 12, 2006 8:23 pm

Services are currently down (have read faq #52)

Post by EricT »

Stealth wrote:You should tell anope to use a server numeric.

Code: Select all

Numeric <number>
EDIT: Also, I don't believe your domain is "mydomain.dyndns.org". Actual information helps, because this error is usually due to a typo in set::services-server.
Hi, thanks for the response. icr.sarmouni.dyndns.org has numeric "1", services.sarmouni.dyndns.org has numeric "2". Have just noticed a potential problem in services log output (see below):

======= services log =======

[Oct 13 10:41:02 2006] [hs_request] Loading database...
[Oct 13 10:41:02 2006] [hs_request] Succesfully loaded database
[Oct 13 10:41:02 2006] hs_request loaded
[Oct 13 10:41:02 2006] status: [0][Module, Okay - No Error]
[Oct 13 10:41:02 2006] debug: Received: :irc.sarmouni.dyndns.org NOTICE AUTH :*** Looking up your hostname...
[Oct 13 10:41:02 2006] debug: Received: :irc.sarmouni.dyndns.org NOTICE AUTH :*** Couldn't resolve your hostname; using your IP address instead
[Oct 13 10:41:03 2006] debug: Received: PROTOCTL NOQUIT TOKEN NICKv2 SJOIN SJOIN2 UMODE2 VL SJ3 NS SJB64 TKLEXT NICKIP CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG NICKCHARS=
[Oct 13 10:41:03 2006] debug: Received: PASS :
[Oct 13 10:41:03 2006] debug: Received: SERVER irc.sarmouni.dyndns.org 1 :U2308-FinWXOoZE-1 sarmouni.dyndns.org server
[Oct 13 10:41:03 2006] debug: Server introduced (irc.sarmouni.dyndns.org)
[Oct 13 10:41:03 2006] debug: Sent: :Global NOTICE $irc.sarmouni.dyndns.org :Services are now back online - have a nice day

======= services.conf =======

RemoteServer 192.168.1.3 6667 "password"
LocalAddress 192.168.1.3
ServerName "services.sarmouni.dyndns.org"
ServiceUser "[email protected]"
NetworkName "sarmouni.dyndns.org"
Numeric "2"
ServicesRoot "mynick" (checked spelling)

======= unrealicrd.conf =======

listen 192.168.1.3:6667;

link services.sarmouni.dyndns.org
{
username *;
hostname 192.168.1.3;
bind-ip *;
port *;
hub *;
password-connect "";
password-receive "password";
class servers;
options {
};
};

ulines {
services.sarmouni.dyndns.org;
};

/* Network configuration */
set {
network-name "sarmouni";
default-server "irc.sarmouni.dyndns.org";
services-server "services.sarmouni.dyndns.org";
stats-server "irc.sarmouni.dyndns.org";
help-channel "#sarmouni";
hiddenhost-prefix "xxx";

cloak-keys {
...
};
hosts {
local "irc.sarmouni.dyndns.org"; (same result with 192.168.1.3)
global "irc.sarmouni.dyndns.org";
coadmin "irc.sarmouni.dyndns.org";
admin "irc.sarmouni.dyndns.org";
servicesadmin "irc.sarmouni.dyndns.org";
netadmin "irc.sarmouni.dyndns.org";
host-on-oper-up "no";
};
};

======= end =======
EricT
Posts: 11
Joined: Thu Oct 12, 2006 8:23 pm

Services are currently down (have read faq #52)

Post by EricT »

And I also have a me block in my UnrealIRCd config file:

me
{
name "irc.sarmouni.dyndns.org";
info "sarmouni.dyndns.org server";
numeric 1;
};
EricT
Posts: 11
Joined: Thu Oct 12, 2006 8:23 pm

Services are currently down (RESOLVED)

Post by EricT »

This appears to have been the culprit:

link services.sarmouni.dyndns.org
{
username *;
hostname *; // was 192.168.1.3
port 6667; // was *
...

Now /ns etc work :)

With good wishes,
EricT.
Locked