[SR-Users] error in kamctlrc line 13 not sure of "CHROOTED DIRECTORY"

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 7 09:09:43 CEST 2015


Hello,

On 06/07/15 04:08, Joseph Zimmer wrote:
>    Sorry, this is my problem:
>
> have included the kamctlrc, kamailio.cfg, and modus.lst files if that
> helps,
>
> run create command, not sure of path for chrooted directory in
> kamctlrc file so I have not been able to create my initial database. I
> know that is holding up creation of MySQL database. can you assist,
> sent contribution to this email address, could not find any other.
> thanks in advance, joe zimmer +1 703-957-0186 USA
>
> root at telephonepros:~# /usr/local/sbin/kamdbctl create
>
> /usr/local/etc/kamailio//kamctlrc: line 13:
> =/path/to/chrooted/directory: No such file or directory
> MySQL password for root:
> INFO: test server charset
> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 105: mysql:
> command not found
> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 106: mysql:
> command not found
> Usage: grep [OPTION]... PATTERN [FILE]...
> Try 'grep --help' for more information.
> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 112: [: =: unary
> operator expected
> INFO: creating database kamailio ...
> /usr/local/lib/kamailio//kamctl/kamdbctl.mysql: line 71: mysql:
> command not found
> ERROR: Creating database kamailio failed!
> root at telephonepros:~#
>

as the messages say, you don't have mysql installed -- install mysql
client (and server eventually) package.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com




More information about the sr-users mailing list