来源:https://stackoverflow.com/questions/12817232/how-do-i-call-a-local-softphone-on-freeswitch
error : Cannot lock pid file /usr/local/freeswitch/run/freeswitch.pid
This can be solved in linux(fedora/centos) by following below syntax
1)open terminal
2)press su (to move admin root)
3)enter password
apply the following command
4)netstat -npl
then it show all the ports runnning
find port running for freeswitch ex: tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN 708/freeswitch
5)fuser -k 708/tcp use the number given in response ex:710
6)kill -9 710
也可以使用top命令来查看进程的pid
本文介绍了解决FreeSwitch在Linux系统上遇到的无法锁定PID文件问题的方法。通过使用netstat和fuser命令找到并终止占用相应端口的进程,再使用kill命令彻底结束该进程,从而解决FreeSwitch启动时的PID锁定问题。
4347

被折叠的 条评论
为什么被折叠?



