Page 1 of 1

error: Alarm clock

Posted: Tue Jun 06, 2023 4:27 am
by abah
hy I don't understand what this means

Code: Select all

line 340:  2461 Alarm clock             $UNREALIRCDCTL $*

Re: error

Posted: Tue Jun 06, 2023 1:03 pm
by Valware
Please can you provide some more context? For example, what command did you run, and what was the rest of the output?

Re: error

Posted: Wed Jun 07, 2023 3:53 am
by abah
Valware wrote: Tue Jun 06, 2023 1:03 pm Please can you provide some more context? For example, what command did you run, and what was the rest of the output?
i rehashed unrealircd and it did nothing

Re: error

Posted: Wed Jun 07, 2023 10:45 am
by Valware
It's difficult, but based on that information alone, I think you may have skipped the very first step in installing UnrealIRCd - the prerequisites

Re: error

Posted: Wed Jun 07, 2023 11:16 am
by Syzop
i rehashed unrealircd and it did nothing
So you run "./unrealircd rehash" and then you have this error, right? The short answer is that it means the server took too long to respond to (finish the) rehash. Longer than 20 seconds, which is rather unusual. I have not heard of someone else having this problem before.

Is your IRC server otherwise running fine? Can users connect, can you become oper and do things, join channels, etc ?

As an IRCOp, can you issue the /REHASH command on IRC? Does that work OK? How many seconds does it take for the REHASH to succeed?

Re: error

Posted: Thu Jun 08, 2023 10:36 am
by abah
Syzop wrote: Wed Jun 07, 2023 11:16 am
i rehashed unrealircd and it did nothing
So you run "./unrealircd rehash" and then you have this error, right? The short answer is that it means the server took too long to respond to (finish the) rehash. Longer than 20 seconds, which is rather unusual. I have not heard of someone else having this problem before.

Is your IRC server otherwise running fine? Can users connect, can you become oper and do things, join channels, etc ?

As an IRCOp, can you issue the /REHASH command on IRC? Does that work OK? How many seconds does it take for the REHASH to succeed?
if i /rehash when it becomes ircop it works and no problem but when rehash inside unrealircd with ./unrealircd new rehash there is that error

Re: error: Alarm clock

Posted: Mon Jun 12, 2023 5:21 pm
by Syzop
And how how many seconds does it take to REHASH on IRC?

Re: error: Alarm clock

Posted: Tue Jun 13, 2023 10:47 am
by abah
Syzop wrote: Mon Jun 12, 2023 5:21 pm And how how many seconds does it take to REHASH on IRC?
8 sec

Re: error: Alarm clock

Posted: Wed Jun 14, 2023 12:46 pm
by Syzop
Yeah that's rather long, the ./unrealircd rehash command gives up after 10 seconds.

Any idea why it is so slow? Is it a slow machine or do you use remote includes from a slow server or something?

I have only had this when debugging with gdb myself, if i also had AddressSanitizer enabled (last question during ./Config). I presume you said "No" to that ./Config question... which is good.

Re: error: Alarm clock

Posted: Thu Jun 15, 2023 7:41 am
by abah
Syzop wrote: Wed Jun 14, 2023 12:46 pm Yeah that's rather long, the ./unrealircd rehash command gives up after 10 seconds.

Any idea why it is so slow? Is it a slow machine or do you use remote includes from a slow server or something?

I have only had this when debugging with gdb myself, if i also had AddressSanitizer enabled (last question during ./Config). I presume you said "No" to that ./Config question... which is good.
while ./config does nothing and lets it do its job

Re: error: Alarm clock

Posted: Fri Jun 16, 2023 5:01 pm
by CrazyCat
./Config asks you some things if you want to override the default settings. You can't do nothing :)