[Asterisk-Users] Console detach.

Tzafrir Cohen
Fri, 28 Oct 2005 09:49:53 -0000

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