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

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/