[Freeswitch-users] FreeSwitch does not start in the background -- bypassed

Anton Kvashenkin anton.jugatsu at gmail.com
Mon Feb 13 14:59:41 MSK 2012


А в чём именно проблема, опиши немножко поконкретней, пожалуйста. Давай
сначала разберёмся с запуском FS просто из командной строки без всяких инит
скриптов. Попробуй запустить freeswitch -nc, вывод запости на pasterbin.

13 февраля 2012 г. 10:22 пользователь Eugene Shcherbatyuk <
shcherbatyuk at belrosbank.by> написал:

> Thank you for your answer!
> Well, I use the latest git and init script from debian directory in the
> sources.
>
> Obviously, the problem is not solved at its roots yet, but I managed to
> bypass it by 'chowning' FS directory and setting user to 'root' in init
> script.
>
> On 10/02/12 20:38, Anton Kvashenkin wrote:
> > The first suggestion would be to use latest git and init script from
> > http://wiki.freeswitch.org/wiki/Freeswitch_init.
> >
> > 10 февраля 2012 г. 15:53 пользователь Eugene Shcherbatyuk
> > <shcherbatyuk at belrosbank.by <mailto:shcherbatyuk at belrosbank.by>>
> написал:
> >
> >     Hello,
> >
> >     The purpose was to evaluate FreeSwitch and decide whether to replace
> my
> >     Asterisks with it or not. I installed FS1.0.6 from git on Ubuntu
> Server
> >     10.04.3 LTS. Everything went smoothly until FS did not start with the
> >     system today.
> >
> >     There are no errors in logs. FS starts in console fine. FS does not
> >     start in background mode nor from console (with -nc option) nor from
> >     init script. Even worse: FS can unexpectedly start (rarely) or do not
> >     start (often) with "backgrounding" message. Have a look at the
> console
> >     output below, please.
> >
> >      > root at fs:/usr/local/freeswitch/bin# /etc/init.d/freeswitch start
> >      > # ******* FS started without a message *********
> >      > root at fs:/usr/local/freeswitch/bin# netstat -ant
> >      > Active Internet connections (servers and established)
> >      > Proto Recv-Q Send-Q Local Address Foreign Address State
> >      > tcp 0 0 172.18.0.130:5060 <http://172.18.0.130:5060> 0.0.0.0:*
> LISTEN
> >      > tcp 0 0 127.0.0.1:8021 <http://127.0.0.1:8021> 0.0.0.0:* LISTEN
> >      > tcp 0 0 0.0.0.0:22 <http://0.0.0.0:22> 0.0.0.0:* LISTEN
> >      > tcp 0 0 172.18.0.130:5080 <http://172.18.0.130:5080> 0.0.0.0:*
> LISTEN
> >      > tcp6 0 0 ::1:5060 :::* LISTEN
> >      > tcp6 0 0 :::22 :::* LISTEN
> >      > root at fs:/usr/local/freeswitch/bin# /etc/init.d/freeswitch stop
> >      > Killing: 850
> >      > root at fs:/usr/local/freeswitch/bin# /etc/init.d/freeswitch start
> >      > root at fs:/usr/local/freeswitch/bin# 923 Backgrounding.
> >      > # ****** Note message above *********
> >      > root at fs:/usr/local/freeswitch/bin# netstat -ant
> >      > Active Internet connections (servers and established)
> >      > Proto Recv-Q Send-Q Local Address Foreign Address State
> >      > tcp 0 0 0.0.0.0:22 <http://0.0.0.0:22> 0.0.0.0:* LISTEN
> >      > tcp6 0 0 :::22 :::* LISTEN
> >
> >     Your opinions, please?
> >
> >     Thank you in advance,
> >     Eugene
> >
>
>
> =========================================================
>
> Данное сообщение и любые вложения (<<Сообщение>>) являются
> конфиденциальными, предназначенными исключительно для адресатов, и могут
> содержать сведения, охраняемые в соответствии с законодательством. Любое
> несанкционированное использование или распространение Сообщения запрещено.
> Электронная почта не гарантирует подлинности Сообщений. Ни ЗАО "АКБ
> "БЕЛРОСБАНК", ни любые его подразделения или дочерние организации не несут
> ответственности за Сообщение в случае его подмены, изменения либо
> фальсификации.
>
> =========================================================
>
> This message and any attachments (the "message") are confidential,
> intended solely for the addressees, and may contain legally privileged
> information. Any unauthorized use or dissemination is prohibited. E-mails
> are susceptible to alteration. Neither JSC "BELROSBANK" nor any of its
> subsidiaries or affiliates shall be liable for the message if altered,
> changed or falsified.
>
> =========================================================
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120213/f13060ec/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list