Page 1 of 1

Unexplained shutdown of unrealircd 4.2.4

Posted: Sat May 30, 2020 4:14 pm
by Suratka
Hi, I hope it's the right place for my problem.
I have three unrealircd 4.2.4 servers linked on three different vps. The first central server where it is connected with Anope services, occasionally stops. Lately it happens to me often and I can't understand why. When I restart it via ssh, I am not shown any suspicious shutdown warning and it does not give me the opportunity to send a report in order to identify the problem. Can I know how do I send the report or identify the error and then send it in the traditional way ???

Re: Unexplained shutdown of unrealircd 4.2.4

Posted: Sat May 30, 2020 4:21 pm
by Syzop
In some cases no core dump is created. These are rare cases though, such as: out of memory or other limits imposed by the system administrator.

Often the kernel will log such a fatal signal, so you can still see some message about unrealircd in /var/log/messages or /var/log/messages.1

Re: Unexplained shutdown of unrealircd 4.2.4

Posted: Sat May 30, 2020 4:43 pm
by k4be
Also the "./unrealircd backtrace" can give information even when the automatic report is not triggered (but it needs the core file to be created). If it's not, you can use the gdb program directly on your process. This would need certain skills however.

Re: Unexplained shutdown of unrealircd 4.2.4

Posted: Sat May 30, 2020 5:00 pm
by Suratka
there is not "message" or "message1" file in the var / log folder.

Code: Select all

server@vps738288:~/unrealircd$ ./unrealircd backtrace
Core files available:
ls: cannot access '*core*': No such file or directory
No core files found... Nothing to do

If you are sure UnrealIRCd crashed, then verify that unreal
has permission to dump core (type "ulimit -c unlimited" and see
if you get permission denied errors). Also verify that you did
not run out of quota.
If all that is ok, then it might be that UnrealIRCd did not crash but
got killed by the OS (eg: cpu/mem resource limits), the syadmin,
or an automated process.
server@vps738288:~/unrealircd$ If you are sure UnrealIRCd crashed, then verify that unreal
server@vps738288:~/unrealircd$ ulimit -c unlimited
server@vps738288:~/unrealircd$

Re: Unexplained shutdown of unrealircd 4.2.4

Posted: Sat May 30, 2020 9:16 pm
by Lord255
hi.
syzop said /var/log/messages, not message.
but this depends on your system, you should just look around in /var/log/

logs can be like:
syslog
messages
dmesg

try to search something there.

one more thing to add:
try: https://www.unrealircd.org/docs/Snomasks
add +ej for yourself (/mode <yournick> +s +ej)) and you might see more stuff. (make sure you connected to the affected server)

in the mean time: usually 3rd party modules causing such things, try to disable them all and enable them one by one, so you are narrowing down the things. :)
also a note: unreal5 is out for a longer time now, did you plan to upgrade?

gl

Re: Unexplained shutdown of unrealircd 4.2.4

Posted: Sun May 31, 2020 12:56 pm
by Suratka
recently I started to understand unrealircd4 and pssare at 5 would be a trauma for me that I am not an expert, but I do things mechanically. But I think it's an obligation to post at 5, given that support is suspended in December.