Yup, all that is done now.  What I was trying to get at was that “something” didn’t get setup right through the make process, as I was getting this error went setting up the DB:

[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

I re-did the make modules and install (same commands – no changes), and it apparently resolved the “shell sourcing” issue with locate_tool() ....

Thanks Daniel for the reply.


On 1/2/10 4:28 AM, "Daniel-Constantin Mierla" <miconda@gmail.com> wrote:

Hello,

On 1/1/10 8:28 AM, Graham Wooden wrote:
Re: [Kamailio-Users] New install woes - 1.5.3 w/ mysql This issue is solved ...
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..
 
with kamdbctl you can create the database. Then with kamctl you can create users.

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.

Cheers,
Daniel


On 12/31/09 11:03 PM, "Graham Wooden" <graham@g-rock.net> wrote:
 
  
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
 
 
 

_______________________________________________
Kamailio (OpenSER) - Users mailing list
 Users@lists.kamailio.org
 http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
 http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
 



_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users