[asterisk-bugs] [JIRA] (ASTERISK-26025) core: Asterisk doesn't start correctly in kickstart post-install script

Michael Newton (JIRA) noreply at issues.asterisk.org
Wed May 18 11:08:56 CDT 2016


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

Michael Newton commented on ASTERISK-26025:
-------------------------------------------

I looked into anything I could set at compile time, but could only find debugging options related to crashes. So I altered the initscript to start Asterisk with -vvvdd, used the following {{logger.conf}}, and didn't observe any errors at all, except expected ones due to missing config files, etc. I can provide those logs, or if you have a method that will generate more detail, please advise.

{code:title=logger.conf}
[general]
queuelog = no ; uncomment this if you actually want queue logging!

[logfiles]
messages = notice,warning,error
full     = notice,warning,error,debug,verbose,dtmf,fax
console  = notice,warning,error,debug,verbose,dtmf,fax
{code}

> core: Asterisk doesn't start correctly in kickstart post-install script
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-26025
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26025
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.9.1
>         Environment: Scientific Linux (RHEL) 6.7
>            Reporter: Michael Newton
>            Assignee: Michael Newton
>
> Our provisioning process includes a Kickstart post script that compiles, installs, and starts Asterisk before installing FreePBX. This works very well under Asterisk 11 but fails under Asterisk 13. The FreePBX installer attempts to run {{asterisk -rx 'core show version'}} before installation, and complains that it cannot.
> Investigating this failure, I found that Asterisk starts up, but does not create {{/var/run/asterisk/asterisk.ctl}} so no remote connections can be created. I've verified that {{/var/run/asterisk/asterisk.pid}} is created, and the output from {{ps}} shows that Asterisk continues running. Setting the Asterisk logging level to debug shows no errors occurring at startup.
> Once the server is rebooted, and no longer in Kickstart, the control file is created without issue.



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



More information about the asterisk-bugs mailing list