Summary: | ASTERISK-12843: OpenBSD 4.2 launch failures | ||
Reporter: | John Todd (jtodd) | Labels: | |
Date Opened: | 2008-10-07 12:37:12 | Date Closed: | 2008-10-07 13:43:16 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/Portability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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. ****** ADDITIONAL INFORMATION ****** I "make uninstall"ed previous versions of Asterisk. | ||
Comments: | By: Leif Madsen (lmadsen) 2008-10-07 12:39:40 This is with latest trunk, but did it used to work on older versions? Or is this a new version of the OpenBSD this doesn't work on? (Sorry, I'm not familiar with OpenBSD.) By: John Todd (jtodd) 2008-10-07 12:48:51 I'm trying with Asterisk trunk as of a few hours ago. Older versions of Asterisk worked OK (not sure where the malfunction was inserted - sometime in the last month, since version 141039 worked) even though they had some hiccups. I'm trying with OpenBSD 4.2, which isn't that old (two revisions old) though I suppose is now a year or more old... but a year shouldn't be considered "out of date". By: Michiel van Baak (mvanbaak) 2008-10-07 12:56:16 November 1st OpenBSD 4.2 will go EOL because OpenBSD 4.4 will be released. I'm running trunk on OpenBSD 4.3 and there I dont see this problem. If you want you can send me your configs in private so I can test that on my local system By: Michiel van Baak (mvanbaak) 2008-10-07 12:58:22 wait .... I found it. try this: sudo mv /etc/asterisk /usr/local/etc/asterisk sudo -u _asterisk asterisk -vvvvvgcd By: Michiel van Baak (mvanbaak) 2008-10-07 13:13:44 jtodd: we are going to go back to the original locations. Thanks for your feedback. By: John Todd (jtodd) 2008-10-07 13:26:02 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) By: Michiel van Baak (mvanbaak) 2008-10-07 13:26:42 maybe not. Stay tuned, I'm fixing this one now. By: Digium Subversion (svnbot) 2008-10-07 13:43:15 Repository: asterisk Revision: 147306 U trunk/configure U trunk/configure.ac ------------------------------------------------------------------------ r147306 | mvanbaak | 2008-10-07 13:43:14 -0500 (Tue, 07 Oct 2008) | 5 lines Make sure the configs on OpenBSD are in /etc/asterisk by default (closes issue ASTERISK-12843) Reported by: jtodd ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=147306 |