[OpenSIPS-Devel] [ opensips-Bugs-3534375 ] dns_cache :: can't set blacklist_timeout parameter
SourceForge.net
noreply at sourceforge.net
Mon Jun 11 21:07:00 CEST 2012
Bugs item #3534375, was opened at 2012-06-11 09:52
Message generated for change (Comment added) made by denodaeus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3534375&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: dns_cache :: can't set blacklist_timeout parameter
Initial Comment:
1.8 branch R9062
Jun 11 16:50:36 [19224] ERROR:core:set_mod_param_regex: parameter <blacklist_timeout> not found in module <dns_cache>
Jun 11 16:50:36 [19224] CRITICAL:core:yyerror: parse error in config file /usr/local/opensips/etc/opensips/opensips.cfg, line 95, column 19-20: Parameter <blacklist_timeout> not found in module <dns_cache> - can't set
Jun 11 16:50:36 [19224] ERROR:core:main: bad config file (1 errors)
----------------------------------------------------------------------
Comment By: Robert Smith (denodaeus)
Date: 2012-06-11 12:07
Message:
Yep that worked, thanks!
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-06-11 12:02
Message:
It seems to be an error in docs - the blacklist_timeout param is an
integer, not a string, so try :
modparam("dns_cache", "blacklist_timeout", 7200); # 2 hours
Regards,
Bogdan
----------------------------------------------------------------------
Comment By: Robert Smith (denodaeus)
Date: 2012-06-11 11:55
Message:
modparam("dns_cache", "cachedb_url","local://");
modparam("dns_cache", "blacklist_timeout","7200"); # 2 hours
And from the logs:
Jun 11 18:54:24 [575] DBG:core:set_mod_param_regex: found <db_url> in
module load_balancer [/usr/local/opensips//lib64/opensips/modules/]
Jun 11 18:54:24 [575] DBG:core:set_mod_param_regex: dns_cache matches
module dns_cache
Jun 11 18:54:24 [575] DBG:core:set_mod_param_regex: found <cachedb_url> in
module dns_cache [/usr/local/opensips//lib64/opensips/modules/]
Jun 11 18:54:24 [575] DBG:core:set_mod_param_regex: dns_cache matches
module dns_cache
Jun 11 18:54:24 [575] ERROR:core:set_mod_param_regex: parameter
<blacklist_timeout> not found in module <dns_cache>
Jun 11 18:54:24 [575] CRITICAL:core:yyerror: parse error in config file
/usr/local/opensips/etc/opensips/opensips.cfg, line 95, column 19-20:
Parameter <blacklist_timeout> not found in module <dns_cache> - can't set
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-06-11 11:45
Message:
Please post the cfg line where you set the blacklist_timeout parameter.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3534375&group_id=232389
More information about the Devel
mailing list