[Home]

Summary:ASTERISK-28101: Unable to load config file 'statsd.conf'
Reporter:Dmitry Melekhov (slesru)Labels:pjsip
Date Opened:2018-10-12 00:42:16Date Closed:2018-10-12 02:34:38
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Resources/res_statsd
Versions:16.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Centos 7Attachments:
Description:Hello!

Installed 16,0.0 over existing 13 installation.
Got problem starting pjsip, because it is depends on res_statsd.

module load res_statsd.so
Unable to load module res_statsd.so
Command 'module load res_statsd.so ' failed.
[Oct 12 09:36:17] ERROR[19325]: config_options.c:706 aco_process_config: Unable to load config file 'statsd.conf'

Created empty fille and it works.
I think this is not right behavoir to not work without config file.

Thank you!
Comments:By: Asterisk Team (asteriskteam) 2018-10-12 00:42:17.916-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Corey Farrell (coreyfarrell) 2018-10-12 02:34:38.683-0500

Yes sorry this wasn't caught until it was too late for 16.0.0.  The fix for this has been merged for 16.1.0.

As you pointed out creating an empty 'statsd.conf' will work around the issue.  Another work-around is to add 'noload=res_statsd.so' to your modules.conf (as long as you didn't disable OPTIONAL_API in menuselect).