Hello,

even if you didn't change that line of config, something before can impact it, like #ifdef or IF conditions, missing or extra {, }, (, ).

Maybe you can give the diff against the default config file and we can spot what is the issue. Otherwise, give here the content of the lines pointed by the error messages.

Cheers,
Daniel

On 12/06/14 00:49, Carlos Rangel wrote:

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



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda