[asterisk-bugs] [Asterisk 0015846]: Asterisk is looking in the wrong location for the asterisk.pid (and probably asterisk.ctl) file.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 04:10:12 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15846 
====================================================================== 
Reported By:                dlynes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15846
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-07 22:45 CDT
Last Modified:              2009-10-21 04:10 CDT
====================================================================== 
Summary:                    Asterisk is looking in the wrong location for the
asterisk.pid (and probably asterisk.ctl) file.
Description: 
Asterisk is not looking in the config file for where to locate the
asterisk.pid file.  Using strings, it is readily apparent that the location
is also hard-coded in the asterisk binary.
====================================================================== 

---------------------------------------------------------------------- 
 (0112513) mustardman (reporter) - 2009-10-21 04:10
 https://issues.asterisk.org/view.php?id=15846#c112513 
---------------------------------------------------------------------- 
I believe I am having the same problem.  Using Freepbx when I issue a
"amportal stop" I get:

STOPPING ASTERISK
Asterisk ended with exit status 0
Asterisk shutdown normally.
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
exist?)
Asterisk Stopped

"amportal start" seems to work normally

This is a fresh install and I tried re-installing a few times now.
Asterisk 1.6.1.6 

/etc/asterisk/asterisk.conf
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk

[options]
transmit_silence_during_record = yes 
languageprefix=yes
execincludes=yes 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 04:10 mustardman     Note Added: 0112513                          
======================================================================




More information about the asterisk-bugs mailing list