``` 0(15850) ERROR: db_mysql [km_my_con.c:163]: db_mysql_new_connection(): driver error: SSL connection error: unknown error number 0(15850) ERROR: <core> [db.c:319]: db_do_init2(): could not add connection to the pool 0(15850) ERROR: usrloc [dlist.c:646]: register_udomain(): failed to open database connection 0(15850) ERROR: registrar [registrar.c:707]: domain_fixup(): failed to register domain 0(15850) ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio.cfg:660 0(15850) ERROR: <core> [core/rvalue.c:3868]: fix_rval_expr(): failure in cfg at line: 660 col: 22 0(15850) ERROR: <core> [core/rvalue.c:3868]: fix_rval_expr(): failure in cfg at line: 660 col: 22 0(15850) ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio.cfg:663 ```
Installed: ``` dpkg -l | awk '/kam/ { print $2 " " $3 }' kamailio 5.3.5+ubuntu18.04 kamailio-mysql-modules:amd64 5.3.5+ubuntu18.04 ```
OS: ``` lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal ```
SSL: ``` /usr/bin/openssl version OpenSSL 1.1.1f 31 Mar 2020 ```
The error comes from mysql library. As I can see you installed the kamailio 5.3.5+ubuntu18.04 on an ubuntu 20.04, so very likely it is a mismatch with what library is used for building the packages and what is available on the system.
Try to compile from sources and see what you get. Or use the Ubuntu 20.04 packages for Kamailio 5.4.0.
If still an issue after using the packages build for your distro, open a new issue with the new data collected. I am closing this one being a mismatch between the package and distro versions.
Closed #2427.