Thanks for the answers.
I need to say that this command is executed from another machine, with the
command ssh....
because in ocalhost is all ok, with sudo or with root.
I will try that trace to see if it helps me, but the bg probem is start the
service from another machine with ssh .
Best regards,
Bruno Pereira
On 4/24/08, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
>
> On Thu, Apr 24, 2008 at 11:23:21AM -0700, Steve Edwards wrote:
> > On Thu, 24 Apr 2008, Bruno Pereira wrote:
> >
> > > ssh etx9 'sudo /etc/init.d/asterisk start'
> > > [EMAIL PROTECTED]:~$ ssh etx9 'sudo /etc/init.d/asterisk start'
> > > start ini
> > > Starting asterisk: [ OK ]
> > > decrease the verbosity level to zero: OK
> > > start fim
> > >
> > > and just stays there, like waiting for something.
> >
> > Sudo recently (?) added a new parameter in /etc/sudoers that caused me a
> > lot of grief. Comment out "Defaults requiretty" and see if it helps.
> >
> > Also, your custom /etc/init.d/asterisk script ("start fim?") may not be
> > redirecting stdin/stdout/stderr correctly.
>
> Or Asterisk may not be closing file descriptors properly?
>
> I have such an issue with some scripts getting hanged on installation of
> the package asterisk on Debian until I restart Asterisk.
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> +972-50-7952406 mailto:[EMAIL PROTECTED]
> http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users