[SR-Users] syntax error and invalid arguments when trying to start Kamailio

Klaus Darilion klaus.mailinglists at pernau.at
Mon Oct 21 10:16:05 CEST 2013


1. you should tell us which line exactly is line 356.
2. Maybe DBURL or MULTIDOMAIN are not defined.

regards
Klaus

On 19.10.2013 23:27, Cory Sanders wrote:
> Sorry if this is a duplicate email.  First one bounced.
>
>
> "I am having trouble starting Kamailio.  Please see below for the error
> output and the content of /usr/local/etc/kamailio/kamailio.cfg at the lines
> noted in the error.  Following instrucions at
> http://www.kamailio.org/wiki/install/4.0.x/git
>
> root at proxy:/etc/default# /etc/init.d/kamailio start
> Not starting Kamailio: invalid configuration file!
> -e
> 0(15561) : <core> [cfg.y:3567]: yyerror_at(): parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 356, column 30-34: syntax error
> 0(15561) : <core> [cfg.y:3567]: yyerror_at(): parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 356, column 30-34: Invalid
> arguments
> 0(15561) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file
> /usr/local/etc/kamailio/kamailio.cfg, line 356, column 35:
> ERROR: bad config file (3 errors)
>
>
>
>
> # ----- usrloc params -----
> /* enable DB persistency for location entries */
> #!ifdef WITH_USRLOCDB
> modparam("usrloc", "db_url", DBURL)
> modparam("usrloc", "db_mode", 2)
> modparam("usrloc", "use_domain", MULTIDOMAIN)
> #!endif
>
>
> Thanks."
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list