Next step to setup irc

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Next step to setup irc

Post by Syzop »

The installation procedure is outlined in https://www.unrealircd.org/docs/Installing_from_source

You finished the section called "Compiling" and now you need to follow "Creating a configuration file".
https://www.unrealircd.org/docs/Install ... ation_file

You need to actually go through the configuration file, as the article says. You need to read the file completely, not rush, not only a mass text replace without reading or while ignoring chunks.
This is important because, once you have UnrealIRCd configured, you will need to know how to tweak things and you can only do that if you have a basic understanding of what the configuration is, in the first place.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Yes i'm now on holliday, sow sorry i'm answer too late.

i think i must reading error by error and fixed, but i think you installed evertyhing and give no errors.
Something you use a OS that give no error, like debian... maybe on ubuntu is t bettter working.
But you can fixed, and i must fixed out how that works...

And @Syzop tnx for the formating, i try it in the next post.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Hellow i'm back

Now i completed to install unrealircd and now i know how to setup the config.
I working now with debian 11 and everything works fine.

but when i will starting unrealircd i get 1 error...

Code: Select all

[info] Loading IRCd configuration..
[info] Testing IRCd configuration..
[error] No cloaking module loaded, you must load 1 of these modulese:
[error] 1) cloak_sha256 - if you are a new network starting with UnrealIRCd 6
[error] 2) cloak_md5 - the old one if migrating an existing network from UnrealIRCd 3.2/4/5
[error] 3) cloak_none - if you don't want to use cloaking at all
[error] See also https://www.unrealircd.org/docs/FAQ#choose-a-cloaking-module
[error] IRCd configuration failed to pass testing
[error] IRCd configuration failed to load
I reading the document on: https://www.unrealircd.org/docs/FAQ#cho ... ing-module but it's not helpfull for me.
I don't know how to fidex this error.

On a older topic: viewtopic.php?t=6513
Also "just read again" is the answer to help.

how to fixed this error now?

Note i checking the follow topic's:
* viewtopic.php?t=6513
* viewtopic.php?t=5623
* viewtopic.php?t=9126
* viewtopic.php?t=2668
* viewtopic.php?t=4004

The clock i security thing for users i red, and i must install this but nothing works, and how i come on that key...
Sorry this step is nog simple, plesse i need more help or info :?
Last edited by MRE on Fri Sep 30, 2022 6:32 pm, edited 1 time in total.
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Next step to setup irc

Post by CrazyCat »

normaly, unless you comment it yourself, you have cloak_sha256 loaded.
Check your conf to find loadmodule "cloak_sha256"; and uncomment it if it's commented.

And look for the cloak-keys block to see if you have well setted 3 random strings in it, or runned ./unrealircd gencloak to generate them (you'll have to paste & copy the result in your configuration)
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

CrazyCat wrote: Fri Sep 30, 2022 6:32 pm normaly, unless you comment it yourself, you have cloak_sha256 loaded.
Check your conf to find loadmodule "cloak_sha256"; and uncomment it if it's commented.
Well i have nothing installed in the: /home/myusernamecensored/unrealircd/conf/unrealircd.conf
i can't find any cloack or cloak_sha256 on there.
CrazyCat wrote: Fri Sep 30, 2022 6:32 pm or runned ./unrealircd gencloak to generate them (you'll have to paste & copy the result in your configuration)
Now i know how to generated a "key" Thanks! :D

In my config i have this installed:

Code: Select all

/* FOR *NIX, uncomment the following 2lines: */
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

/* FOR Windows, uncomment the following 2 lines: */
loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";

set {
        cloak-keys {
                "key1 (sensored)";
                "key2 (sensored)";
                "key3 (sensored)";
        }
}
I know i must delete the // before the "loadmodule" but i get this error now:

Code: Select all

[info] Loading IRCd configuration..
[info] Testing IRCd configuration..
[error] /home/usernamecensored/unrealircd/conf/unrealircd.conf:2: loadmodule src/modules/commands.so: failed to load: Cannot open module file: No such file or directory
[error] /home/usernamecensored/unrealircd/conf/unrealircd.conf:3: loadmodule src/modules/cloak.so: failed to load: Cannot open module file: No such file or directory
[error] /home/usernamecensored/unrealircd/conf/unrealircd.conf:6: loadmodule modules/commands.dll: failed to load: Cannot open module file: No such file or directory
[error] /home/usernamecensored/unrealircd/conf/unrealircd.conf:7: loadmodule modules/cloak.dll: failed to load: Cannot open module file: No such file or directory
[error] IRCd configuration failed to load
What i doing wrong then ?

Note: i'm not using windows, but debian 11 in putty
alhoceima
Posts: 32
Joined: Mon Jul 18, 2016 10:35 pm

Re: Next step to setup irc

Post by alhoceima »

comment these


//loadmodule "modules/commands.dll";
//loadmodule "modules/cloak.dll";


cause these are for windows
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

alhoceima wrote: Fri Sep 30, 2022 7:56 pm cause these are for windows
i have Debian 11.....

Sow i must need "Nix" command als follow:

Code: Select all

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
or:

Code: Select all

//loadmodule "src/modules/commands.so";
//loadmodule "src/modules/cloak.so";
(windows)

It will not working.
My key is correct, but how setup i the nix module for the clock? :cry:

Note: also try with .dll

Code: Select all

loadmodule "src/modules/commands.dll";
loadmodule "src/modules/cloak.dll"; 
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Next step to setup irc

Post by Syzop »

This commands.so and .dll stuff... those lines in the configuration file you are showing... those only exists in UnrealIRCd 3.2.x.
Why are you using a UnrealIRCd 3.2 style configuration file when you are trying to setup UnrealIRCd 6? That is not going to work.
The only way you can get into such a situation is because you got that UnrealIRCd 3.2 config file from somewhere else and are not following instructions.

The instructions are at https://www.unrealircd.org/docs/Install ... ation_file - it will make you use a UnrealIRCd 6 configuration file that you need to edit, go through it line by line / block by block. This has been mentioned a few times already by people.

I'm sorry to say this but don't be surprised if, after some time, nobody is going to respond to this thread anymore. You are not reading the documentation or following instructions. That must be annoying and hard for you. But it is also annoying for everyone that is trying to help you (4 people at this point?). Just like you may give up at some point trying to do things, the people trying to help you may also give up on you.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Syzop wrote: Sat Oct 01, 2022 7:22 am I'm sorry to say this but don't be surprised if, after some time, nobody is going to respond to this thread anymore. You are not reading the documentation or following instructions.
Who say i'm not reading?

1 = it's my first time
2 = I never doing this before
3 = I reading, but sometimes i dont understand what i must doing. (its not to shame to ask any help)
4 = I write everything how it works for the next time, sow i never forget
5 = there re too mny documents and links, this make it not simple.

But ok ok...

I have now:

Code: Select all

[info] Loading IRCd configuration..
[info] Testing IRCd configuration..
[info] Configuration loaded
[info] Configuration test passed OK
[info] UnrealIRCd is now listening on the following addresses/ports:
[info] IPv4: 127.0.0.1:6669, *:6667, *:6697(TLS)
[info] IPv6: *:6667, *:6697(TLS)
[info] UnrealIRCd started.
Looks now everything is working. :D
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

I would like to take this opportunity to thank the helpers for setting up unrealircd.

In particular to:

@Valware
@CrazyCat
@syzop

Thanks again! :D

//off topic
Post Reply