Hello. I have installed asterisk 1.0.9.dfsg-5 in debian sarge. if I run /etc/init.d/asterisk stop and then /etc/init.d/asterisk start . Asterisk don't detach from console where i started it. It beguin to write all warning,debug,AGI dialog,... to the console. If I start ast. manually without init script as root. It works fine and it detach from console, but if i start asterisk with "-U asterisk" i have the same problem. Some Idea. Thanks.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * Pepe Aracil [2005-10-28 10:05]:> I have installed asterisk 1.0.9.dfsg-5 in debian sarge. > > if I run /etc/init.d/asterisk stop and then /etc/init.d/asterisk start . > Asterisk don't detach from console where i started it. It beguin to write > all warning,debug,AGI dialog,... to the console.Try to edit /etc/default/asterisk: Uncomment "RUNASTSAFE=yes". bye, rene - -- ___ _ _ ___ __ ___ ____ _ _ ___ ___ / _ \| |_| | _ ) / _|/ _ \ / __/ | \| | __| | Rene Caspari| _ | _ | . \( (_| _ |\__ \ _ | .' | _| | | http://rene.|_| |_|_| |_|_|\_|\__|_| |_|____/|_||_|\_|___||_| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDYh/Oi7H4n8pAp5MRAkf6AKDMybia3q0LOgULUJuDMYIL43XxMwCdEfYE 200aZOmbmJWZfTpzGCGcGhw=b0tu -----END PGP SIGNATURE-----
On Fri, Oct 28, 2005 at 09:59:00AM +0200, Pepe Aracil wrote:> Hello. > > I have installed asterisk 1.0.9.dfsg-5 in debian sarge.Did you install the binary package from unstable or rebuilt it?> > if I run /etc/init.d/asterisk stop and then /etc/init.d/asterisk start . > Asterisk don't detach from console where i started it. It beguin to write > all warning,debug,AGI dialog,... to the console. > > If I start ast. manually without init script as root. It works fine and it > detach from console, but if i start asterisk with "-U asterisk" i have the > same problem.My first guess would be that it has some files owned by root that the standard invocation fails to open. strace -f -eopen /etc/init.d/asterisk start comes to mind. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend