<div dir="ltr">Start it from the command line as freeswitch.<div>this is very probably a permissions issue as Ciprian pointed out.</div><div><br></div><div>How did you install FS? Did you compile it or installed from some package?<br><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 25, 2019 at 8:24 PM Ciprian Dosoftei <<a href="mailto:ciprian.dosoftei@gmail.com">ciprian.dosoftei@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Check the permissions for /var/log/freeswitch/ too. If it's fine, look at the data collected in /var/log/freeswitch/freeswitch.log; towards the end of the file you should have some meaningful explication for the ungraceful/premature exit.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 25 Nov 2019 at 14:07, Abdirahman A. Osman <<a href="mailto:abdirahman.osm@gmail.com" target="_blank">abdirahman.osm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am  using CentOS 7 and tried to start the freeswitch with systemctl start freeswitch.</div><div><br></div><div>It is working with freeswitch -nc but the systemctl start freeswitch is using the freeswitch:daemon user, a shown below</div><div><br></div><div><br></div><div>root@localhost bin]# systemctl status freeswitch.service<br>● freeswitch.service - freeswitch<br>   Loaded: loaded (/usr/lib/systemd/system/freeswitch.service; enabled; vendor preset: disabled)<br>   Active: failed (Result: start-limit) since Thu 2019-11-21 09:05:16 EST; 8s ago<br>  Process: 4251 ExecStart=/usr/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=1/FAILURE)<br>  Process: 4249 ExecStartPre=/bin/chown -R freeswitch:daemon /var/run/freeswitch/ (code=exited, status=0/SUCCESS)<br>  Process: 4248 ExecStartPre=/bin/mkdir -p /var/run/freeswitch/ (code=exited, status=0/SUCCESS)<br><br>Nov 21 09:05:16 localhost.localdomain systemd[1]: freeswitch.service: control process exited, code=exited status=1<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: Failed to start freeswitch.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: Unit freeswitch.service entered failed state.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: freeswitch.service failed.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: freeswitch.service holdoff time over, scheduling restart.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: Stopped freeswitch.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: start request repeated too quickly for freeswitch.service<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: Failed to start freeswitch.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: Unit freeswitch.service entered failed state.<br>Nov 21 09:05:16 localhost.localdomain systemd[1]: freeswitch.service failed.<br></div><div><br></div><div><br></div><div><div>Although permissions of the folders the below folders are set for the user freeswitch</div><div><br></div><div>drwxr-xr-x 13 freeswitch daemon 4096 Nov 17 15:36 /etc/freeswitch/<br>drwxr-x--- 2 freeswitch daemon 40 Nov 21 09:05 /var/run/freeswitch/<br>drwxr-xr-x 13 freeswitch daemon 4096 Nov 17 15:36 /etc/freeswitch/<br>-rwxr-xr-x. 1 freeswitch daemon 28336 Aug 20 15:08 /usr/bin/freeswitch</div></div><div><div><div dir="ltr"><div dir="ltr"><br><div><div><br></div></div></div></div></div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards,<br>Ciprian Dosoftei<br><br>The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.<br><br>Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.</div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>