[asterisk-users] help...i cant do more...
Anthony Francis
anthonyf at rockynet.com
Wed Aug 13 11:51:21 CDT 2008
David Thomas wrote:
> On Fri, Apr 25, 2008 at 4:38 AM, Bruno Pereira
> <bruno.motorrato at gmail.com> wrote:
>
>> 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 .
>>
>
> Did anyone ever find a solution to this issue. I have the same problem
> when trying to start asterisk from another computer via SSH. It starts
> fine on the local box, but over SSH it just hangs forever. I am using
> root as the user, and issuing the command: ssh 10.0.0.10
> '/etc/init.d/asterisk start'.
>
> Thanks!
> Dave
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
The real solution is to run Asterisk as a service, but if you must have
it run from a console then I would suggest starting it in a screen.
That is, make sure you have screen installed, run it, and then start
asterisk.
After that disconnect from the screen session by pressing ctrl+a and then d.
To reconnect to the screen session at anytime you simply do screen -r.
The issue with simply running the asterisk command from an ssh session
is that its process is started as a child of your remote shell.
More information about the asterisk-users
mailing list