<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'><BR>
The &#8220;Not sure what to make of it at this point..&#8221; was because I didn&#8217;t understand why the second time around with the &#8220;makes&#8221; would fix the locate_tool() issue, not how to use kamailio ;-).<BR>
<BR>
Thanks,<BR>
<BR>
-graham<BR>
&nbsp;<BR>
<BR>
<BR>
On 1/2/10 4:28 AM, &quot;Daniel-Constantin Mierla&quot; &lt;<a href="miconda@gmail.com">miconda@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
On 1/1/10 8:28 AM, Graham Wooden wrote: <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> Re: [Kamailio-Users] New install woes - 1.5.3 w/ mysql This issue is solved ...<BR>
I went ahead and blew everything away and re-did the &#8220;makes&#8221; &#8211; and it&#8217;s working now. Not sure what to make of it at this point..<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>with kamdbctl you can create the database. Then with kamctl you can create users.<BR>
<BR>
Enable authentication and user location in the default config (see top of the file), setup some phones, start kamailio and call between phones. It is easy.<BR>
<BR>
Cheers,<BR>
Daniel<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
&nbsp;<BR>
&nbsp;<BR>
On 12/31/09 11:03 PM, &quot;Graham Wooden&quot; &lt;<a href="graham@g-rock.net">graham@g-rock.net</a>&gt; wrote:<BR>
&nbsp;<BR>
&nbsp;&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
&nbsp;<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&#8217;t locate/use the the locate_tool() function from the &#8216;kamctl.base&#8217; (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 &#8220;strace&#8221; the &#8216;kamdbctl create&#8217; command. &nbsp;But seems that my environment is missing something. &nbsp;I don&#8217;t recall such issues with my production 1.4.2 machine.<BR>
&nbsp;<BR>
It&#8217;s a fresh install CentOS 5.4 with most items (e.g. mysql server/client) installed via the standard yum repo&#8217;s. &nbsp;I tried 1.5.3 from both building it from source as as well as the linux/i386 binary set. &nbsp;Still the same results. &nbsp;Thoughts?<BR>
&nbsp;<BR>
[root@misfits kamailio]# kamctl start<BR>
database engine 'MYSQL' loaded<BR>
Control engine 'FIFO' loaded<BR>
&nbsp;<BR>
INFO: Starting Kamailio : <BR>
INFO: started (pid: 9006)<BR>
&nbsp;<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>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<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>
&nbsp;<a href="Users@lists.kamailio.org">Users@lists.kamailio.org</a><BR>
&nbsp;<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><BR>
&nbsp;<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><BR>
&nbsp;<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
<BR>
_______________________________________________<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></BLOCKQUOTE></BLOCKQUOTE>
</BODY>
</HTML>