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@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@telephonepros:~#
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@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@telephonepros:~#
as the messages say, you don't have mysql installed -- install mysql client (and server eventually) package.
Cheers, Daniel