These are old archives. They are kept for historic purposes only.
xIP4n1k0Ix
Posts: 4 Joined: Wed May 09, 2012 11:13 am
Post
by xIP4n1k0Ix » Wed May 09, 2012 11:25 am
Im trying to setup my own irc server but i get the "set::cloak-keys missing" error and tried everything that i saw in other posts but nothing worked
Unreal IRCd Error wrote: Code: Select all
* Loading IRCd configuration ..
* unrealircd.conf:104: Ignoring extra data
* unrealircd.conf:104: Ignoring extra data
* unrealircd.conf:20: unknown directive cloak-keys
[error] set::cloak-keys missing!
[error] 1 errors encountered
[error] IRCd configuration failed to pass testing
My config file wrote: Code: Select all
/* Anope*/
link services.random.com
{
username *;
hostname localhost;
port *;
bind-ip *;
password-connect "random";
password-receive "random";
class servers;
};
ulines {
services.random.com;
};
/* CloakKeys */
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"90jioIOjhiUIOH877h87UGU898hgF";
"IOjiojiio8990UHUHij89KJBBKU898";
};
/* M.Line */
me {
name "random.com";
info "Random IRC";
numeric "1";
};
/* A.Line */
admin {
"Operator";
"Random|Operator";
"[email protected] ";
};
/* Y.Line */
class clients {
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers {
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
/* Y.Line */
allow {
ip *;
hostname *;
class clients;
maxperip 5;
};
/* P.Line */
listen *:6601 {
options {
ssl;
clientsonly;
};
};
/* O.Line */
oper random|Operator {
class clients;
from {
userhost *@*;
};
password "random";
flags {
netadmin;
can_gkline;
can_gzline;
can_zline;
can_restart;
can_die;
global;
};
swhois "Random Operator";
snomask RandomGaming;
};
/* Aliasses */
include aliases/ircservices.conf
/* Modules */
loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";
/* Includes */
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/* Logs */
log ircd.log {
maxsize 5MB;
flags {
errors;
kills;
oper;
kline;
tkl;
};
};
/* Channels */
official-channels {
"#Help" { topic "The official help channel, if nobody is present type /helpop helpme";};
};
/* Network */
set {
kline-address [email protected] ;
auto-join #MainLobby;
options {
hide-ulines;
};
hosts {
local LocalOp.random.com;
global globalop.random.com;
admin admin.random.com;
servicesadmin serviceadmin.random.com;
netadmin netadmin.random.com;
coadmin .coadmin.random.com;
};
};
/* Network Misc */
set {
maxchannelsperuser 10;
services-server "services.random.com";
default-server "random.com";
network-name "random";
help-channel "#Help";
hiddenhost-prefix "Random1";
};
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Wed May 09, 2012 12:00 pm
Just like it says, you didn't set any cloak keys in your configuration.
You need to have something like this in your set block:
Code: Select all
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"and another one";
"and another one";
};
EDIT: I just noticed you have cloak keys in there, but they are not inside a set block. You should really add some organization to the conf, since troubleshooting a disorganized conf (with everything just thrown in) is difficult. You may want to consider following the block order of the documentation or example configuration.
xIP4n1k0Ix
Posts: 4 Joined: Wed May 09, 2012 11:13 am
Post
by xIP4n1k0Ix » Wed May 09, 2012 8:55 pm
Thanks! It worked, was a bad idea to do this while I'm half-asleep
My config file...xD just in case some one need it
Code: Select all
/* Modules */
loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";
/* Anope*/
link services.domain.com
{
username *;
hostname localhost;
port 6669;
bind-ip *;
password-connect "randomlink";
password-receive "randomlink";
class servers;
};
ulines {
services.domain.com;
};
/* M.Line */
me {
name "domain.com";
info "Random IRC";
numeric "20";
};
/* A.Line */
admin {
"Operator";
"random|Operator";
"[email protected] ";
};
/* Y.Line */
class clients {
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers {
pingfreq 90;
maxclients 10;
sendq 1000000;
connfreq 100;
};
/* Y.Line */
allow {
ip *;
hostname *;
class clients;
maxperip 5;
};
/* P.Line */
listen *:6697 {
options {
ssl;
clientsonly;
};
};
listen *:8067;
listen *:6667;
/* O.Line */
oper random|Operator {
class clients;
from {
userhost *@*;
};
password "a1234a";
flags {
netadmin;
can_gkline;
can_gzline;
can_zline;
can_restart;
can_die;
global;
};
swhois "random Operator";
snomask "randomGaming";
};
/* Aliasses */
include aliases/ircservices.conf
/* Includes */
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
/* Logs */
log ircd.log {
maxsize 5MB;
flags {
errors;
kills;
oper;
kline;
tkl;
};
};
/* Channels */
official-channels {
"#Help" { topic "The official help channel, if nobody is present type /helpop helpme"; };
"#MainLobby";
"#Random" { topic "Random"; };
"#Staff" { topic "Private Channel"; };
};
/* Network */
set {
network-name "domain";
default-server "irc.domain.com";
help-channel "#Help";
hiddenhost-prefix "randomGaming";
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"90jioIOjhiUIOH877h87UGU898hgF";
"IOjiojiio8990UHUHij89KJBBKU898";
};
/* Host */
hosts {
local "locop.domain.com";
global "ircop.domain.com";
coadmin "coadmin.domain.com";
admin "admin.domain.com";
servicesadmin "csops.domain.com";
netadmin "netadmin.domain.com";
host-on-oper-up "no";
};
};
/* Network Misc */
set {
kline-address "[email protected] ";
services-server "services.domain.com";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
auto-join "#MainLobby";
oper-auto-join "#opers";
options {
hide-ulines;
show-connect-info;
};
maxchannelsperuser 10;
anti-spam-quit-message-time 10s;
oper-only-stats "okfGsMRUEelLCXzdD";
throttle {
connections 3;
period 60s;
};
/* Anti flood protection */
anti-flood {
nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
};
/* Spam filter */
spamfilter {
ban-time 1d;
};
};
But now...i have some problems with the Anope
Anope Error wrote: Code: Select all
[May 09 15:29:09 2012] Loading IRCD Protocol Module: [unreal32]
[May 09 15:29:09 2012] status: [0][Module, Okay - No Error]
[May 09 15:29:09 2012] Loading Encryption Module: [enc_none]
[May 09 15:29:09 2012] status: [0][Module, Okay - No Error]
[May 09 15:29:09 2012] Launching Anope into the background
[May 09 15:29:09 2012] Anope 1.8.7 (3089) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 09 15:29:09 2012] ns_sendpass requested unload...
[May 09 15:29:09 2012] debug: trying to load core module [ns_sendpass]
[May 09 15:29:09 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 15:29:09 2012] cs_sendpass requested unload...
[May 09 15:29:09 2012] debug: trying to load core module [cs_sendpass]
[May 09 15:29:09 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 15:29:10 2012] MSMemoReceipt not enabled in services.conf
[May 09 15:29:10 2012] ms_rsend requested unload...
[May 09 15:29:10 2012] debug: trying to load core module [ms_rsend]
[May 09 15:29:10 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 15:29:10 2012] MySQL: has been disabled.
[May 09 15:29:10 2012] Databases loaded
[May 09 15:29:10 2012] Info: Reflecting database records.
[May 09 15:29:11 2012] FATAL: Can't connect to server: No such file or directory
I used this config file from
Swiftirc
From that config file i modified this
Code: Select all
RemoteServer 127.0.0.1 6669 "randomlink"
ServerName "localhost"
ServerDesc "Random IRC"
ServiceUser "[email protected] "
HelpChannel "#help"
LogChannel "#services"
NetworkName "Random IRC"
UserKey1 4856993
UserKey2 1928894
UserKey3 4394782
NSEnforcerUser [email protected]
ServicesRoot "Random|Bot"
xIP4n1k0Ix
Posts: 4 Joined: Wed May 09, 2012 11:13 am
Post
by xIP4n1k0Ix » Wed May 09, 2012 10:52 pm
i edited the Anope section of my config file to this
Code: Select all
/* Anope*/
listen 127.0.0.1:6669;
link services.domain.com
{
username *;
hostname 127.0.0.1;
bind-ip *;
hub *;
port 6669;
password-connect "RaNdOmlink";
password-receive "RaNdOmlink";
class servers;
};
ulines { services.domain.com; };
set { services-server "services.domain.com"; };
include "aliases/anope.conf";
And my services.conf to this
Code: Select all
IRCDModule "unreal32"
Numeric 20
RemoteServer 127.0.0.1 6669 "RaNdOmlink"
ServerName "services.domain.com"
ServerDesc "RaNdOm IRC"
ServiceUser "[email protected] "
HelpChannel "#help"
LogChannel "#services"
NetworkName "RaNdOm IRC"
UserKey1 4856993
UserKey2 1928894
UserKey3 4394782
NSEnforcerUser [email protected]
ServicesRoot "RaNdOm|Bot"
It seems to be fixed the conection problem but now i get "Read error from server: No such file or directory (error num: 2)"
Code: Select all
[May 09 17:43:07 2012] Loading IRCD Protocol Module: [unreal32]
[May 09 17:43:07 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:07 2012] Loading Encryption Module: [enc_none]
[May 09 17:43:07 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:07 2012] Launching Anope into the background
[May 09 17:43:07 2012] Anope 1.8.7 (3089) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 09 17:43:07 2012] ns_sendpass requested unload...
[May 09 17:43:07 2012] debug: trying to load core module [ns_sendpass]
[May 09 17:43:07 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 17:43:07 2012] cs_sendpass requested unload...
[May 09 17:43:07 2012] debug: trying to load core module [cs_sendpass]
[May 09 17:43:07 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 17:43:07 2012] MSMemoReceipt not enabled in services.conf
[May 09 17:43:07 2012] ms_rsend requested unload...
[May 09 17:43:07 2012] debug: trying to load core module [ms_rsend]
[May 09 17:43:07 2012] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 09 17:43:08 2012] MySQL: has been disabled.
[May 09 17:43:08 2012] Databases loaded
[May 09 17:43:08 2012] Info: Reflecting database records.
[May 09 17:43:08 2012] Connected to Server 1 (127.0.0.1:6669)
[May 09 17:43:08 2012] trying to load [cs_appendtopic]
[May 09 17:43:08 2012] [cs_appendtopic] Loaded successfully
[May 09 17:43:08 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:08 2012] trying to load [cs_enforce]
[May 09 17:43:08 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:08 2012] trying to load [ns_maxemail]
[May 09 17:43:08 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:08 2012] trying to load [os_info]
[May 09 17:43:08 2012] os_info: Loading configuration directives...
[May 09 17:43:08 2012] os_info: Directive OSInfoDBName loaded (os_info.db)...
[May 09 17:43:08 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:08 2012] trying to load [hs_request]
[May 09 17:43:08 2012] hs_request loaded
[May 09 17:43:08 2012] status: [0][Module, Okay - No Error]
[May 09 17:43:08 2012] Read error from server: No such file or directory (error num: 2)
[May 09 17:43:08 2012] [cs_appendtopic] Unloaded successfully
[May 09 17:43:08 2012] hs_request un-loaded
xIP4n1k0Ix
Posts: 4 Joined: Wed May 09, 2012 11:13 am
Post
by xIP4n1k0Ix » Thu May 10, 2012 2:53 am
Sorry About the Posts xD i got all working
i run the anope as debug mode and i saw that i set in both config files the same "server numeric" so i set numeric 1 to unrealircd and 2 to anope.