Cannot start astrisk

Hi,
I just installed asterisk but I can’t start it.
When I run the command service asterisk start, here is the message that appears:

/etc/init.d/asterisk: line 42: /etc/rc.d/init.d/functions: No such file or directory

Please kindly help me
Jean

Which asterisk version ? Which OS ?

Hi, I use
Asterisk 20.0.0
Centos 9 stream

There are also systemd scripts. That said, you should describe what you have installed.

Hi, I’m install

  • first required packages:

epel-release
dmidecode
gcc-c++
ncurses-devel
libxml2-devel
make
wget
openssl-devel
newt-devel
kernel-devel
sqlite-devel
libuuid-devel
gtk2-devel
jansson-devel
binutils-devel
libedit
libedit-devel

-second: PJSIP 2.12.1
-third: asterisk 20.0.0

Hi,
Problem solved. I just installed package initscripts and all things going now.
Thanks to all.
Jean

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.