[asterisk-users] "Asterisk dead but subsys locked"
Budacsik Attila
budacsik at gmail.com
Tue Aug 5 05:49:58 CDT 2008
Steven Howes wrote:
> On 5 Aug 2008, at 09:16, Budacsik Attila wrote:
>> Hi Everyone,
>>
>> I am currently running Trixbox 2.6 and I have a problem with Asterisk.
>>
>> /etc/init.d/asterisk status
>> Asterisk dead but subsys locked
>>
>> I deleted all files in /var/run/asterisk folder and asterisk
>> restart...
>> It's ok for a while. But some days after Asterisk again is dead.
>>
>> Can anybody help me?
>>
>>
>> Rgs / budacsik
>
> You could look in the log? see what happens before it dies..
Now dead Asterisk again:
asterisk -rvvv
Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)
ls -l /var/run/asterisk/
total 4
srwxr-xr-x 1 asterisk asterisk 0 Aug 5 09:46 asterisk.ctl
-rw-r--r-- 1 asterisk asterisk 6 Aug 5 09:46 asterisk.pid
tail -f /var/log/asterisk/full
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] -- AGI
Script dialparties.agi completed, returning 0
[Aug 5 12:11:04] DEBUG[13396] app_macro.c: Executed application: AGI
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
Executing [s at macro-dial:7] Dial("mISDN/1-u10",
"SIP/200&SIP/202&SIP/211&SIP/204|20|m(abba)tmwM(auto-blkvm)") in new stack
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
Called 200
[Aug 5 12:11:04] WARNING[13396] app_dial.c: Unable to create channel of
type 'SIP' (cause 3 - No route to destination)
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
Called 211
[Aug 5 12:11:04] WARNING[13396] app_dial.c: Unable to create channel of
type 'SIP' (cause 3 - No route to destination)
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
Started music on hold, class 'default', on mISDN/1-u10
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
SIP/200-089c4088 is ringing
[Aug 5 12:11:04] VERBOSE[13396] logger.c: [Aug 5 12:11:04] --
SIP/211-089c88c0 is ringing
I think the problem is with asterisk.ctl. This is only a hint.
More information about the asterisk-users
mailing list