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