systemctl status freeswitch.service

What does this command show?

On Mon, Oct 19, 2015 at 4:14 PM, <rick.jarvis@magicmail.mooo.com> wrote:
Nothing in /var/log/freeswitch/freeswitch.log

Results of running it at command line below. I’ve tried running it with ‘c’ instead of ‘ncwait’ as well, but it complains about the pid

root@voice:/etc/systemd/system# /usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat -rp
1349 Backgrounding.
FreeSWITCH[1348] Error starting system! pid:1349
root@voice:/etc/systemd/system# /usr/bin/freeswitch -u freeswitch -g freeswitch -c -nonat -rp
Cannot open pid file /var/run/freeswitch/freeswitch.pid.

On 19 Oct 2015, at 22:01, covici@ccs.covici.com wrote:

Something is preventing fs from starting and systemd keeps trying, but
eventually gives up.  Can you start it by hand with the same parameters?
Can you check the freeswitch.log and see if that says anything?

rick.jarvis@magicmail.mooo.com wrote:

This is my first Jessie install, so trying to get my head around systemd.

I’ve installed from repos, and it all works fine with ‘service start freeswitch’ as I used to use. However, as update-rc.d doesn’t work for starting on boot, I figured this is due to the startup changes in jessie.

So I followed this to the letter:

https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video<https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video>

But no joy:

root@voice:/etc/systemd/system# systemctl start freeswitch
Job for freeswitch.service failed. See 'systemctl status freeswitch.service' and 'journalctl -xn' for details.
root@voice:/etc/systemd/system# systemctl status freeswitch.service
● freeswitch.service - freeswitch
  Loaded: loaded (/lib/systemd/system/freeswitch.service; disabled)
  Active: failed (Result: start-limit) since Mon 2015-10-19 21:47:53 BST; 26s ago
 Process: 1215 ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat -rp (code=exited, status=1/FAILURE)

Oct 19 21:47:53 voice systemd[1]: freeswitch.service: control process exited, code=exited status=1
Oct 19 21:47:53 voice systemd[1]: Failed to start freeswitch.
Oct 19 21:47:53 voice systemd[1]: Unit freeswitch.service entered failed state.
Oct 19 21:47:53 voice systemd[1]: freeswitch.service start request repeated too quickly, refusing to start.
Oct 19 21:47:53 voice systemd[1]: Failed to start freeswitch.
Oct 19 21:47:53 voice systemd[1]: Unit freeswitch.service entered failed state.


What am I doing wrong?
----------------------------------------------------
Alternatives:

----------------------------------------------------
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

        John Covici
        covici@ccs.covici.com

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest