[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 02:28:17 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 02:28 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.
======================================================================
----------------------------------------------------------------------
(0118535) tzafrir (manager) - 2010-02-25 02:28
https://issues.asterisk.org/view.php?id=16802#c118535
----------------------------------------------------------------------
Brian, while this is a indeed a regression for your system, it fixed many
other systems.
The suggested patch (creating the directory if it doesn't exist, which
will only work if you're root. If you're not, you're likely not to be able
to generate the .ctl socket as well there) looks fine, and will require no
configuration editing on your part (but will not break your modified system
either).
Looks good to me.
Issue History
Date Modified Username Field Change
======================================================================
2010-02-25 02:28 tzafrir Note Added: 0118535
======================================================================
More information about the asterisk-bugs
mailing list