[Freeswitch-users] FS service issues (systemd)
rmundkowsky at ets.org
Wed Jun 28 13:18:27 UTC 2017
Yes. I think we had a similar problem in ,I think, two situations.
1) The file system database can get messed up.
a. Stop FS
b. You can clear then via rm /export/Apps/freeswitch/var/lib/freeswitch/db/*
c. Restart FS
2) If there is an error in the configuration files.
a. Take a look at /export/Apps/freeswitch/var/log/freeswitch/freeswitch.xml.fsxml to see if there are any errors in XML.
You can get more details of start problem via:
systemctl status freeswitch.service
if you do not get enough details, try starting FS directly and you might get more details via:
From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rick Jarvis
Sent: Wednesday, June 28, 2017 7:44 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] FS service issues (systemd)
Got a weird issue where FS isn’t starting up correctly. Looking at the logs, it appears just to be attempting to restart SIP profiles (and failing), and that’s about it. There’s no socket for fs_cli, and a simple ‘systemctl restart’ fixes it. Anyone had something like this? I’ve tried fixing it with systemd after / requires, but it hasn’t helped.
Here’s my .service file (not sure if this is the issue, I'd welcome any comments / better versions?)
After=syslog.target network-online.target local-fs.target
ExecStart=/usr/bin/freeswitch -ncwait -nonat
ExecStop=/usr/bin/fs_cli -x shutdown
This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.
Thank you for your compliance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users