Difference between revisions of "Freeswitch does not start"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '= Stuck on Starting safe_freeswitch = Looks like this: service freeswitch start Starting safe_freeswitch and nothing happens anymore. Do: killall -9 safe_freeswitch ki…')
 
Line 22: Line 22:
  killall -9 fs_cli
  killall -9 fs_cli


rm -fr /usr/local/freeswitch/run/freeswitch.pid
  /usr/local/freeswitch/bin/freeswitch -nf
  /usr/local/freeswitch/bin/freeswitch -nf


Check what it writes.
Check what it writes.

Revision as of 10:43, 19 March 2020

Stuck on Starting safe_freeswitch

Looks like this:

service freeswitch start
Starting safe_freeswitch

and nothing happens anymore.


Do:

killall -9 safe_freeswitch
killall -9 freeswitch
killall -9 fs_cli
service freeswitch start

Troubleshooting

killall -9 safe_freeswitch
killall -9 freeswitch
killall -9 fs_cli
rm -fr /usr/local/freeswitch/run/freeswitch.pid
/usr/local/freeswitch/bin/freeswitch -nf


Check what it writes.

[ERR] mod_event_socket.c:2969 Socket Error! Could not listen on 0.0.0.0:8021

[ERR] mod_event_socket.c:2969 Socket Error! Could not listen on 0.0.0.0:8021

Means port 8021 is taken.

netstat -vatupn | grep 8021

will show which process is on 8021 port. Usually it is fs_cli, kill it:

killall -9 fs_cli