Re: Asterisk Error


Steve KC1AWV
 

Ok, sorry I was thinking along the systemd lines. Run this instead

tail -n50 /var/log/asterisk/messages

That will show the actual error. The journal logs are just showing the restarts that systemd is doing 

On Tue, Mar 26, 2019, 9:06 PM K4VL <73dek4vl@...> wrote:
On Tue, Mar 26, 2019 at 12:23 PM, Steve KC1AWV wrote:
journalctl -u asterisk.service --since today
 
This is what it does every ten minutes it seams. I have no idea what this means.

-- Logs begin at Mon 2019-03-25 09:17:01 CDT, end at Tue 2019-03-26 20:04:48 CDT. --
Mar 26 17:46:39 repeater systemd[1]: asterisk.service: Service hold-off time over, scheduling restart.
Mar 26 17:46:39 repeater systemd[1]: Stopped Asterisk PBX and telephony daemon.
Mar 26 17:46:39 repeater systemd[1]: Started Asterisk PBX and telephony daemon.
Mar 26 17:46:39 repeater systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 17:46:39 repeater systemd[1]: asterisk.service: Control process exited, code=exited status=1
Mar 26 17:46:39 repeater systemd[1]: asterisk.service: Unit entered failed state.
Mar 26 17:46:39 repeater systemd[1]: asterisk.service: Failed with result 'exit-code'.
Mar 26 17:46:49 repeater systemd[1]: asterisk.service: Service hold-off time over, scheduling restart.
Mar 26 17:46:49 repeater systemd[1]: Stopped Asterisk PBX and telephony daemon.
Mar 26 17:46:49 repeater systemd[1]: Started Asterisk PBX and telephony daemon.
Mar 26 17:46:49 repeater systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 17:46:49 repeater systemd[1]: asterisk.service: Control process exited, code=exited status=1
Mar 26 17:46:49 repeater systemd[1]: asterisk.service: Unit entered failed state.
Mar 26 17:46:49 repeater systemd[1]: asterisk.service: Failed with result 'exit-code'.
Mar 26 17:46:59 repeater systemd[1]: asterisk.service: Service hold-off time over, scheduling restart.
Mar 26 17:46:59 repeater systemd[1]: Stopped Asterisk PBX and telephony daemon.
Mar 26 17:46:59 repeater systemd[1]: Started Asterisk PBX and telephony daemon.
Mar 26 17:46:59 repeater systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 17:46:59 repeater systemd[1]: asterisk.service: Control process exited, code=exited status=1
Mar 26 17:46:59 repeater systemd[1]: asterisk.service: Unit entered failed state.
Mar 26 17:46:59 repeater systemd[1]: asterisk.service: Failed with result 'exit-code'.
Mar 26 17:47:10 repeater systemd[1]: asterisk.service: Service hold-off time over, scheduling restart.
Mar 26 17:47:10 repeater systemd[1]: Stopped Asterisk PBX and telephony daemon.
Mar 26 17:47:10 repeater systemd[1]: Started Asterisk PBX and telephony daemon.
Mar 26 17:47:10 repeater systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 17:47:10 repeater systemd[1]: asterisk.service: Control process exited, code=exited status=1
Mar 26 17:47:10 repeater systemd[1]: asterisk.service: Unit entered failed state.
Mar 26 17:47:10 repeater systemd[1]: asterisk.service: Failed with result 'exit-code'.
Mar 26 17:47:20 repeater systemd[1]: asterisk.service: Service hold-off time over, scheduling restart.
Mar 26 17:47:20 repeater systemd[1]: Stopped Asterisk PBX and telephony daemon.
Mar 26 17:47:20 repeater systemd[1]: Started Asterisk PBX and telephony daemon.
Mar 26 17:47:20 repeater systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 17:47:20 repeater systemd[1]: asterisk.service: Control process exited, code=exited status=1

Join main@DVSwitch.groups.io to automatically receive all group messages.