Asterisk startup issues

2007-10-04

Permalink 21:49:00, by jaervosz Email , 114 words, 929 views   English (EU)
Categories: Gentoo, Universe/English

Asterisk startup issues

At last my hardened uclibc Asterisk CD is booting again. But somehow Asterisk refuse to start with the default init script and it will only successfully start if I had the -v option. So I had to do this small workaround in the init script:
--- etc/init.d/asterisk.orig 2007-10-04 21:44:07.000000000 +0200
+++ etc/init.d/asterisk 2007-10-04 21:44:36.000000000 +0200
@@ -191,5 +191,5 @@
if [ "$(echo ${ASTERISK_WRAPPER} | tr '[:upper:]' '[:lower:]')" != "yes" ]; then
start-stop-daemon --start --exec /usr/sbin/asterisk \
- ${OPTS} -- ${ASTERISK_OPTS}
+ ${OPTS} -- ${ASTERISK_OPTS} -v 2>&1 > /dev/null &
result=$?
else

If I don't add the -v switch it seems like Asterisk just hangs after spawning only a few threads.

PermalinkPermalink Leave a commentTrackback (0)

No comment yet...

Trackback address for this post:

This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

Search

Categories

Varius local stuff

Friends

Gentoo

Too Cool for Internet Explorer