Vicibox 9.0.3 - Asterisk didn't start on boot

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicibox 9.0.3 - Asterisk didn't start on boot

Postby mjohn425 » Thu Jan 14, 2021 6:19 pm

Hi Guys,

Rookie question here, had asterisk not boot automatically this morning (system has been running fine for 6+ months). Not much information in journalctl, is there a better place to look for more indepth information? Service started fine when I manually ran service asterisk start and service vicidial start.

Jan 15 03:43:14 HOSTNAME systemd[1]: vicidial.service: Start operation timed out. Terminating.
Jan 15 03:43:14 HOSTNAME vicidial[1607]: Starting Asterisk...
Jan 15 03:43:14 HOSTNAME systemd[1]: Failed to start LSB: ViciDial Telephony Server.
Jan 15 03:43:14 HOSTNAME systemd[1]: vicidial.service: Unit entered failed state.
Jan 15 03:43:14 HOSTNAME systemd[1]: vicidial.service: Failed with result 'timeout'.

Vicibox 9.0.3
Asterisk 13.34.0-vici
VERSION: 2.14-760a
BUILD: 200701-1525
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
mjohn425
 
Posts: 51
Joined: Tue Jan 21, 2020 1:20 am

Re: Vicibox 9.0.3 - Asterisk didn't start on boot

Postby williamconley » Thu Jan 14, 2021 6:38 pm

1) Do not start asterisk as a service. That will run asterisk outside Vicidial's control in the "asterisk" screen.

Test with:

Code: Select all
screen -r asterisk


If that fails, then asterisk is not in the expected Vicidial Screen and under Vicidial's control (and it does need to be). Stop the service and follow the instructions below for auto-start in case of failure.

2) Set the server to auto-start asterisk if it fails in Admin->Servers. This may be delayed if asterisk fails on boot, but it may start it a few minutes later and you may never notice.

3) Asterisk has its own logs. There may be information in the asterisk logs folder or even in the astguiclient log folder, although I don't think so.

4) If you've been running Vicidial for a long time and have made millions of calls, it may be a good idea to go through your asterisk modules and "noload" those you do not need. Especially the sqlite and cdrdb modules.

Happy Hunting! 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: AdsBot [Google], Google [Bot] and 104 guests