<HTML>
<HEAD>
<TITLE>Re: [Kamailio-Users] New install woes - 1.5.3 w/ mysql</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>This issue is solved ...<BR>
I went ahead and blew everything away and re-did the “makes” – and it’s working now. Not sure what to make of it at this point..<BR>
<BR>
<BR>
<BR>
On 12/31/09 11:03 PM, "Graham Wooden" <<a href="graham@g-rock.net">graham@g-rock.net</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
<BR>
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.<BR>
<BR>
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?<BR>
<BR>
[root@misfits kamailio]# kamctl start<BR>
database engine 'MYSQL' loaded<BR>
Control engine 'FIFO' loaded<BR>
<BR>
INFO: Starting Kamailio : <BR>
INFO: started (pid: 9006)<BR>
<BR>
[root@misfits kamailio]# kamdbctl create<BR>
/usr/local/lib/kamailio/kamctl/kamdbctl.mysql: line 25: locate_tool: command not found<BR>
error: 'mysql' tool not found: set MYSQL variable to correct tool path<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Kamailio (OpenSER) - Users mailing list<BR>
<a href="Users@lists.kamailio.org">Users@lists.kamailio.org</a><BR>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><BR>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>