[asterisk-bugs] [Asterisk 0013641]: OpenBSD 4.2 launch failures

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 7 13:26:02 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13641 
====================================================================== 
Reported By:                jtodd
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   13641
Category:                   Core/Portability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 147194 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-07 12:37 CDT
Last Modified:              2008-10-07 13:26 CDT
====================================================================== 
Summary:                    OpenBSD 4.2 launch failures
Description: 
Launch fails to proceed past dynamic loader on OpenBSD 4.2 i386 systems
with this behavior:

...
  == Manager registered action DBDelTree
 Asterisk Dynamic Loader Starting:
Asterisk Ready.

*CLI> core show version
Asterisk SVN-trunk-r147194 built by root @ core1.pdx1.network.fox-den.com
on a i386 running OpenBSD on 2008-10-07 07:13:03 UTC


No channels are loaded, no functions, etc.

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

---------------------------------------------------------------------- 
 (0093312) jtodd (administrator) - 2008-10-07 13:26
 http://bugs.digium.com/view.php?id=13641#c93312 
---------------------------------------------------------------------- 
OK, instead of calling out the etc/asterisk directly on the command line, I
just symlinked back to my /etc/asterisk directory, and that works.

This leads me to one of a few possible solution sets, since I suspect many
people will run into this same problem:

1) Create a symlink (probably not the best idea, but it could work) if
/etc/asterisk exists

2) Cascade through ${BASE}/etc/asterisk and then look in /etc/asterisk if
the default location isn't populated with valid files

3) Print a big ERROR message if etc/asterisk is empty, because right now
there is NO error message if that directory doesn't exist (which would have
saved me a lot of time working on this problem) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-07 13:26 jtodd          Note Added: 0093312                          
======================================================================




More information about the asterisk-bugs mailing list