[error] unrealircd.conf:736: set::cloak-keys

These are old archives. They are kept for historic purposes only.
Post Reply
barkermn01
Posts: 4
Joined: Tue Jan 08, 2008 1:41 am

[error] unrealircd.conf:736: set::cloak-keys

Post by barkermn01 »

i recive this error from the service.txt

Code: Select all

* Loading IRCd configuration ..
[warning] unrealircd.conf:321: link hub.mynet.com with SSL option enabled on a non-SSL compile
[warning] unrealircd.conf:555: Duplicate ban::mask directive
[warning] unrealircd.conf:556: Duplicate ban::reason directive
[error] unrealircd.conf:735: set::cloak-keys: (key 2) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] unrealircd.conf:736: set::cloak-keys: (key 3) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] 3 errors encountered
[error] IRCd configuration failed to pass testing
and yet i have this

Code: Select all

    cloak-keys {
        "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
        "hdrt6bv45v8b76vbdls7456bev85";
        "alcbw347ov56q356vcails465345";
Any help pls

I am running on
Windows Vista [As admin]
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by Stealth »

It's possible you have multiple settings for cloak keys, use the search feature in your editor to look for another cloak key setting.

Also, it helps plenty when you remove all the comments when you are done editing example.conf. I have seen times where Unreal may not interpret the conf correctly when the comments are left.
barkermn01
Posts: 4
Joined: Tue Jan 08, 2008 1:41 am

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by barkermn01 »

ok tryed it

It stoped the error in teh logs but

When i run the application it terminates - i have run it as admin noe errors in logs or from application but it dose not appear in Task manager
and when i start it in servises i get the application teminated unexsspectedly
barkermn01
Posts: 4
Joined: Tue Jan 08, 2008 1:41 am

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by barkermn01 »

ok sorry to do this but this error

Code: Select all

* unrealircd.conf:273: unknown directive cloak-keys
* unrealircd.conf:279: unknown directive hosts
[error] set::hosts::global is missing
[error] set::hosts::admin is missing
[error] set::hosts::servicesadmin is missing
[error] set::hosts::netadmin is missing
[error] set::hosts::coadmin is missing
[error] set::cloak-keys missing!
[error] 7 errors encountered
[error] IRCd configuration failed to pass testing
And this is my full unrealircd.conf

Code: Select all

Let's not post whole conf's plz kthnx
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by Stealth »

Delete the }; after hiddenhost-prefix.
T-rexke
Posts: 147
Joined: Sat Mar 18, 2006 4:37 pm

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by T-rexke »

it has to be like this:

Cloak-keys:

Code: Select all

cloak-keys {
		"key1";
		"key2";
		"key3";

	};
Hosts:

Code: Select all

hosts {
		local		"blabla";
		global		"blabla";
		coadmin		"blabla";
		admin		"blabla";
		servicesadmin 	"blabla";
		netadmin 	"blabla";
                                          host-on-oper-up "yes or no";
	};
};
good luck :)
barkermn01
Posts: 4
Joined: Tue Jan 08, 2008 1:41 am

Re: [error] unrealircd.conf:736: set::cloak-keys

Post by barkermn01 »

Stealth wrote:Delete the }; after hiddenhost-prefix.
Ok thanks that worked but back to the orinal erro of

Code: Select all

* Loading IRCd configuration ..
[warning] unrealircd.conf:99: link hub.mynet.com with SSL option enabled on a non-SSL compile
[warning] unrealircd.conf:192: Duplicate ban::mask directive
[warning] unrealircd.conf:193: Duplicate ban::reason directive
[error] unrealircd.conf:274: set::cloak-keys: (key 2) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] unrealircd.conf:275: set::cloak-keys: (key 3) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] 3 errors encountered
[error] IRCd configuration failed to pass testing
with the conf like so

Code: Select all

set {
    network-name         "Barkers Media Servers";
    default-server         "localhost";
    services-server     "localhost";
    stats-server         "localhost";
    help-channel         "#help";
    hiddenhost-prefix    "BMS";
	
    cloak-keys {
        "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
        "hdrt6bv45v8b76vbdls7456bev85";
        "alcbw347ov56q356vcails465345";
    };

    hosts {
        local        "localhost";
        global        "localhost";
        coadmin        "localhost";
        admin        "localhost";
        servicesadmin     "localhost";
        netadmin     "localhost";
        host-on-oper-up "no";
   };
};
*********************EDIT**************************
Fixxed that it needs omse CAPS letters in there aswell at numbers and lowercase letters

okies fix the other errors it turns out warnings aare errors if you have a duplicate ban::mak and reson errors you need to make sure your band nicks are as

Code: Select all

ban nick {
    mask "*C*h*a*n*S*e*r*v*";
    reason "Reserved for Services";
	};
then for 2 or more make sure they are layed out like

Code: Select all

ban nick {
    mask "*C*h*a*n*S*e*r*v*";
    reason "Reserved for Services";
	};

ban nick {	
	mask "*C*u*n*t*";
	reason "Nick unsutable";
};
and if you are using a none SSL make sure you have

Code: Select all

link            hub.mynet.com
{
    username    *;
    hostname     1.2.3.4;
    bind-ip     *;
    port         7029;
    hub             *;
    password-connect "LiNk";
    password-receive "LiNk";
    class           servers;
        options {
            autoconnect;
            ssl;
            zip;
        };
};
Make sure you change it so the ssl; is not in there so like this

Code: Select all

link            hub.mynet.com
{
    username    *;
    hostname     1.2.3.4;
    bind-ip     *;
    port         7029;
    hub             *;
    password-connect "LiNk";
    password-receive "LiNk";
    class           servers;
        options {
            autoconnect;
            zip;
        };
};
Post Reply