Home Forums HAast (High Availability for Asterisk) Installation & Upgrade Problem starting Asterisk on SystemD+Initd system Reply To: Problem starting Asterisk on SystemD+Initd system

Avatar photoTelium Support Group
Participant
Post count: 262

Given the growing popularity of SystemD (most new Linux distros use it), as of version 2.3.1.15 HAAst changed how it interacts with system services. HAAst now uses SystemD as the default.

More specifically, if HAAst detects that a PBX’s Linux uses SystemD, then it will start and stop services using systemctl. If the PBX’s Linux does not uses SystemD, then HAAst will start and stop services using initd scripts.

If you find that this change broke your system, then the simplest solution is to create a SystemD service file for Asterisk on your system, and remove/rename the initd script for Asterisk (after disabling the Asterisk initd service). Have a look at this topic https://telium.io/search/Can%5C%27t+start+Asterisk+exit+code+158/ for an example asterisk.service file.

  • This reply was modified 4 years, 6 months ago by WebMaster.