Anope starts and connects, IRCd dies.

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
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Anope starts and connects, IRCd dies.

Post by zerojunkie »

Code: Select all

[Jun 04 13:24:12 2004] Services 4.3 (compiled for RFC1459) starting up
[Jun 04 13:24:12 2004] Warning: Bad number of strings (1410, wanted 688) for language 0 (en_us)
[Jun 04 13:24:12 2004] Warning: Bad number of strings (1410, wanted 688) for language 8 (it)
[Jun 04 13:24:13 2004] Failed to load language 1 (ja_jis): No such file or directory
[Jun 04 13:24:13 2004] Failed to load language 2 (ja_euc): No such file or directory
[Jun 04 13:24:13 2004] Failed to load language 3 (ja_sjis): No such file or directory
[Jun 04 13:24:13 2004] Warning: Bad number of strings (1410, wanted 688) for language 4 (es)
[Jun 04 13:24:13 2004] Warning: Bad number of strings (1410, wanted 688) for language 5 (pt)
[Jun 04 13:24:13 2004] Warning: Bad number of strings (1410, wanted 688) for language 7 (tr)
[Jun 04 13:24:13 2004] Databases loaded
[Jun 04 13:24:13 2004] unknown message from server (PROTOCTL NOQUIT TOKEN NICKv2 SJOIN SJOIN2 UMODE2 VL SJ3 NS SJB64 TKLEXT CHANMODES=beqa,kfL,l,psmntirRcOAQKVGCuzNSMT)
[Jun 04 13:24:13 2004] unknown message from server (:*hostname* SMO o :(link) Link *hostname* -> services.localhost.net[@127.0.0.1.4301] established)
[Jun 04 13:24:13 2004] unknown message from server (NETINFO 0 1086373453 2303 DCE2A143 0 0 0 :isgirc)
[Jun 04 13:24:13 2004] unknown message from server (:*hostname* EOS)
[Jun 04 13:24:13 2004] Read error from server: Unknown error: 0

Below are the pertinent parts of my ircd.conf

Code: Select all


link services.localhost.net
 {
 username *;
 hostname 127.0.0.1;
 port 6667;
 bind-ip *;
 password-connect "test1";
 password-receive "test1";
 class servers;
 };

 ulines {
 services.localhost.net;
 };

Code: Select all

allow {
        ip 127.0.0.1;
        hostname *;
        class servers;

Code: Select all

ulines {
 services.localhost.net;
 };
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

first off.... remove the allow block you don't need it.

second off the problem doesn't lie within the ircd itself, you probably didn't configure anope currectly....

Or added a module that unreal doesn't like...

Or you edited the code of either or both, unreal and anope.... which we don't support....
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

jewles wrote:first off.... remove the allow block you don't need it.

second off the problem doesn't lie within the ircd itself, you probably didn't configure anope currectly....

Or added a module that unreal doesn't like...

Or you edited the code of either or both, unreal and anope.... which we don't support....
Ok, allow block was something I tried in desparation, the problem still happened before it was added. Is IRCd supposed to die like it does when services try to connect? I wasn't aware that there is was an option in Anope that would or could kill ircd? The only modules that are added are for cloak.so and commands.so I wasn't aware that those caused problems...I'm also far too n00b to hax0rs my own code :D
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

1. Do you have the latest Unreal?

2. Do you have the lastest Anope?

3. Check your link blocks, I've ran into a problem before where when connecting to an ircd caused it to crash... (kill/killed) so to answer that question is it possible for a connection to kill the ircd yes.... how it happens exactly, (i dont' know) the answer might be in your config file....

Suggestions. rm -rf anope and unreal, backup your config.... start over....
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Syzop
UnrealIRCd head coder
Posts: 2118
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Looks like you didn't configure your services correctly.
[Jun 04 13:24:12 2004] Services 4.3 (compiled for RFC1459) starting up
That's wrong, you should configure it for unreal...

Furthermore, this doesn't even look like anope. This is how it should go with anope 1.6*:

Code: Select all

[May 26 02:31:35 2004] Anope 1.6.0 (compiled for UnrealIRCd 3.1.1+) starting up
[May 26 02:31:35 2004] Attempting to load V3 HS Database
[May 26 02:31:35 2004] Databases loaded
[May 26 02:31:36 2004] Connected to Server 1 (a.nice.server:6667)
What you have looks more like an ircservices version from 4 years ago [ouch! ;p]
zerojunkie
Posts: 9
Joined: Wed Jun 02, 2004 10:17 pm

Post by zerojunkie »

jewles wrote:1. Do you have the latest Unreal?

2. Do you have the lastest Anope?

3. Check your link blocks, I've ran into a problem before where when connecting to an ircd caused it to crash... (kill/killed) so to answer that question is it possible for a connection to kill the ircd yes.... how it happens exactly, (i dont' know) the answer might be in your config file....

Suggestions. rm -rf anope and unreal, backup your config.... start over....
Yes, I have the stable versions of both. I've got it down to where it's not crashing IRCd anymore, but I'm still having problems. Below are my logs and what not.

Code: Select all

[Jun 04 18:43:05.369447 2004] Services 4.3 (compiled for RFC1459) starting up (options: debug)
[Jun 04 18:43:05.369800 2004] debug: Loading language 0 from file `languages/en_us'
[Jun 04 18:43:05.370080 2004] Warning: Bad number of strings (1410, wanted 688) for language 0 (en_us)
[Jun 04 18:43:05.447386 2004] debug: Loading language 8 from file `languages/it'
[Jun 04 18:43:05.447623 2004] Warning: Bad number of strings (1410, wanted 688) for language 8 (it)
[Jun 04 18:43:05.526312 2004] debug: Loading language 1 from file `languages/ja_jis'
[Jun 04 18:43:05.526435 2004] Failed to load language 1 (ja_jis): No such file or directory
[Jun 04 18:43:05.526543 2004] debug: Loading language 2 from file `languages/ja_euc'
[Jun 04 18:43:05.526647 2004] Failed to load language 2 (ja_euc): No such file or directory
[Jun 04 18:43:05.526737 2004] debug: Loading language 3 from file `languages/ja_sjis'
[Jun 04 18:43:05.526839 2004] Failed to load language 3 (ja_sjis): No such file or directory
[Jun 04 18:43:05.526928 2004] debug: Loading language 4 from file `languages/es'
[Jun 04 18:43:05.527139 2004] Warning: Bad number of strings (1410, wanted 688) for language 4 (es)
[Jun 04 18:43:05.605647 2004] debug: Loading language 5 from file `languages/pt'
[Jun 04 18:43:05.605871 2004] Warning: Bad number of strings (1410, wanted 688) for language 5 (pt)
[Jun 04 18:43:05.692646 2004] debug: Loading language 7 from file `languages/tr'
[Jun 04 18:43:05.692892 2004] Warning: Bad number of strings (1410, wanted 688) for language 7 (tr)
[Jun 04 18:43:05.779211 2004] debug: Loaded languages
[Jun 04 18:43:05.779410 2004] debug: Loaded NickServ database (1/6)
[Jun 04 18:43:05.779516 2004] debug: Loaded ChanServ database (2/6)
[Jun 04 18:43:05.779618 2004] debug: Loaded OperServ database (3/6)
[Jun 04 18:43:05.779719 2004] debug: Loaded AKILL database (4/6)
[Jun 04 18:43:05.779818 2004] debug: Loaded news database (5/6)
[Jun 04 18:43:05.779917 2004] debug: Loaded exception database (6/6)
[Jun 04 18:43:05.779995 2004] Databases loaded
[Jun 04 18:43:05.781272 2004] debug: Sent: PASS :test1
[Jun 04 18:43:05.781395 2004] debug: Sent: SERVER services.localhost.net 1 :Services for ISG IRC
[Jun 04 18:43:06.795237 2004] FATAL: Remote server returned: ERROR :Link denied (No matching link configuration) [@127.0.0.1.2418]
My ircd.conf

Code: Select all

loadmodule "src/modules/commands.so";
include "aliases/anope.conf";

me {
        name "<hostname>";
        info "ISG IRC server";
        numeric 1;
};

admin {
        "Me";
        "[email protected]";
};

class clients {
        pingfreq 90;
        maxclients 500;
        sendq 100000;
        recvq 8000;

};

class servers {
        pingfreq 90;
        maxclients 10; /* Max servers we can have linked at a time */
        sendq 1000000;
        connfreq 100; /* How many seconds between each connection attempt */
};

allow {
        ip *;
        hostname *;
        class clients;
};


listen *:6660-6669;

link services.localhost.net
 {
 username *;
 hostname 127.0.0.1;
 port 6667;
 bind-ip *;
 password-connect "test1";
 password-receive "test1";
 class servers;
 };

 ulines {
 services.localhost.net;
 };

set {

        kline-address [email protected];
        auto-join "#isg";
        maxchannelsperuser 50;
        default-server none.localhost.net;
        network-name isgirc;
        hiddenhost-prefix ops;
        services-server services.localhost.net;
        help-channel "#help";

        cloak-keys {
                88818;
                984215;
                846481;
                };

        dns {
                nameserver 209.116.241.10;
                timeout 5m;
                retries 0;
                };

        hosts {
                global globalop;
                coadmin coadmin;
                admin theadmin;
                netadmin netadmin;
                servicesadmin servicesadmin;
                };


};
And my Services.conf

Code: Select all

RemoteServer    127.0.0.1 6667 "test1"
ServerName  "services.localhost.net"
ServerDesc  "Services"
ServiceUser "[email protected]"
NickServName    "NickServ"  "Nickname Server"
ChanServName    "ChanServ"  "Channel Server"
MemoServName    "MemoServ"  "Memo Server"
HelpServName    "HelpServ"  "Help Server"
OperServName    "OperServ"  "Operator Server"
GlobalName      "Global"    "Global Noticer"
PIDFile     services.pid
MOTDFile    services.motd
NickServDB  nick.db
ChanServDB  chan.db
OperServDB  oper.db
NewsDB      news.db
ExceptionDB exception.db
StrictPasswords
BadPassLimit    5
BadPassTimeout  1h
UpdateTimeout   5m
ExpireTimeout   30m
ReadTimeout 5s
WarningTimeout  4h
TimeoutCheck    3s
NSAccessMax 32
NSReleaseTimeout 1m
NSListMax   50
CSAccessMax 1024
CSAutokickMax   32
CSAutokickReason "User has been banned from the channel"
CSInhabit   15s
CSListMax   50
AutoKillExpiry  30d
KillClonesAkillExpire   30m
DefSessionLimit 3
MaxSessionLimit 100
MaxSessionLimit 100
AutokillDB    akill.db
NSEnforcerUser  [email protected]
ServicesRoot   "Ops"
HelpDir /help
I did select the option when configureing Anope for UnrealIRC 3...dunno why it's giving me the RFC...I've recompiled Anope and Unreal probably 3 times apeice with different options, with no luck. I've also tried changeing every instance of services.localhost.net to 127.0.0.1 just to see what would happen...I managed to kill ircd like before...I don't have a clue as to what I'm doing wrong now. Well didn't have one before, but that's another story =)
Syzop
UnrealIRCd head coder
Posts: 2118
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Again.. get recent services... The thing you have is *several* years old (from '99!!!).
Just go to http://www.anope.org/ and download 1.6.2 (or 1.6.0).
Direct link: http://prdownloads.sourceforge.net/anop ... z?download.

(If you wonder how I see that you are using such an old version, if you google at that version string you see it's from like '99.. and for example your HelpDir directive has been removed a long time ago, from changelog: '2000/11/24 Deleted the obsolete HelpDir configuration directive.')
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Basically, it looks like everything you have is corrupt. Language files are missing, language files are corrupt, you compiled for the wrong IRCd, that's not Anope. Correct all of those issues, THEN come ask for help.
-- codemastr
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

actually, screw asking for help, try reading the documentation provided by both unreal and services.... We are NOT going to walk you step by step on how to identify each problem... gotta learn some on your own...
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Locked