[SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
Kaufman
bkaufman at bcmone.com
Tue Aug 2 23:33:03 CEST 2022
I believe you also need to:
apk add kamailio-mysql
Kaufman
Sr. VoIP Engineer - BCM One
+1.612.735.9309
bkaufman at bcmone.com<mailto:bkaufman at bcmone.com>
24 hour client support: +1.855.639.6300
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Henning Westerholt
Sent: Monday, August 1, 2022 8:35 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Cc: p.t.crossley at gmail.com
Subject: Re: [SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
Hello,
indeed the package seems not to contain anything related to db_mysql or other SQL databases. Maybe somebody that knows more details can comment, it could be just not included there.
https://pkgs.alpinelinux.org/contents?repo=main&page=1&arch=x86_64&branch=edge&name=kamailio<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpkgs.alpinelinux.org%2Fcontents%3Frepo%3Dmain%26page%3D1%26arch%3Dx86_64%26branch%3Dedge%26name%3Dkamailio&data=05%7C01%7Cbkaufman%40bcmone.com%7Cc102b7573883486b06bb08da73c2c2b9%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7C637949577588380431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JNA85YOtJYGrYkkoo%2BjYKLBc9EZR%2BboO%2F%2F1Hietk6gw%3D&reserved=0>
Maybe you can just try the official Debian or Ubuntu packages from deb.kamailio.org, they should work.
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskalatan.de%2Fblog%2F&data=05%7C01%7Cbkaufman%40bcmone.com%7Cc102b7573883486b06bb08da73c2c2b9%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7C637949577588380431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gQKR6PXElER8s8Q%2BJ1WVEWX4eqNkt4XrWMk1pAVVrCE%3D&reserved=0>
Kamailio services - https://gilawa.com<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgilawa.com%2F&data=05%7C01%7Cbkaufman%40bcmone.com%7Cc102b7573883486b06bb08da73c2c2b9%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7C637949577588380431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4BJnEX5zGWKpia9rOGneU1mDOU6xYT9%2Fj60ck2nPOF4%3D&reserved=0>
From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of p.t.crossley at gmail.com<mailto:p.t.crossley at gmail.com>
Sent: Thursday, July 28, 2022 1:31 PM
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Subject: [SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
I suspect this must have been addressed before but I couldn't find a way of searching Archives.
I'm using Alpine Linux.
Used "apk add kamailio" to install Kamailio 5.5.4-r1
Following the Instructions on https://kamailio.org/docs/tutorials/5.5.x/kamailio-install-guide-git/<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkamailio.org%2Fdocs%2Ftutorials%2F5.5.x%2Fkamailio-install-guide-git%2F&data=05%7C01%7Cbkaufman%40bcmone.com%7Cc102b7573883486b06bb08da73c2c2b9%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7C637949577588380431%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wNmOtBazGJ0lsAF6Y6eBtdiyk7rvWNMaLL4ILWKji4M%3D&reserved=0>
At the section for "Creating MySQL database" I modify the file and then run
kamdbctl create
ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'
I checked the /usr/lib/kamailio//kamctl/ directory and the file wasn't there
I suspect I'm missing a module but there aren't any other packages listed for Kamailio at pkgs.alpinelinux.org
Thanks for your help
P Crossley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220802/467d7999/attachment.htm>
More information about the sr-users
mailing list