Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Services aliases (anope) won't work. "Services are curr

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services
Author Message
cvdeeden
none
none


Joined: 23 Jan 2010
Posts: 7

PostPosted: Jan 23, 2010 7:08am    Post subject: Services aliases (anope) won't work. "Services are curr Reply with quote

When I use an service aliases, /ns /cs /bs etc. it shows "Services are currently down. Please try again later."

But I've got the aliases/anope.conf included in my config (include "aliases/anope.conf"Wink.

Aliases/anope.conf:

Code:
/* Anope Aliases */

alias nickserv { type services; };
alias ns { target nickserv; type services; };
alias chanserv { type services; };
alias cs { target chanserv; type services; };
alias memoserv { type services; spamfilter yes; };
alias ms { target memoserv; type services; spamfilter yes; };
alias operserv { type services; };
alias os { target operserv; type services; };
alias helpserv { type services; };
alias botserv { type services; };
alias bs { target botserv; type services; };
alias hostserv { type services; };
alias hs { target hostserv; type services; };

include "aliases/aliases.conf";


Code:
Aliases/aliases.conf:

/* Standard Aliases */

alias identify {
   format "^#" {
      target chanserv;
      type services;
      parameters "IDENTIFY %1-";
   };
   format "^[^#]" {
      target nickserv;
      type services;
      parameters "IDENTIFY %1-";
   };
   type command;
};

alias services {
   format "^#" {
      target chanserv;
      type services;
      parameters "%1-";
   };
   format "^[^#]" {
      target nickserv;
      type services;
      parameters "%1-";
   };
   type command;
};

alias register {
   format "^#" {
      target chanserv;
      type services;
      parameters "REGISTER %1-";
   };
   format "^[^#]" {
      target nickserv;
      type services;
      parameters "REGISTER %1-";
   };
   type command;
};




What's wrong?
Back to top
nenolod
Idler
Idler


Joined: 23 Jan 2004
Posts: 357
Location: A box!

PostPosted: Jan 23, 2010 7:22am    Post subject: Reply with quote

your u:lines are wrong. make sure they are set to whatever you have anope configured to link to the network as.
Back to top
Jobe
Eleet
Eleet


Joined: 30 Jul 2006
Posts: 526
Location: Lurking in the shadows of some random channel!

PostPosted: Jan 23, 2010 9:16am    Post subject: Reply with quote

nenolod wrote:
your u:lines are wrong. make sure they are set to whatever you have anope configured to link to the network as.

U:Lines have nothing to do with aliases.

The services are currently down message means either A) a server with the name specified in set::services-server is not present on the network, or B) a user with the specified nick (alias block dependent) is not present.
Back to top
nenolod
Idler
Idler


Joined: 23 Jan 2004
Posts: 357
Location: A box!

PostPosted: Jan 23, 2010 10:12pm    Post subject: Reply with quote

i'm sorry, but in every other ircd other than unreal, say charybdis or bahamut or inspircd, the aliases check for u:line to ensure that messages aren't sent to a fake user.
Back to top
PingBad
Post Whore
Post Whore


Joined: 05 Feb 2005
Posts: 3001
Location: New Zealand

PostPosted: Jan 23, 2010 10:13pm    Post subject: Reply with quote

Just a little FYI: Anope services is not built into UnrealIRCd, so merely including the alias files doesn't automagically install services. If you haven't already, download Anope and read the documentation on getting it linked to UnrealIRCd
Back to top
cvdeeden
none
none


Joined: 23 Jan 2010
Posts: 7

PostPosted: Jan 24, 2010 4:45am    Post subject: Reply with quote

nenolod wrote:
i'm sorry, but in every other ircd other than unreal, say charybdis or bahamut or inspircd, the aliases check for u:line to ensure that messages aren't sent to a fake user.


It hasn't got anything to do with the U:Lines, as somebody else already said here. Even tho because my U:Lines are perfect.

Aslo, I just reinstalled Anope but STILL it say's that the services are offline...


EDIT:
@PingBad: Ofcourse, I know that. But, I'm linked with 2 other services and at one of them their aliases work FINE, even tho they are linked with us.
Back to top
Jobe
Eleet
Eleet


Joined: 30 Jul 2006
Posts: 526
Location: Lurking in the shadows of some random channel!

PostPosted: Jan 24, 2010 7:43am    Post subject: Reply with quote

cvdeeden: have you checked to make sure services-server in your set block matches the name of your services server exactly (where Services is NOT the same as services)?

nenolod wrote:
i'm sorry, but in every other ircd other than unreal, say charybdis or bahamut or inspircd, the aliases check for u:line to ensure that messages aren't sent to a fake user.

UnrealIRCd gets around that by using set::services-server as the server name to append to the nick of the service for example /nickserv is sent as "PRIVMSG NickServ@services.server.name :message" This I am sure you are aware ensures that the message ONLY goes to the nick specified on the server specified and nobody else. Which in my honest opinion is far more secure then checking U:Lines.
Back to top
Trixar_za
Eleet
Eleet


Joined: 10 Dec 2006
Posts: 613
Location: South Africa

PostPosted: Jan 24, 2010 10:10am    Post subject: Reply with quote

If all else fails, try replacing the type services; with type normal; within the alias/anope.conf file.
Example:
Code:
alias nickserv { type normal; };
alias ns { target nickserv; type normal; };

I once used this to make my aliases work with NeoStats back in the day...
Back to top
Bertrum
Eleet
Eleet


Joined: 30 Mar 2008
Posts: 569
Location: Venus

PostPosted: Jan 24, 2010 9:32pm    Post subject: Reply with quote

You said,
Quote:

But I've got the aliases/anope.conf included in my config (include "aliases/anope.conf"


You pasted,
Quote:
include "aliases/aliases.conf";


Are you sure the file is called anope.conf/aliases.conf ;x
Back to top
Jobe
Eleet
Eleet


Joined: 30 Jul 2006
Posts: 526
Location: Lurking in the shadows of some random channel!

PostPosted: Jan 25, 2010 2:43am    Post subject: Reply with quote

Bertrum wrote:
Are you sure the file is called anope.conf/aliases.conf ;x


Unreal does have an "aliases/anope.conf" in it's distribution.
Back to top
Trixar_za
Eleet
Eleet


Joined: 10 Dec 2006
Posts: 613
Location: South Africa

PostPosted: Jan 26, 2010 3:51pm    Post subject: Reply with quote

Jobe wrote:
Bertrum wrote:
Are you sure the file is called anope.conf/aliases.conf ;x


Unreal does have an "aliases/anope.conf" in it's distribution.

Erm, yes there is:
Code:
brenton@trixarian:~/Unreal3.2/aliases$ pwd
/home/brenton/Unreal3.2/aliases
brenton@trixarian:~/Unreal3.2/aliases$ ls anope.conf
anope.conf
Back to top
Nixtrix
Lurker
Lurker


Joined: 06 Apr 2008
Posts: 106
Location: Around...

PostPosted: Jan 26, 2010 10:16pm    Post subject: Reply with quote

The reason they are not working is because in the
set {
configuration of the IRCD (Unreal Infact), there is an option called:
services-server "services.youtnetwork.tld" in which you need to ensure that has the correct services server name of your network because this is what the aliases use to send the messages..

=)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRCD & Network Services All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer