Search code examples
freeswitch

Cannot lock pid file /var/run/freeswitch/freeswitch.pid,this is the error when I start my freeswitch on CentOs7


how can I solve this problem? Cannot lock pid file /var/run/freeswitch/freeswitch.pid Sorry for my poor English


Solution

  • There are few reason for this.check one by one.

    1. check weather /var/run/freeswitch/ directory exist. if not then create it and give appropriate permission using chmod command.

    2. check weather freeswitch user have permission to /var/run/freeswitch/ directory.if not then create it and give appropriate permission using chmod command.

    3. check weather there is already any freeswitch.pid exist.if so then delete it.