Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-16 Thread Boris Epstein
Louis,

Thanks. Looks like specifically removing the packetfence-pfcmd and
packetfence-config packages - and then reinstalling everything from scratch
by running

yum install packetfence  --enablerepo=packetfence-devel

took care of things. What I found weird was not that the path may have been
misconfigured but that the actual .pm file for the package was MIA for some
reason.

At any rate, I seem to be making progress now.

Thanks.

Boris.


On Thu, Jul 16, 2015 at 10:25 AM, Louis Munro lmu...@inverse.ca wrote:

 Hi Boris,
 This is not the right way to start it.

 Did you install from the development package?

 Services should be started by root, using /usr/local/pf/bin/pfcmd.
 It takes care of setting the proper @INC.

 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 16, 2015, at 10:19 , Boris Epstein borepst...@gmail.com wrote:

 Hi Louis,

 Just did this - wiped /usr/local/pf clean, removed the package, installed
 the dev version. Trying to run it, get the following:

 -sh-4.1$  /usr/local/pf/sbin/pfmon start
 Can't locate pfconfig/cached_hash.pm in @INC (@INC contains:
 /usr/local/pf/lib /usr/local/lib64/perl5 /usr/local/share/perl5
 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
 /usr/share/perl5 .) at /usr/local/pf/lib/pf/cluster.pm line 20.
 BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/cluster.pm line
 20.
 Compilation failed in require at /usr/local/pf/lib/pf/config.pm line 48.
 BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/config.pm line
 48.
 Compilation failed in require at /usr/local/pf/lib/pf/accounting.pm line
 51.
 BEGIN failed--compilation aborted at /usr/local/pf/lib/pf/accounting.pm
 line 51.
 Compilation failed in require at /usr/local/pf/sbin/pfmon line 36.
 BEGIN failed--compilation aborted at /usr/local/pf/sbin/pfmon line 36.
 -sh-4.1$ find /usr/local/pf -name cached_hash.pm -print
 -sh-4.1$

 Why would we lose cached_hash.pm? :) It definitely was part of the
 picture at some point at least:


 https://github.com/borepstein/packetfence/blob/devel/lib/pfconfig/cached_hash.pm

 And it seems like a module that actually does useful things...

 Weird.

 Thanks for your help again.

 Cheers,

 Boris.





 On Thu, Jul 16, 2015 at 8:44 AM, Louis Munro lmu...@inverse.ca wrote:



 On Jul 15, 2015, at 17:48 , Boris Epstein borepst...@gmail.com wrote:

 Hello Louis (and everybody else),

 This is just an update on the situation.

 I have tried running the code some time ago and then again today, having
 synchronized it with the latest code version in the devel branch, which was
 a whole bunch of commits. The symptoms are the same - the services are
 running but the configurator is not reading them.

 I seriously wonder if it is not the code that is to blame but something
 in the configuration. But what would it be?


 Hi Boris,


 I would recommend getting the current development package working before
 you replace it with the code from the git repository.
 Only if that works should you move on to checking out the code.

 FWIW the latest devel build should work.


 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)



 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel



 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.

 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-15 Thread Boris Epstein
Hello Louis (and everybody else),

This is just an update on the situation.

I have tried running the code some time ago and then again today, having
synchronized it with the latest code version in the devel branch, which was
a whole bunch of commits. The symptoms are the same - the services are
running but the configurator is not reading them.

I seriously wonder if it is not the code that is to blame but something in
the configuration. But what would it be?

Any tips much appreciated, as usual.

Cheers,

Boris.


On Fri, Jul 10, 2015 at 11:47 AM, Boris Epstein borepst...@gmail.com
wrote:

 Hi Louis,

 Well, that is some serious concealment right there:)

 I am sorry - I guess my comprehension skills could use some improvement. I
 admit that much:)

 OK, I got the latest devel code, installed it per your procedure. It all
 worked like a charm up until I actually attempted to launch it when I got
 the following error messages (see at the bottom).

 Meanwhile, the web-based configurator once again fails to see the
 processes running, even httpd.admin, which makes no sense. As for the PID
 files we got the following:

 [root@pf1 run]# ls /usr/local/pf/var/run/*.pid
 /usr/local/pf/var/run/carbon-cache.pid
  /usr/local/pf/var/run/httpd.admin.pid
  /usr/local/pf/var/run/memcached.pid
 /usr/local/pf/var/run/pfdns.pid
 /usr/local/pf/var/run/carbon-relay.pid
  /usr/local/pf/var/run/httpd.graphite.pid
 /usr/local/pf/var/run/pfconfig.pid
  /usr/local/pf/var/run/pfmon.pid
 /usr/local/pf/var/run/collectd.pid
  /usr/local/pf/var/run/httpd.portal.pid
 /usr/local/pf/var/run/pfdhcplistener_eth0.48.pid
  /usr/local/pf/var/run/radiusd.pid
 /usr/local/pf/var/run/dhcpd.pid
 /usr/local/pf/var/run/httpd.webservices.pid
  /usr/local/pf/var/run/pfdhcplistener_eth0.49.pid
  /usr/local/pf/var/run/radsniff3.pid
 /usr/local/pf/var/run/httpd.aaa.pid /usr/local/pf/var/run/iptables.pid
   /usr/local/pf/var/run/pfdhcplistener_eth0.50.pid
  /usr/local/pf/var/run/statsd.pid
 [root@pf1 run]#

 The processes seem to be running too.

 Cheers,

 Boris.


 -
 [root@pf1 ~]# service packetfence restart
 Restarting PacketFence...service|command
 carbon-cache|already stopped
 carbon-relay|already stopped
 collectd|already stopped
 dhcpd|already stopped
 haproxy|already stopped
 httpd.aaa|already stopped
 httpd.admin|stop
 httpd.graphite|already stopped
 httpd.portal|already stopped
 httpd.proxy|already stopped
 httpd.webservices|already stopped
 iptables|already stopped
 memcached|stop
 pfbandwidthd|already stopped
 pfdetect|already stopped
 pfdns|already stopped
 pfmon|already stopped
 pfsetvlan|already stopped
 radiusd|already stopped
 radsniff3|already stopped
 snmptrapd|already stopped
 snort|already stopped
 statsd|already stopped
 suricata|already stopped
 keepalived|already stopped
 Could not write namespace config::AdminRoles to L2 cache ! This is bad.
 Could not write namespace config::ApacheFilters to L2 cache ! This is bad.
 Could not write namespace config::Authentication to L2 cache ! This is bad.
 Could not write namespace resource::authentication_lookup to L2 cache !
 This is
bad.
 Could not write namespace resource::authentication_sources to L2 cache !
 This is
bad.
 Could not write namespace config::Profiles to L2 cache ! This is bad.
 Could not write namespace resource::guest_self_registration to L2 cache !
 This i
   s bad.
 Could not write namespace config::Cluster to L2 cache ! This is bad.
 Could not write namespace config::PfDefault to L2 cache ! This is bad.
 Could not write namespace config::Documentation to L2 cache ! This is bad.
 Could not write namespace config::Pf to L2 cache ! This is bad.
 Could not write namespace resource::CaptivePortal to L2 cache ! This is
 bad.
 Could not write namespace resource::Database to L2 cache ! This is bad.
 Could not write namespace resource::fqdn to L2 cache ! This is bad.
 Could not write namespace interfaces to L2 cache ! This is bad.
 Could not write namespace interfaces::listen_ints to L2 cache ! This is
 bad.
 Could not write namespace interfaces::dhcplistener_ints to L2 cache ! This
 is ba
 d.
 Could not write namespace interfaces::ha_ints to L2 cache ! This is bad.
 Could not write namespace interfaces::internal_nets to L2 cache ! This is
 bad.
 Could not write namespace interfaces::inline_enforcement_nets to L2 cache
 ! This
is bad.
 Could not write namespace interfaces::vlan_enforcement_nets to L2 cache !
 This i
   s bad.
 Could not write namespace interfaces::monitor_int to L2 cache ! This is
 bad.
 Could not write namespace interfaces::management_network to L2 cache !
 This is b
 ad.
 Could not write 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-10 Thread Boris Epstein
Hi Louis,

Well, that is some serious concealment right there:)

I am sorry - I guess my comprehension skills could use some improvement. I
admit that much:)

OK, I got the latest devel code, installed it per your procedure. It all
worked like a charm up until I actually attempted to launch it when I got
the following error messages (see at the bottom).

Meanwhile, the web-based configurator once again fails to see the processes
running, even httpd.admin, which makes no sense. As for the PID files we
got the following:

[root@pf1 run]# ls /usr/local/pf/var/run/*.pid
/usr/local/pf/var/run/carbon-cache.pid
 /usr/local/pf/var/run/httpd.admin.pid
 /usr/local/pf/var/run/memcached.pid
/usr/local/pf/var/run/pfdns.pid
/usr/local/pf/var/run/carbon-relay.pid
 /usr/local/pf/var/run/httpd.graphite.pid
/usr/local/pf/var/run/pfconfig.pid
 /usr/local/pf/var/run/pfmon.pid
/usr/local/pf/var/run/collectd.pid
 /usr/local/pf/var/run/httpd.portal.pid
/usr/local/pf/var/run/pfdhcplistener_eth0.48.pid
 /usr/local/pf/var/run/radiusd.pid
/usr/local/pf/var/run/dhcpd.pid
/usr/local/pf/var/run/httpd.webservices.pid
 /usr/local/pf/var/run/pfdhcplistener_eth0.49.pid
 /usr/local/pf/var/run/radsniff3.pid
/usr/local/pf/var/run/httpd.aaa.pid /usr/local/pf/var/run/iptables.pid
  /usr/local/pf/var/run/pfdhcplistener_eth0.50.pid
 /usr/local/pf/var/run/statsd.pid
[root@pf1 run]#

The processes seem to be running too.

Cheers,

Boris.

-
[root@pf1 ~]# service packetfence restart
Restarting PacketFence...service|command
carbon-cache|already stopped
carbon-relay|already stopped
collectd|already stopped
dhcpd|already stopped
haproxy|already stopped
httpd.aaa|already stopped
httpd.admin|stop
httpd.graphite|already stopped
httpd.portal|already stopped
httpd.proxy|already stopped
httpd.webservices|already stopped
iptables|already stopped
memcached|stop
pfbandwidthd|already stopped
pfdetect|already stopped
pfdns|already stopped
pfmon|already stopped
pfsetvlan|already stopped
radiusd|already stopped
radsniff3|already stopped
snmptrapd|already stopped
snort|already stopped
statsd|already stopped
suricata|already stopped
keepalived|already stopped
Could not write namespace config::AdminRoles to L2 cache ! This is bad.
Could not write namespace config::ApacheFilters to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace resource::authentication_lookup to L2 cache !
This is
   bad.
Could not write namespace resource::authentication_sources to L2 cache !
This is
   bad.
Could not write namespace config::Profiles to L2 cache ! This is bad.
Could not write namespace resource::guest_self_registration to L2 cache !
This i
  s bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace resource::CaptivePortal to L2 cache ! This is bad.
Could not write namespace resource::Database to L2 cache ! This is bad.
Could not write namespace resource::fqdn to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace interfaces::listen_ints to L2 cache ! This is bad.
Could not write namespace interfaces::dhcplistener_ints to L2 cache ! This
is ba
d.
Could not write namespace interfaces::ha_ints to L2 cache ! This is bad.
Could not write namespace interfaces::internal_nets to L2 cache ! This is
bad.
Could not write namespace interfaces::inline_enforcement_nets to L2 cache !
This
 is bad.
Could not write namespace interfaces::vlan_enforcement_nets to L2 cache !
This i
  s bad.
Could not write namespace interfaces::monitor_int to L2 cache ! This is bad.
Could not write namespace interfaces::management_network to L2 cache ! This
is b
ad.
Could not write namespace interfaces::portal_ints to L2 cache ! This is bad.
Could not write namespace resource::cluster_servers to L2 cache ! This is
bad.
Could not write namespace resource::cluster_hosts to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Domain to L2 cache ! This is bad.
Could not write namespace config::Firewall_SSO to L2 cache ! This is bad.
Could not write namespace config::FloatingDevices to L2 cache ! This is bad.
Could not write namespace config::Network to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace interfaces::listen_ints to L2 cache ! This is 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-09 Thread Louis Munro
Hi Boris,


Try this:

rpm -Uvh http://packetfence.org/downloads/PacketFence/RHEL6/`uname -i`/RPMS/ 
packetfence-release-1-2.centos6.noarch.rpm

It’s well hidden, all the way in the official documentation ;-)


Regards,
--
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On Jul 9, 2015, at 13:42 , Boris Epstein borepst...@gmail.com wrote:

 Louis,
 
 I am sorry, I must be missing something - but where is that 
 packetfence-release package?
 
 Thanks.
 
 Boris.
 
 
 On Wed, Jul 8, 2015 at 3:46 PM, Louis Munro lmu...@inverse.ca wrote:
 In the packetfence-release package.
 
 It’s not enabled by default, which is why you need to call yum 
 —enablerepo=packetfence-devel.
 
 Regards,
 —
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 8, 2015, at 15:09 , Boris Epstein borepst...@gmail.com wrote:
 
 Louis,
 
 Thanks! Trying it right now. Where's the config for the packetfence-devel 
 repository?
 
 Cheers,
 
 Boris.
 
 On Wed, Jul 8, 2015 at 2:55 PM, Louis Munro lmu...@inverse.ca wrote:
 Hi Boris,
 
 I am unsure how you installed the devel branch.
 
 Here is my recipe:
 
 First configure the packetfence repository normally.
 
 Then install the most recent development build like this:
 
 yum install packetfence  --enablerepo=packetfence-devel
 
 This will ensure you have the most recent set of dependencies.
 
 Then move aside the /usr/local/pf directory and clone the github repo in 
 it’s place (either calling it directly pf or just renaming the directory 
 after the fact).
 
 cd /usr/local/
 
 git clone yourpfforkhere pf
 
 Then run make devel in the new pf directory. 
 
 At the moment, the devel build may have bugs but it should install.
 We are working on 5.3 which should be out soon.
 Make sur you regularly fetch updates to devel as it is a moving target.
 
 I am running devel without pid issues at the moment.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 17:23 , Boris Epstein borepst...@gmail.com wrote:
 
 Just did that. Stopped PF. All processes stopped, all .pid files 
 disappeared save for pfconfig.pid. Killed that one manually.
 
 Started the PF up. Same behaviour as before. Sadly, the problem has not 
 been resolved.
 
 Boris.
 
 On Tue, Jul 7, 2015 at 5:15 PM, Louis Munro lmu...@inverse.ca wrote:
 I would try stopping all services/processes, then deleting all pid files, 
 then restarting the services.
 
 See if that helps.
 
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:
 
 Louis,
 
 Thanks!
 
 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/
 
 I looked at the content of a few random ones and the PID's in the files 
 match those of the actual running processes so at thefirst glance it would 
 appear to be OK.
 
 Boris.
 
 
 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:
 PID files!
 Check in var/run to see if there are any pidfiles for said processes.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:
 
 
 If my pfcmd starts the processes OK (seemingly; at least they run) but 
 the status in the web interface (on port 1443)  indicates all of them, 
 including pfcmon and httpd.admin as being down, I presume it is some sort 
 of the status reporting/IPC issue. What is the IPC mechanism involved?
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-09 Thread Boris Epstein
Louis,

I am sorry, I must be missing something - but where is that packetfence-release
package?

Thanks.

Boris.


On Wed, Jul 8, 2015 at 3:46 PM, Louis Munro lmu...@inverse.ca wrote:

 In the packetfence-release package.

 It’s not enabled by default, which is why you need to call yum
 —enablerepo=packetfence-devel.

 Regards,
 —
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 8, 2015, at 15:09 , Boris Epstein borepst...@gmail.com wrote:

 Louis,

 Thanks! Trying it right now. Where's the config for the packetfence-devel
 repository?

 Cheers,

 Boris.

 On Wed, Jul 8, 2015 at 2:55 PM, Louis Munro lmu...@inverse.ca wrote:

 Hi Boris,

 I am unsure how you installed the devel branch.

 Here is my recipe:

 First configure the packetfence repository normally.

 Then install the most recent development build like this:

 yum install packetfence  --enablerepo=packetfence-devel

 This will ensure you have the most recent set of dependencies.

 Then move aside the /usr/local/pf directory and clone the github repo in
 it’s place (either calling it directly pf or just renaming the directory
 after the fact).

 cd /usr/local/

 git clone yourpfforkhere pf

 Then run make devel in the new pf directory.

 At the moment, the devel build may have bugs but it should install.
 We are working on 5.3 which should be out soon.
 Make sur you regularly fetch updates to devel as it is a moving target.

 I am running devel without pid issues at the moment.

 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 17:23 , Boris Epstein borepst...@gmail.com wrote:

 Just did that. Stopped PF. All processes stopped, all .pid files
 disappeared save for pfconfig.pid. Killed that one manually.

 Started the PF up. Same behaviour as before. Sadly, the problem has not
 been resolved.

 Boris.

 On Tue, Jul 7, 2015 at 5:15 PM, Louis Munro lmu...@inverse.ca wrote:

 I would try stopping all services/processes, then deleting all pid
 files, then restarting the services.

 See if that helps.

 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:

 Louis,

 Thanks!

 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/

 I looked at the content of a few random ones and the PID's in the files
 match those of the actual running processes so at thefirst glance it would
 appear to be OK.

 Boris.


 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:

 PID files!
 Check in var/run to see if there are any pidfiles for said processes.

 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:


 If my pfcmd starts the processes OK (seemingly; at least they run) but
 the status in the web interface (on port 1443)  indicates all of them,
 including pfcmon and httpd.admin as being down, I presume it is some sort
 of the status reporting/IPC issue. What is the IPC mechanism involved?




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel



 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.

 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-08 Thread Louis Munro
In the packetfence-release package.

It’s not enabled by default, which is why you need to call yum 
—enablerepo=packetfence-devel.

Regards,
—
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On Jul 8, 2015, at 15:09 , Boris Epstein borepst...@gmail.com wrote:

 Louis,
 
 Thanks! Trying it right now. Where's the config for the packetfence-devel 
 repository?
 
 Cheers,
 
 Boris.
 
 On Wed, Jul 8, 2015 at 2:55 PM, Louis Munro lmu...@inverse.ca wrote:
 Hi Boris,
 
 I am unsure how you installed the devel branch.
 
 Here is my recipe:
 
 First configure the packetfence repository normally.
 
 Then install the most recent development build like this:
 
 yum install packetfence  --enablerepo=packetfence-devel
 
 This will ensure you have the most recent set of dependencies.
 
 Then move aside the /usr/local/pf directory and clone the github repo in it’s 
 place (either calling it directly pf or just renaming the directory after the 
 fact).
 
 cd /usr/local/
 
 git clone yourpfforkhere pf
 
 Then run make devel in the new pf directory. 
 
 At the moment, the devel build may have bugs but it should install.
 We are working on 5.3 which should be out soon.
 Make sur you regularly fetch updates to devel as it is a moving target.
 
 I am running devel without pid issues at the moment.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 17:23 , Boris Epstein borepst...@gmail.com wrote:
 
 Just did that. Stopped PF. All processes stopped, all .pid files disappeared 
 save for pfconfig.pid. Killed that one manually.
 
 Started the PF up. Same behaviour as before. Sadly, the problem has not been 
 resolved.
 
 Boris.
 
 On Tue, Jul 7, 2015 at 5:15 PM, Louis Munro lmu...@inverse.ca wrote:
 I would try stopping all services/processes, then deleting all pid files, 
 then restarting the services.
 
 See if that helps.
 
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:
 
 Louis,
 
 Thanks!
 
 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/
 
 I looked at the content of a few random ones and the PID's in the files 
 match those of the actual running processes so at thefirst glance it would 
 appear to be OK.
 
 Boris.
 
 
 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:
 PID files!
 Check in var/run to see if there are any pidfiles for said processes.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:
 
 
 If my pfcmd starts the processes OK (seemingly; at least they run) but the 
 status in the web interface (on port 1443)  indicates all of them, 
 including pfcmon and httpd.admin as being down, I presume it is some sort 
 of the status reporting/IPC issue. What is the IPC mechanism involved?
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 

Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-08 Thread Louis Munro
Hi Boris,

I am unsure how you installed the devel branch.

Here is my recipe:

First configure the packetfence repository normally.

Then install the most recent development build like this:

yum install packetfence  --enablerepo=packetfence-devel

This will ensure you have the most recent set of dependencies.

Then move aside the /usr/local/pf directory and clone the github repo in it’s 
place (either calling it directly pf or just renaming the directory after the 
fact).

cd /usr/local/

git clone yourpfforkhere pf

Then run make devel in the new pf directory. 

At the moment, the devel build may have bugs but it should install.
We are working on 5.3 which should be out soon.
Make sur you regularly fetch updates to devel as it is a moving target.

I am running devel without pid issues at the moment.

Regards,
--
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On Jul 7, 2015, at 17:23 , Boris Epstein borepst...@gmail.com wrote:

 Just did that. Stopped PF. All processes stopped, all .pid files disappeared 
 save for pfconfig.pid. Killed that one manually.
 
 Started the PF up. Same behaviour as before. Sadly, the problem has not been 
 resolved.
 
 Boris.
 
 On Tue, Jul 7, 2015 at 5:15 PM, Louis Munro lmu...@inverse.ca wrote:
 I would try stopping all services/processes, then deleting all pid files, 
 then restarting the services.
 
 See if that helps.
 
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:
 
 Louis,
 
 Thanks!
 
 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/
 
 I looked at the content of a few random ones and the PID's in the files 
 match those of the actual running processes so at thefirst glance it would 
 appear to be OK.
 
 Boris.
 
 
 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:
 PID files!
 Check in var/run to see if there are any pidfiles for said processes.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:
 
 
 If my pfcmd starts the processes OK (seemingly; at least they run) but the 
 status in the web interface (on port 1443)  indicates all of them, 
 including pfcmon and httpd.admin as being down, I presume it is some sort 
 of the status reporting/IPC issue. What is the IPC mechanism involved?
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel


Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-07 Thread Boris Epstein
Louis,

Thanks!

There's a whole bunch of .pid files under /usr/local/packetfence/var/run/

I looked at the content of a few random ones and the PID's in the files
match those of the actual running processes so at thefirst glance it would
appear to be OK.

Boris.


On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:

 PID files!
 Check in var/run to see if there are any pidfiles for said processes.

 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:


 If my pfcmd starts the processes OK (seemingly; at least they run) but the
 status in the web interface (on port 1443)  indicates all of them,
 including pfcmon and httpd.admin as being down, I presume it is some sort
 of the status reporting/IPC issue. What is the IPC mechanism involved?




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel


Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-07 Thread Boris Epstein
Just did that. Stopped PF. All processes stopped, all .pid files
disappeared save for pfconfig.pid. Killed that one manually.

Started the PF up. Same behaviour as before. Sadly, the problem has not
been resolved.

Boris.

On Tue, Jul 7, 2015 at 5:15 PM, Louis Munro lmu...@inverse.ca wrote:

 I would try stopping all services/processes, then deleting all pid files,
 then restarting the services.

 See if that helps.

 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:

 Louis,

 Thanks!

 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/

 I looked at the content of a few random ones and the PID's in the files
 match those of the actual running processes so at thefirst glance it would
 appear to be OK.

 Boris.


 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:

 PID files!
 Check in var/run to see if there are any pidfiles for said processes.

 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)

 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:


 If my pfcmd starts the processes OK (seemingly; at least they run) but
 the status in the web interface (on port 1443)  indicates all of them,
 including pfcmon and httpd.admin as being down, I presume it is some sort
 of the status reporting/IPC issue. What is the IPC mechanism involved?




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel



 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.

 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel




 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel


Re: [PacketFence-devel] IPC mechanism in PF 5.2/devel

2015-07-07 Thread Louis Munro
I would try stopping all services/processes, then deleting all pid files, then 
restarting the services.

See if that helps.

--
Louis Munro
lmu...@inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On Jul 7, 2015, at 17:02 , Boris Epstein borepst...@gmail.com wrote:

 Louis,
 
 Thanks!
 
 There's a whole bunch of .pid files under /usr/local/packetfence/var/run/
 
 I looked at the content of a few random ones and the PID's in the files match 
 those of the actual running processes so at thefirst glance it would appear 
 to be OK.
 
 Boris.
 
 
 On Tue, Jul 7, 2015 at 4:53 PM, Louis Munro lmu...@inverse.ca wrote:
 PID files!
 Check in var/run to see if there are any pidfiles for said processes.
 
 Regards,
 --
 Louis Munro
 lmu...@inverse.ca  ::  www.inverse.ca 
 +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 
 On Jul 7, 2015, at 16:33 , Boris Epstein borepst...@gmail.com wrote:
 
 
 If my pfcmd starts the processes OK (seemingly; at least they run) but the 
 status in the web interface (on port 1443)  indicates all of them, including 
 pfcmon and httpd.admin as being down, I presume it is some sort of the 
 status reporting/IPC issue. What is the IPC mechanism involved?
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel
 
 
 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/___
 PacketFence-devel mailing list
 PacketFence-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/packetfence-devel

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel