[sr-dev] out of pkg memory is not reported

Juha Heinanen jh at tutpro.com
Mon Apr 30 22:44:24 CEST 2012


i started sr on amd64 architecture and it didn't start with exactly same
configuration file that works ok on i386 architecture.  syslog got these
error messages:

Not starting sip-proxy: invalid configuration file!

0(11601) : <core> [cfg.y:3591]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 18-22: internal error: failed to create rval expr
 0(11601) : <core> [cfg.y:3591]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 18-22: '('')' expected (function call)
 0(11601) : <core> [cfg.y:3591]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 18-22: internal error: failed to create rval expr
 0(11601) : <core> [cfg.y:3594]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 28: bad expression
 0(11601) : <core> [cfg.y:3594]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 28: invalid  route  statement
 0(11601) : <core> [cfg.y:3594]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 4918, column 31: 
ERROR: bad config file (6 errors)

sr started fine then i increased the amount of pkg memory, i.e., there
was no syntax error in the config.

this is pretty confusing for new users.  it would good if the real
reason for the failure would be reported.


-- juha



More information about the sr-dev mailing list