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

Eugene Shcherbatyuk shcherbatyuk at belrosbank.by
Mon Feb 13 09:22:20 MSK 2012


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.

=========================================================



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