[asterisk-bugs] [Asterisk 0016802]: [patch] Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or directory

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 25 01:46:31 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16802 
====================================================================== 
Reported By:                Brian
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16802
Category:                   Core/PBX
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.2 
JIRA:                       SWP-895 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-10 12:39 CST
Last Modified:              2010-02-25 01:46 CST
====================================================================== 
Summary:                    [patch] Unable to open pid file
'/var/run/asterisk/asterisk.pid': No such file or directory
Description: 
Debian/Ubuntu: A default build from source (without tweaking
/etc/asterisk/asterisk.conf) gives an error on boot:

"Unable to open pid file '/var/run/asterisk/asterisk.pid': No such file or
directory"

Attempting to log in with asterisk -cvv or asterisk -rvv throws:
"Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
exist?)"

Manually creating /var/run/asterisk and restarting the application clears
the issue, but /var/run/asterisk disappears on reboot.
====================================================================== 

---------------------------------------------------------------------- 
 (0118533) Brian (reporter) - 2010-02-25 01:46
 https://issues.asterisk.org/view.php?id=16802#c118533 
---------------------------------------------------------------------- 
I disagree that it was an update to the O/S. The core system (An Ubuntu
8.10 server) had no changes made other than Asterisk being upgraded. A
workaround was created by removing the default '!' from asterisk.conf and
altering the init.d script. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-25 01:46 Brian          Note Added: 0118533                          
======================================================================




More information about the asterisk-bugs mailing list