Hello

 

I am having problems to start kamailio 4.1.3 on a fresh centos 6.5 install with Asterisk 11.9 following the tutorial. Everything has gone well except that I cannot start kamailio. Basically I have two problems.

 

The message that I got from the console when I try to start is

 

[root@gt-ev-i08 kamailio-4.1.3]# kamctl start

 

INFO: Starting Kamailio :

 

ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed

 

 

 

An when I look at the error messages in var/log/messages I see the following errors.

 

 

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: syntax error

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: bad command: missing ';'?

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 839, column 18: bad command

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: syntax error

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: missing '(' or ')' ?

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 6: bad command: missing ';'?

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 16: '('')' expected (function call)

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 16: bad command: missing ';'?

Jun 11 18:29:21 gt-ev-i08 kamailio: : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 856, column 18: bad command

 

I did not touch that section of the kamailio.cfg file. I am really lost now. Hopefully someone can help.

 

Thanks

Carlos