olecoot Posted July 17, 2008 Report Share Posted July 17, 2008 I have several installations of PBXnSIP running on a RH derived flavor of Linux. I use the startup script that is listed in the documentation of the WIKI for all of them. http://wiki.pbxnsip.com/index.php/Installing_in_Linux The init script mentions the pid file as "pidfile: /var/run/pbxctrl.pid" however, the pid is not created (or I have failed to find it). Is this file supposed to be created at statup of the pbxnsip service? I would like to use it for monitoring purposes. As always, thanks in advance. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 17, 2008 Report Share Posted July 17, 2008 The init script mentions the pid file as "pidfile: /var/run/pbxctrl.pid" however, the pid is not created (or I have failed to find it). Is this file supposed to be created at statup of the pbxnsip service? I would like to use it for monitoring purposes. As always, thanks in advance. 3.0 will include an option --pidfile <fn> where the PBX will write the PID of the PBX process (not in Windows). Quote Link to comment Share on other sites More sharing options...
olecoot Posted August 7, 2008 Author Report Share Posted August 7, 2008 3.0 will include an option --pidfile <fn> where the PBX will write the PID of the PBX process (not in Windows). We added the following line to the init.d script to create the pid: lsof -t -c pbxctrl > /var/run/pbxctrl.pid This will suffice until release 3.0 Thanks Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 7, 2008 Report Share Posted August 7, 2008 We added the following line to the init.d script to create the pid: lsof -t -c pbxctrl > /var/run/pbxctrl.pid This will suffice until release 3.0 What OS are you on? Maybe want to try it out? Quote Link to comment Share on other sites More sharing options...
olecoot Posted August 8, 2008 Author Report Share Posted August 8, 2008 What OS are you on? Maybe want to try it out? Using CentOS 5.1 and 5.2 on different servers. It is the same as RHEL5. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 8, 2008 Report Share Posted August 8, 2008 Using CentOS 5.1 and 5.2 on different servers. It is the same as RHEL5. Give http://www.pbxnsip.com/download/pbxctrl-centos5-3.0.0.2991 a shot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.