Hi all,
Apparently I am missing something fundamentally here; trying to get mysql functions working with the kamdbctl command, but it seems that while it locates the kamdbctl.mysql file, it can’t locate/use the the locate_tool() function from the ‘kamctl.base’ (which is called at the top of kamdbctl.mysql). I have been going back through trunk/INSTALL file and not seeing anything that is standing out. Neither when I “strace” the ‘kamdbctl create’ command. But seems that my environment is missing something. I don’t recall such issues with my production 1.4.2 machine.
It’s a fresh install CentOS 5.4 with most items (e.g. mysql server/client) installed via the standard yum repo’s. I tried 1.5.3 from both building it from source as as well as the linux/i386 binary set. Still the same results. Thoughts?
[root@misfits kamailio]# kamctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
INFO: Starting Kamailio :
INFO: started (pid: 9006)
[root@misfits kamailio]# kamdbctl create
/usr/local/lib/kamailio/kamctl/kamdbctl.mysql: line 25: locate_tool: command not found
error: 'mysql' tool not found: set MYSQL variable to correct tool path