[asterisk-bugs] [JIRA] (ASTERISK-23570) CLI config reload returns 'No such module 'core'' for modules that appear to be independent - documentation needed or bug?

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Apr 9 19:44:18 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217193#comment-217193 ] 

Rusty Newton edited comment on ASTERISK-23570 at 4/9/14 7:42 PM:
-----------------------------------------------------------------

Deleted that last debug since it wasn't attached to the issue as a file and didn't include the requested debug messages activated in the default full logging file. However, turns out it is not needed as the issue is very reproducible. 

Another example is res_parking.conf
{noformat}
newtonr-laptop*CLI> config reload /etc/asterisk/res_parking.conf 
No such module 'core'
{noformat}

{noformat}
newtonr-laptop*CLI> module reload res_parking.so 
Module 'res_parking.so' reloaded successfully.
    -- Reloading module 'res_parking.so' (Call Parking Resource)
{noformat}


I see that it occurs when trying "config reload" on many conf files for independent modules that are apparently referenced in the core. This may be expected behavior and a limitation of the command, if so , then it needs to be documented.

I'm opening this up since we at least need to modify documentation if it turns out this is expected behavior, and of course the workaround is to just reload the modules directly.

Documentation only says 
{noformat}
Usage: config reload <filename.conf>
   Reloads all modules that reference <filename.conf>
{noformat}


was (Author: rnewton):
Deleted that last debug since it wasn't attached to the issue as a file and didn't include the requested debug messages activated in the default full logging file. However, turns out it is not needed as the issue is very reproducible. 

Another example is res_parking.conf
{noformat}
newtonr-laptop*CLI> config reload /etc/asterisk/res_parking.conf 
No such module 'core'
{noformat}

{noformat}
newtonr-laptop*CLI> module reload res_parking.so 
Module 'res_parking.so' reloaded successfully.
    -- Reloading module 'res_parking.so' (Call Parking Resource)
{noformat}


I see that it occurs when trying "config reload" on many conf files for independent modules that are apparently referenced in the core. This may be expected behavior and a limitation of the command, if so , then it needs to be documented.

I'm opening this up since we at least need to modify documentation if it turns out this is expected behavior, and of course the workaround is to just reload the modules directly.

> CLI config reload returns 'No such module 'core'' for modules that appear to be independent - documentation needed or bug?
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23570
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23570
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/General
>    Affects Versions: SVN, 11.8.1, 12.1.1
>         Environment: Ubuntu 12.04 LTS - compiled from source (default settings)
>            Reporter: Dorian Logan
>            Assignee: Dorian Logan
>            Severity: Minor
>
> When issuing the reload command 
> config reload /etc/asterisk/confbridge.conf
> The config is not reloaded and the following error is displayed
> No such module 'core'



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list