Anope IRC Services

Anope Support => 1.6.x (Read Only) => Topic started by: Selveste on April 15, 2008, 07:41:50 PM

Title: New to Anope - need help
Post by: Selveste on April 15, 2008, 07:41:50 PM
Hey out there...

Systemspec:
*NIX - OpenSuSE 10.3 - 32-bit
Unreal 3.2.7
Anope 1.6.5

I have for over one week now tryed to get Anope 1.6.5 to be ChanServ for my UnrealIRCD 3.2.7

Unrealircd.conf
Code: [Select]

link services.my-domain
{
username *;
hostname localhost; //services-server IP
bind-ip *;
port 7029;
#hub *;
password-connect "my-pass";
password-receive "my-pass";
class servers;
options {
/* Note: You should not use autoconnect when linking services */

};

};

ulines {
    services.semark.dk;
    #irc.semark.dk;
    #stat.semark.dk;
    #hub.semark.dk;
};


services.conf
Code: [Select]

RemoteServer    localhost 7029 "my-pass"
#RemoteServer2   services.localhost 7029 "my-pass"
#RemoteServer3  localhost 6667 "mypass"

ServerName  "services.semark.dk"
ServiceUser "services@127.0.0.1"


When I try to start anope ./services -debug -nofork I get this log-file
Code: [Select]

./services -debug -nofork
[Apr 15 20:21:22.399513 2008] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up (options: debug)
[Apr 15 20:21:22.400108 2008] debug: Loading language 10 from file `languages/cat'
[Apr 15 20:21:22.414443 2008] debug: Loading language 9 from file `languages/de'
[Apr 15 20:21:22.435780 2008] debug: Loading language 0 from file `languages/en_us'
[Apr 15 20:21:22.457138 2008] debug: Loading language 4 from file `languages/es'
[Apr 15 20:21:22.473710 2008] debug: Loading language 6 from file `languages/fr'
[Apr 15 20:21:22.481371 2008] debug: Loading language 11 from file `languages/gr'
[Apr 15 20:21:22.488003 2008] debug: Loading language 5 from file `languages/pt'
[Apr 15 20:21:22.494598 2008] debug: Loading language 7 from file `languages/tr'
[Apr 15 20:21:22.501238 2008] debug: Loading language 8 from file `languages/it'
[Apr 15 20:21:22.508006 2008] debug: Loading language 12 from file `languages/nl'
[Apr 15 20:21:22.514653 2008] debug: Loading language 13 from file `languages/ru'
[Apr 15 20:21:22.524896 2008] debug: Loaded languages
[Apr 15 20:21:22.525411 2008] debug: Loaded NickServ database (1/7)
[Apr 15 20:21:22.525603 2008] Attempting to load V3 HS Database
[Apr 15 20:21:22.525775 2008] debug: Loaded HostServ database (2/7)
[Apr 15 20:21:22.525966 2008] debug: Loaded BotServ database (3/7)
[Apr 15 20:21:22.526167 2008] debug: Loaded ChanServ database (4/7)
[Apr 15 20:21:22.526400 2008] debug: Loaded OperServ database (5/7)
[Apr 15 20:21:22.526706 2008] debug: Loaded news database (6/7)
[Apr 15 20:21:22.526897 2008] debug: Loaded exception database (7/7)
[Apr 15 20:21:22.527065 2008] Databases loaded
[Apr 15 20:21:22.527228 2008] debug: Saving FFF databases
[Apr 15 20:21:22.529125 2008] Connected to Server 1 (localhost:7029)
[Apr 15 20:21:22.529343 2008] debug: Sent: PROTOCTL NICKv2 VHP
[Apr 15 20:21:22.529525 2008] debug: Sent: PASS :my-pass
[Apr 15 20:21:22.529700 2008] debug: Sent: SERVER services.my-domain.dk 1 :Services for IRC Networks on hds-linux
[Apr 15 20:21:22.529943 2008] debug: Sent: NICK NickServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :Nickname Server
[Apr 15 20:21:22.530127 2008] debug: Sent: SQLINE NickServ :Reserved for services
[Apr 15 20:21:22.530304 2008] debug: Sent: NICK ChanServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :Channel Server
[Apr 15 20:21:22.530483 2008] debug: Sent: SQLINE ChanServ :Reserved for services
[Apr 15 20:21:22.530658 2008] debug: Sent: NICK HostServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :vHost Server
[Apr 15 20:21:22.530837 2008] debug: Sent: SQLINE HostServ :Reserved for services
[Apr 15 20:21:22.531011 2008] debug: Sent: NICK MemoServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :Memo Server
[Apr 15 20:21:22.531191 2008] debug: Sent: SQLINE MemoServ :Reserved for services
[Apr 15 20:21:22.531365 2008] debug: Sent: NICK BotServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :Bot Server
[Apr 15 20:21:22.531543 2008] debug: Sent: SQLINE BotServ :Reserved for services
[Apr 15 20:21:22.531717 2008] debug: Sent: NICK HelpServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +oS * :Help Server
[Apr 15 20:21:22.531895 2008] debug: Sent: SQLINE HelpServ :Reserved for services
[Apr 15 20:21:22.532186 2008] debug: Sent: NICK OperServ 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +ioS * :Operator Server
[Apr 15 20:21:22.532367 2008] debug: Sent: SQLINE OperServ :Reserved for services
[Apr 15 20:21:22.532541 2008] debug: Sent: NICK Global 1 1208283682 services 127.0.0.1 services.my-domain.dk 0 +ioS * :Global Noticer
[Apr 15 20:21:22.532720 2008] debug: Sent: SQLINE Global :Reserved for services
[Apr 15 20:21:22.532890 2008] debug: Received: :HDS-Linux.my-domain.dk NOTICE AUTH :*** Looking up your hostname...
[Apr 15 20:21:22.533065 2008] unknown message from server (:HDS-Linux.my-domain.dk NOTICE AUTH :*** Looking up your hostname...)
[Apr 15 20:21:22.533288 2008] debug: Received: :HDS-Linux.my-domain.dk NOTICE AUTH :*** Found your hostname (cached)
[Apr 15 20:21:22.533463 2008] unknown message from server (:HDS-Linux.my-domain.dk NOTICE AUTH :*** Found your hostname (cached))
[Apr 15 20:21:23.528540 2008] debug: Received: ERROR :Link denied (No matching link configuration) [@0:0:0:0:0:ffff:127.0.0.1.33455]
[Apr 15 20:21:23.528661 2008] unknown message from server (ERROR :Link denied (No matching link configuration) [@0:0:0:0:0:ffff:127.0.0.1.33455])
[Apr 15 20:21:23.528917 2008] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[Apr 15 20:21:23.528980 2008] unknown message from server (ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration)))
[Apr 15 20:21:23.529079 2008] Read error from server: No such file or directory
[Apr 15 20:21:23.529185 2008] debug: Sent: :services.my-domain.dk SQUIT services.my-domain.dk :Read error from server: No such file or directory


EDIT:
Sorry forgot to right what IRCD say:

Code: [Select]

=== C *@localhost * services.semark.dk 7029 servers
--- c End of /STATS report
=== *** LocOps -- Link denied for services.semark.dk(unknown@127.0.0.1) (Server is in link block but IP/host didn't match) [@0:0:0:0:0:ffff:127.0.0.1.33453]
=== *** LocOps -- Link denied for services.semark.dk(unknown@127.0.0.1) (Server is in link block but IP/host didn't match) [@0:0:0:0:0:ffff:127.0.0.1.33455]


If anybody can help, fill free to ask my for more info

Sorry for my bad english

/Selveste

[Edited on 15/4-2008 by Selveste]
Title:
Post by: Jan Milants on April 15, 2008, 08:34:40 PM
Quote
hostname localhost; //services-server IP

the comment is right... then how come you manage to enter the localhost hostname instead of an IP... use 127.0.0.1
Title:
Post by: Selveste on April 16, 2008, 11:25:16 AM
Quote
Originally posted by Viper
Quote
hostname localhost; //services-server IP

the comment is right... then how come you manage to enter the localhost hostname instead of an IP... use 127.0.0.1


Its because I have compiled UnrealIRC whit ipv6 support, and there for I have to use hostname, but I have changed it to the ipv6-ipadress, but still same error from IRC and Anope ;(

[Edited on 16/4-2008 by Selveste]
Title:
Post by: Jan Milants on April 16, 2008, 12:17:30 PM
Quote
*** LocOps -- Link denied for services.semark.dk(unknown@127.0.0.1) (Server is in link block but IP/host didn't match) [@0:0:0:0:0:ffff:127.0.0.1.33453]

still quite obvious i d say...

and using ipv6 is no reason to use hostnames instead of IPs in the config... using hostnames in any ircd config is a bad idea in most cases.
just try "127.0.0.1" or "0:0:0:0:0:ffff:127.0.0.1"

and i have no idea how 1.6 will react to ipv6 addresses...

[Edited on 16-4-2008 by Viper]
Title:
Post by: Selveste on April 16, 2008, 01:47:08 PM
Sorry that I did not under stand what you said the first time :P now it works thanx

love from Selveste :D