[SR-Users] Weird config parsing issues - 5.4

Noah Mehl noahmehl at gmail.com
Thu Aug 20 17:46:50 CEST 2020


All,

I have built branch 5.4 from source, and I’m working with the default config.  However, from time to time I get this error when launching kamailio:

root at inbound-kamailio-test-02:~# /usr/local/sbin/kamailio -P /run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -E
 0(1296) CRITICAL: <core> [core/cfg.y:3588]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 30-34: syntax error
 0(1296) CRITICAL: <core> [core/cfg.y:3588]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 30-34: Invalid arguments
 0(1296) CRITICAL: <core> [core/cfg.y:3591]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 410, column 35: 
ERROR: bad config file (3 errors)
 0(1296) ERROR: <core> [core/ppcfg.c:234]: pp_ifdef_level_error(): different number of preprocessor directives: 1 more #!if[n]def as #!endif

However, if I run a “make install” from the source directory, this error goes away.  Has anyone run into this issue before?

Configs attached.

Thanks!

~Noah


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 25982 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200820/7592dcf7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio-local.cfg
Type: application/octet-stream
Size: 122 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200820/7592dcf7/attachment-0001.obj>


More information about the sr-users mailing list