Open mkmer opened 3 months ago
Can you run the asterisk core dumper to get us more information?
sudo /var/lib/asterisk/scripts/ast_coredumper /core
I am assuming that the core file is in the root directory.
It will place several files in the /tmp directory.
I'm getting "no valid core dump" - I do have a core file in /
, but it has a Jun 19 date.
There is also a core file in /var/lib/asterisk/
which has an Aug 19 date... same error when I run the command pointed there.
Examining /core
Does appear to be an asterisk coredump
Coredump indicates executable '/usr/sbin/asterisk'
Searching for asterisk module directory
Can't extract asterisk module directory.
Either the executable '/usr/sbin/asterisk' has no symbols
or it's changed since the coredump was generated.
Either way we can't use it. If you still have the
binary that created this coredump, or can recreate
the binary from the exact same code base and exact same
options that were used to to create the binary that generated
this coredump, specify its location with the
--asterisk-bin option.
No valid coredumps found
After some internal discussions, I need for you to install the following packages.
sudo apt install asl3-asterisk-dbgsym asl3-asterisk-modules-dbgsym
Once these are installed, please run the ast_coredumper again.
core-asterisk-2024-08-19T11-26-23Z-thread1.txt core-asterisk-2024-08-19T11-26-23Z-locks.txt core-asterisk-2024-08-19T11-26-23Z-info.txt core-asterisk-2024-08-19T11-26-23Z-full.txt core-asterisk-2024-08-19T11-26-23Z-brief.txt
Worked like a charm :) Hopefully it's useful.
Additional info: After I rebooted the machine, it worked fine. We were up for ~30 days when things went funky.
Can you tell me what was happening at the time of the crash?
A remote node was attempting to "dial" in to 29972. When the connection was "established" the errors posted above were dumped. It appeared that asterisk restarted, and repeater started working again until the node attempted to dial in (again). It was "stuck" in this mode until I rebooted the machine. I did not try restarting the service (although I thought it was restarting automagically). After the reboot, it returned to "normal" operation and the remote node could dial in and link up fine.
Thank you. Can anyone dial into your node? Or does it crash each time.
After the reboot, dial in is back to "normal". Before rebooting, it crashed every time. We were at ~30 days of run time on the server. It was also working "fine" on day 29.
I've been gettting these frequently on an up to date pi3.
I am running two nodes on one pi: A hub with duplex=1, 'radio' (usb) in duplex=0 mode. Radio node connected to hub node locally.
Uptime doesn't seem to matter. I'll walk away for 5 minutes and stuff is no longer 'repeating'. Hmm
astres.sh allows things to work again
Can you describe "no longer repeating"?
Can you attach your /var/log/asterisk/messages.log file.
Stop repeating: asterisk restarted during which the repeater stopped repeating (people were talking on it at the time). As my node was set to permanent connection, it kept trying to connect and the repeater side asterisk kept restarting. If took a full machine reboot to "fix" it. My guess would be a memory leak, but it didn't think to check memory before rebooting.
I'm on a 2 week trip, so it will be a bit before I can search for the log. If we still have it I will attach it when I return home.
I suspect it will happen again after 30 days or so, so if we have a list of things you need, I'll try to grab them before rebooting :)
For me, the connected nodes would no longer key up anything or pass audio.
I have attached a snippet of my messages.log
It looks similar to mkmer's messages.log
I want to be careful here - we have two different people reporting what may be two different problems. I will look and see what I can discover.
I think my (reported) problem is different. When a connection was made to the repeater, asterisk restarted, any connection caused it to restart. The resolution was to reboot and everything went back to normal. We have never noticed problems with established connections.
Asterisk 20.9.1+asl3-3.0.4-1.deb12