Discussion:
[PacketFence-devel] IPC mechanism in PF 5.2/devel
Boris Epstein
2015-07-07 20:33:47 UTC
Permalink
Hello all,

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?

Thanks.

Boris.
Louis Munro
2015-07-07 20:53:47 UTC
Permalink
PID files!
Check in var/run to see if there are any pidfiles for said processes.

Regards,
--
Louis Munro
***@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)
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?
Boris Epstein
2015-07-07 21:02:27 UTC
Permalink
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-07 21:15:52 UTC
Permalink
I would try stopping all services/processes, then deleting all pid files, then restarting the services.

See if that helps.

--
Louis Munro
***@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)
Post by 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.
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-07 21:23:48 UTC
Permalink
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.
Post by Louis Munro
I would try stopping all services/processes, then deleting all pid files,
then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-08 18:55:34 UTC
Permalink
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
***@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)
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.
I would try stopping all services/processes, then deleting all pid files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
Post by 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.
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-08 19:09:26 UTC
Permalink
Louis,

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

Cheers,

Boris.
Post by Louis Munro
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
I would try stopping all services/processes, then deleting all pid files,
then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-08 19:46:34 UTC
Permalink
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
***@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)
Post by Boris Epstein
Louis,
Thanks! Trying it right now. Where's the config for the packetfence-devel repository?
Cheers,
Boris.
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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.
I would try stopping all services/processes, then deleting all pid files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
Post by 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.
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-09 17:42:15 UTC
Permalink
Louis,

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

Thanks.

Boris.
Post by 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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Louis,
Thanks! Trying it right now. Where's the config for the packetfence-devel repository?
Cheers,
Boris.
Post by Louis Munro
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
I would try stopping all services/processes, then deleting all pid
files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-09 17:44:45 UTC
Permalink
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
***@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)
Post by Boris Epstein
Louis,
I am sorry, I must be missing something - but where is that packetfence-release package?
Thanks.
Boris.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
Post by Boris Epstein
Louis,
Thanks! Trying it right now. Where's the config for the packetfence-devel repository?
Cheers,
Boris.
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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.
I would try stopping all services/processes, then deleting all pid files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
Post by 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.
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
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
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
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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-10 15:47:14 UTC
Permalink
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:

[***@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
[***@pf1 run]#

The processes seem to be running too.

Cheers,

Boris.

-----------------------------------------------------------------------------------------------------------------------------------------------------
[***@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 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 config::PKI_Provider 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 config::PfDefault 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 config::Profiles to L2 cache ! This is bad.
Could not write namespace resource::Profile_Filters to L2 cache ! This is
bad.
Could not write namespace config::Provisioning to L2 cache ! This is bad.
Could not write namespace config::Realm to L2 cache ! This is bad.
Could not write namespace config::Scan to L2 cache ! This is bad.
Could not write namespace config::Switch to L2 cache ! This is bad.
Could not write namespace resource::default_switch to L2 cache ! This is
bad.
Could not write namespace resource::switches_ranges to L2 cache ! This is
bad.
Could not write namespace config::Violations to L2 cache ! This is bad.
Could not write namespace config::VlanFilters to L2 cache ! This is bad.
Could not write namespace config::Wmi 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 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::inline_enforcement_nets to L2 cache !
This
is bad.
Could not write namespace interfaces::inline_nets to L2 cache ! This is bad.
Could not write namespace interfaces::internal_nets to L2 cache ! This is
bad.
Could not write namespace interfaces::listen_ints 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::monitor_int to L2 cache ! This is bad.
Could not write namespace interfaces::portal_ints to L2 cache ! This is bad.
Could not write namespace interfaces::routed_isolation_nets to L2 cache !
This i
s bad.
Could not write namespace interfaces::routed_registration_nets to L2 cache
! Thi
s is bad.
Could not write namespace interfaces::vlan_enforcement_nets to L2 cache !
This i
s 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::Profile_Filters to L2 cache ! This is
bad.
Could not write namespace resource::array_test 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 resource::cluster_hosts to L2 cache ! This is bad.
Could not write namespace resource::cluster_servers to L2 cache ! This is
bad.
Could not write namespace resource::default_switch to L2 cache ! This is
bad.
Could not write namespace resource::fqdn 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 resource::reverse_fqdn to L2 cache ! This is bad.
Could not write namespace resource::switches_ranges to L2 cache ! This is
bad.
memcached|start
httpd: Could not reliably determine the server's fully qualified domain
name, us
ing 127.0.0.1 for ServerName
httpd.admin|start
Checking configuration sanity...
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::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::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost'
(using pa
ssword: YES) at /usr/local/pf/lib/pf/
version.pm line 42


-----------------------------------------------------------------------------------------------------------------------------------------------------
Post by Louis Munro
Hi Boris,
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Louis,
I am sorry, I must be missing something - but where is that packetfence-release package?
Thanks.
Boris.
Post by 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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Louis,
Thanks! Trying it right now. Where's the config for the packetfence-devel repository?
Cheers,
Boris.
Post by Louis Munro
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
I would try stopping all services/processes, then deleting all pid
files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
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
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
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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-15 21:48:30 UTC
Permalink
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.
Post by 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
/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
The processes seem to be running too.
Cheers,
Boris.
-----------------------------------------------------------------------------------------------------------------------------------------------------
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 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 config::PKI_Provider 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 config::PfDefault 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 config::Profiles to L2 cache ! This is bad.
Could not write namespace resource::Profile_Filters to L2 cache ! This is
bad.
Could not write namespace config::Provisioning to L2 cache ! This is bad.
Could not write namespace config::Realm to L2 cache ! This is bad.
Could not write namespace config::Scan to L2 cache ! This is bad.
Could not write namespace config::Switch to L2 cache ! This is bad.
Could not write namespace resource::default_switch to L2 cache ! This is
bad.
Could not write namespace resource::switches_ranges to L2 cache ! This is
bad.
Could not write namespace config::Violations to L2 cache ! This is bad.
Could not write namespace config::VlanFilters to L2 cache ! This is bad.
Could not write namespace config::Wmi 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 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::inline_enforcement_nets to L2 cache
! This
is bad.
Could not write namespace interfaces::inline_nets to L2 cache ! This is bad.
Could not write namespace interfaces::internal_nets to L2 cache ! This is
bad.
Could not write namespace interfaces::listen_ints 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::monitor_int to L2 cache ! This is bad.
Could not write namespace interfaces::portal_ints to L2 cache ! This is bad.
Could not write namespace interfaces::routed_isolation_nets to L2 cache !
This i
s bad.
Could not write namespace interfaces::routed_registration_nets to L2 cache
! Thi
s is bad.
Could not write namespace interfaces::vlan_enforcement_nets to L2 cache !
This i
s 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::Profile_Filters to L2 cache ! This is
bad.
Could not write namespace resource::array_test 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 resource::cluster_hosts to L2 cache ! This is bad.
Could not write namespace resource::cluster_servers to L2 cache ! This is
bad.
Could not write namespace resource::default_switch to L2 cache ! This is
bad.
Could not write namespace resource::fqdn 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 resource::reverse_fqdn to L2 cache ! This is bad.
Could not write namespace resource::switches_ranges to L2 cache ! This is
bad.
memcached|start
httpd: Could not reliably determine the server's fully qualified domain
name, us
ing 127.0.0.1 for ServerName
httpd.admin|start
Checking configuration sanity...
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::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::Cluster to L2 cache ! This is bad.
(using pa
ssword: YES) at /usr/local/pf/lib/pf/
version.pm line 42
-----------------------------------------------------------------------------------------------------------------------------------------------------
Post by Louis Munro
Hi Boris,
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Louis,
I am sorry, I must be missing something - but where is that packetfence-release package?
Thanks.
Boris.
Post by 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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Louis,
Thanks! Trying it right now. Where's the config for the packetfence-devel repository?
Cheers,
Boris.
Post by Louis Munro
Hi Boris,
I am unsure how you installed the devel branch.
First configure the packetfence repository normally.
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
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
I would try stopping all services/processes, then deleting all pid
files, then restarting the services.
See if that helps.
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
PID files!
Check in var/run to see if there are any pidfiles for said processes.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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
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
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
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
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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-16 12:44:48 UTC
Permalink
Post by 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?
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
***@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)
Boris Epstein
2015-07-16 14:19:20 UTC
Permalink
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.
Post by 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?
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
+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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-16 14:25:23 UTC
Permalink
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
***@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)
Post by Boris Epstein
Hi Louis,
-sh-4.1$ /usr/local/pf/sbin/pfmon start
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$
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.
Post by 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?
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
+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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-16 14:29:51 UTC
Permalink
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.
Post by Louis Munro
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.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Hi Louis,
Just did this - wiped /usr/local/pf clean, removed the package, installed
-sh-4.1$ /usr/local/pf/sbin/pfmon start
/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
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.
Post by 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?
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
+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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Louis Munro
2015-07-16 14:33:13 UTC
Permalink
Yes, that file was part of the packetfence-config package.

It would make sense that you have to reinstall it as well.

If you have to either reinstall or upgrade with yum you can call it like this to take care of that:

yum reinstall packetfence\* —enablerepo=packetfence-devel

Regards,
--
Louis Munro
***@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)
Post by 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.
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.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
Post by Boris Epstein
Hi Louis,
-sh-4.1$ /usr/local/pf/sbin/pfmon start
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$
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.
Post by 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?
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
+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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Boris Epstein
2015-07-21 14:45:28 UTC
Permalink
Hello all,

Louis, thanks for all your help:)

I finally took care of this issue, I think, and got myself situated with a
properly functional "sandbox" environment suitable for development. I must
say it involves quite a number of steps, from the code control to config,
etc.

One thing that finally made the difference was basically wiping my MySQL
engine clean - removing all user DB's, etc. Not sure what part of it was
truly necessary - but after I did it and reinstalled everything once again
things just started working. Not saying anything - just sharing for what
it's worth...

Cheers,

Boris.
Post by Louis Munro
Yes, that file was part of the packetfence-config package.
It would make sense that you have to reinstall it as well.
If you have to either reinstall or upgrade with yum you can call it like
yum reinstall packetfence\* —enablerepo=packetfence-devel
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
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.
Post by Louis Munro
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.
Regards,
--
Louis Munro
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
www.packetfence.org)
Hi Louis,
Just did this - wiped /usr/local/pf clean, removed the package, installed
-sh-4.1$ /usr/local/pf/sbin/pfmon start
/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
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.
Post by 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?
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
+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
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
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
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
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
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
Loading...