Freeswitch does not start
From Kolmisoft Wiki
Jump to navigationJump to search
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
/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