Freeswitch not restarting properly

Status
Not open for further replies.

yukon

Member
Oct 3, 2016
138
14
18
Hi all,

Not sure if this is a good place to put this or not. But I recently updated my freeswitch from 1.6.8 to 1.6.12 and now whenever I stop it, there's something locking up port 8021:
root@a:/var/www/fusionpbx# netstat -npl | grep 8021
tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 10026/freeswitch
root@a:/var/www/fusionpbx# /etc/init.d/freeswitch stop
[ ok ] Stopping freeswitch (via systemctl): freeswitch.service.
root@a:/var/www/fusionpbx# netstat -npl | grep 8021
tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 11593/sh
root@a:/var/www/fusionpbx#
root@a:/var/www/fusionpbx# ps -elf | grep 11593
0 S www-data 11593 1 0 58 - - 1084 - 08:12 ? 00:00:00 sh -c sleep 300
0 S www-data 11594 11593 0 58 - - 1452 - 08:12 ? 00:00:00 sleep 300
0 S root 11743 9424 0 80 0 - 3182 - 08:14 pts/0 00:00:00 grep 11593

I'm wondering if maybe I need a new init.d script or something? I installed this server a while ago with the old fusionpbx install script.

I have to kill that process using port 8021 before I can restart freeswitch again.
 
Status
Not open for further replies.