Page 1 of 1

Unreal and anope linking

Posted: Thu May 24, 2007 5:59 am
by Asylum
I've set up unreal 3.2 and Anope 1.7.18 However no matter what I try I cannot get them to link.

I start anope with ./services -debug -nofork and then check the logs.

this is part of what I see -

Code: Select all

[May 24 00:47:20 2007] Every UserKey must be different. It's for YOUR safety! Remember that!
[May 24 00:47:20 2007] Loading IRCD Protocol Module: [unreal32]
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] Loading Encryption Module: [enc_none]
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] Anope 1.7.18 (1214) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 24 00:47:20 2007] ms_rsend requested unload...
[May 24 00:47:20 2007] debug: trying to load core module [ms_rsend]
[May 24 00:47:20 2007] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 24 00:47:20 2007] Databases loaded
[May 24 00:47:20 2007] Info: Reflecting database records.
[May 24 00:47:20 2007] Connected to Server 1 (orion.wastelandwar.com:6667)
[May 24 00:47:20 2007] trying to load [cs_appendtopic]
[May 24 00:47:20 2007] [cs_appendtopic] Loaded successfully
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] trying to load [cs_enforce]
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] trying to load [ns_maxemail]
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] trying to load [os_info]
[May 24 00:47:20 2007] os_info: Loading configuration directives...
[May 24 00:47:20 2007] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[May 24 00:47:20 2007] os_info: Directive OSInfoDBName loaded (os_info.db)...
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:20 2007] trying to load [hs_request]
[May 24 00:47:20 2007] hs_request loaded
[May 24 00:47:20 2007] status: [0][Module, Okay - No Error]
[May 24 00:47:21 2007] Read error from server: Success (error num: 0)
[May 24 00:47:21 2007] [cs_appendtopic] Unloaded successfully
[May 24 00:47:21 2007] hs_request un-loaded
and when I try the /NickServ username I get the error - NickServ services are down. Please try again later. Same with ChanServ, BotServ, etc. None of the Services work or start.

in my unrealircd.conf file I have

l

Code: Select all

ink            orion.wastelandwar.com
{
        username        *;
        hostname        *;
        bind-ip         *;
        port            6667;
        hub             *;
        password-connect "pswd%";
        password-receive "pswd%";
        class           servers;
                options {
                        /* Note: You should not use autoconnect when linking services */

#                       ssl;
#                       zip;
and my network config

Code: Select all

/* Network configuration */
set {
        network-name            "WLWnet";
        default-server          "orion.wastelandwar.com";
        services-server         "services.wastelandwar.com";
        stats-server            "orion.wastelandwar.com";
        help-channel            "#WLWnet";
        hiddenhost-prefix       "wlw";
        /* prefix-quit          "no"; */



I have been beating my head till it's bloody trying to make the Anope Services work.

any ideas or help is greatly appreciated

Posted: Thu May 24, 2007 12:42 pm
by Jobe
First points to mention:

In your set block you set services-server to the name "services.wastelandwar.com" yet you show a link block for a server called "orion.wastelandwar.com" so youll need a link block for "services.wastelandwar.com"

Also make sure ServerName in services.conf is also services.wastelandwar.com

Double check RemoteServer specifers a port on an IP that the IRCd is listening too and that the port specified has a listen block in unrealircd.conf and ISNT limited to clientsonly or ssl.

Another point to note, when innitially linking services its better to use /msg NickServ help instead of /nickserv help, as if you have set::services-server incorrect /nickserv will cause a message that is very misleading.

Posted: Thu May 24, 2007 3:56 pm
by Asylum
ok, checked and adjusted the link. now services.conf and unrealircd.conf both read the same. rehashed and when I use /msg nickserv help it returns -- Error: no such nick: nickserv

Posted: Thu May 24, 2007 4:48 pm
by Jobe
Ok after rehash'ing Unreal, did you remember to start Anope?

Also for additional reasons as to why it's not connecting/staying connected dont forget to /oper and watch server notices.

Posted: Thu May 24, 2007 5:31 pm
by Asylum
Yes, I restarted both :)

this is what I am now getting in /Opers

Code: Select all

12:17]  (warhorse) [12:30] :> Server: Notice -- Got signal SIGHUP, reloading unrealircd.conf file
[12:17]  (warhorse) [12:30] :> Server: Notice -- Loading IRCd configuration ..
[12:17]  (warhorse) [12:30] :> Server: Notice -- [warning] unrealircd.conf:257: listen with SSL flag enabled on a non SSL compile
[12:17]  (warhorse) [12:30] :> Server: Notice -- Configuration loaded without any problems ..
[12:17]  (warhorse) [12:30] :> Server: Notice -- Client exiting: Diablo ([email protected]) [Quit: http://www.wastelandwar.com]
[12:17]  (warhorse) [12:33] :> Server: Notice -- Client connecting on port 6667: Asylum-Java ([email protected]) [clients]
[12:17]  (warhorse) [12:35] :> Server: Notice -- Client connecting on port 6667: Murminator ([email protected]) [clients]
[12:18]  > msg [nickserv]: help
[12:18] ... Error: no such nick: nickserv 
[12:29]  (warhorse) [11:55] :> Server: Notice -- Client exiting: stillnotDiablosodontkillme ([email protected]) [Quit: http://www.wastelandwar.com]
[12:29]  (warhorse) [11:55] :> Server: Notice -- Client connecting on port 6667: awwww ([email protected]) [default]
[12:29]  (warhorse) [12:03] :> Server: Notice -- Client exiting: Red ([email protected]) [Quit: http://www.wastelandwar.com]
[12:29]  (warhorse) [12:03] :> Server: Notice -- Client exiting: FR3DB3AR ([email protected]) [Quit: http://www.wastelandwar.com]
[12:29]  (warhorse) [12:03] :> Server: Notice -- Client connecting on port 6667: Red ([email protected]) [default]
[12:29]  (warhorse) [12:04] :> Server: Notice -- Client connecting on port 6667: Diablo ([email protected]) [default]
[12:29]  (warhorse) [12:08] :> Server: Notice -- Got signal SIGHUP, reloading unrealircd.conf file
[12:29]  (warhorse) [12:08] :> Server: Notice -- Loading IRCd configuration ..
[12:29]  (warhorse) [12:08] :> Server: Notice -- [warning] unrealircd.conf:257: listen with SSL flag enabled on a non SSL compile
[12:29]  (warhorse) [12:08] :> Server: Notice -- unrealircd.conf:143: illegal allow::class, unknown class 'clients' using default of class 'default'
[12:29]  (warhorse) [12:08] :> Server: Notice -- unrealircd.conf:151: illegal allow::class, unknown class 'clients' using default of class 'default'
[12:29]  (warhorse) [12:08] :> Server: Notice -- unrealircd.conf:199: illegal oper::class, unknown class 'clients' using default of class 'default'
[12:29]  (warhorse) [12:08] :> Server: Notice -- Configuration loaded without any problems ..
[12:29]  (warhorse) [12:13] :> Server: Notice -- Got signal SIGHUP, reloading unrealircd.conf file
[12:29]  (warhorse) [12:13] :> Server: Notice -- Loading IRCd configuration ..


Posted: Thu May 24, 2007 10:47 pm
by Asylum
Ok I got it working now.. all is well in the Wasteland..

thanks for the help Jobe1986 :D

Re: Unreal and anope linking

Posted: Wed Jan 28, 2009 11:46 pm
by vitorhp
I'm getting:
[Jan 28 23:45:36.305221 2009] FATAL: Can't connect to server: Permission denied

Any idea?

Re: Unreal and anope linking

Posted: Mon Feb 02, 2009 8:44 am
by Jobe
In my experiance, permission denied is usually a firewall issue, where by either the source/destination ip/port are blocked by the LOCAL firewall. By local, I mean the firewall application running on the SAME computer that Anope is running on.