Hello,
by default Debian is using systemd, so you have to skip initd script
install and do the steps for systemd unit:
*
https://kamailio.org/docs/tutorials/5.4.x/kamailio-install-guide-git/#runni…
Cheers,
Daniel
On Thu, Jan 21, 2021 at 8:16 AM Jewna <jewna2(a)gmail.com> wrote:
I'm having a problem installing kamailio 5.4 using
the following guide
https://kamailio.org/docs/tutorials/5.4.x/kamailio-install-guide-git/ .
I have a debian 10.7 machine where I install default-mysql-server package
for the database. After that I follow the install guide and everything goes
smoothly until I have to install the init.d scripts.
1. I do "cd /usr/local/src/kamailio-5.4/kamailio'
2. I do "make install-initd-debian"
Then make fails with the following error
"
root@kamServ:/usr/local/src/kamailio-5.4/kamailio# make
install-initd-debian
make -C src/ install-initd-debian
make[1]: Entering directory '/usr/local/src/kamailio-5.4/kamailio/src'
sed -e "s#DAEMON=/usr/sbin/kamailio#DAEMON=/usr/local/sbin/kamailio#g" \
-e "s#NAME=kamailio#NAME=kamailio#g" \
-e "s#DESC=Kamailio#DESC=kamailio#g" \
-e "s#HOMEDIR=/run/kamailio#HOMEDIR=/run/kamailio#g" \
-e "s#DEFAULTS=/etc/default/kamailio#DEFAULTS=/etc/default/kamailio#g" \
-e
"s#CFGFILE=/etc/kamailio/kamailio.cfg#CFGFILE=/usr/local/etc/kamailio/kamailio.cfg#g"
\
< pkg/kamailio/deb/debian/kamailio.init \
/etc/init.d/kamailio
/bin/sh: 1: cannot
open pkg/kamailio/deb/debian/kamailio.init: No such file
make[1]: *** [Makefile:982: install-initd-debian] Error 2
make[1]: Leaving directory '/usr/local/src/kamailio-5.4/kamailio/src'
make: *** [Makefile:34: install-initd-debian] Error 2
"
Am I doing something wrong? Possibly in the wrong directory? If you need
any more information please don't hesitate to ask.
Sincerely,
Matthew Sherwood
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
https://www.asipto.com
https://twitter.com/miconda -
https://www.linkedin.com/in/miconda
Kamailio Advanced Training -
https://www.asipto.com/u/kat