[asterisk-bugs] [Asterisk 0018103]: asterisk starts too late

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 18 04:03:57 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18103 
====================================================================== 
Reported By:                Raffles
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18103
Category:                   General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-07 04:17 CDT
Last Modified:              2010-10-18 04:03 CDT
====================================================================== 
Summary:                    asterisk starts too late
Description: 
When I do a reboot or shutdown of my server, it attempts to unload DAHDI
before it unloads Asterisk.

This means that DAHDI can not unload as it is still in use (by Asterisk).

The run levels of DAHDI need to come after Asterisk (or Asterisk before
DAHDI).

The startup scripts were installed with 'make config' for both DAHDI and
Asterisk.

BTW - I am using Debian if that makes a difference.

====================================================================== 

---------------------------------------------------------------------- 
 (0128149) Raffles (reporter) - 2010-10-18 04:03
 https://issues.asterisk.org/view.php?id=18103#c128149 
---------------------------------------------------------------------- 
"/usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; \"

There's the culprit :)

91 is way after Dahdi of course (Dahdi is at 30).  I've changed it
manually by make Asterisk stop at 29 (1 before Dahdi) - and this seems to
work perfectly for me.

Also, you changed the title of this report to "asterisk starts too late" -
it should be "asterisk stops too late" as it is only the stop/reboot levels
that need changing (0 and 6 in my case).

PS - Actually, shouldn't that line be "/usr/sbin/update-rc.d asterisk
start 10 2 3 4 5 . stop 29 0 6 .; \"? (I am no init.d master - but that
worked for me). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-18 04:03 Raffles        Note Added: 0128149                          
======================================================================




More information about the asterisk-bugs mailing list