Re: [PacketFence-users] Restarting swicthports errors

2018-02-06 Thread Fabrice Durand via PacketFence-users
Hello,

the issue is open on github

https://github.com/inverse-inc/packetfence/issues/2923

Regards

Fabrice



Le 2018-02-02 à 10:43, David Harvey via PacketFence-users a écrit :
> Sorry for all the mailing list spam. I've been having a bit of a
> packetfence tinkering week!
>
> Since upgrading to packetfence 7.4 followed by applying the Unifi
> patch 2735.patch
> 
>  (the
> latter probably unrelated given the files it touches), i've been
> seeing failures when attempting to restart swithcports from the GUI. 
> On screen I get
>
> "Error! An error condition has occured. See server side logs for details."
>
> And consulting logs reveals:
>
> Feb  2 13:26:17 pf httpd_admin: httpd.admin(21612) ERROR:
> [mac:unknown] Caught exception in
> pfappserver::Controller::Node->bulk_restart_switchport "Can't use an
> undefined value as a subroutine reference at
> /usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
> ver::PacketFence::Controller::Root::end)
> Feb  2 13:26:34 pf httpd_admin: httpd.admin(21612) ERROR:
> [mac:unknown] Caught exception in
> pfappserver::Controller::Node->bulk_restart_switchport "Can't use an
> undefined value as a subroutine reference at
> /usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
> ver::PacketFence::Controller::Root::end)
> Feb  2 13:29:02 pf httpd_admin: httpd.admin(21612) ERROR:
> [mac:unknown] Caught exception in
> pfappserver::Controller::Node->bulk_restart_switchport "Can't use an
> undefined value as a subroutine reference at
> /usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
> ver::PacketFence::Controller::Root::end)
> Feb  2 13:37:46 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
> Instantiate profile default
> (pf::Connection::ProfileFactory::_from_profile)
> Feb  2 13:38:57 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
> Instantiate profile default
> (pf::Connection::ProfileFactory::_from_profile)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Hard expiring resource : config::Profiles (pfconfig::manager::expire)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Connecting to MySQL database (pfconfig::backend::mysql::_get_db)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Expiring child resource FilterEngine::Profile. Master resource is
> config::Profiles (pfconfig::manager::expire)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Hard expiring resource : FilterEngine::Profile (pfconfig::manager::expire)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Expiring child resource resource::URI_Filters. Master resource is
> config::Profiles (pfconfig::manager::expire)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
> Hard expiring resource : resource::URI_Filters (pfconfig::manager::expire)
> Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) ERROR:
> [mac:unknown] OK (pf::ConfigStore::commit)
>
> So with my basic understanding I assumed there is a MAC passing, or
> MAC to switchport mapping issue.  Checking the node MAC address ->
> location tab, does show up to date session information :-/
>
> Any ideas!?
>
> Many thanks in advance,
>
> David
>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Fabrice Durand
fdur...@inverse.ca ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Restarting swicthports errors

2018-02-05 Thread David Harvey via PacketFence-users
Thank you Christian, my visual scour of the subject list hadn't focused me
onto your thread, so appreciate the pointer - apologies for poor archive
digging @list!

On Mon, Feb 5, 2018 at 8:22 AM, Cristian Mammoli via PacketFence-users <
packetfence-users@lists.sourceforge.net> wrote:

> Hi, see my post "[PacketFence-users] pfappserver::Controller::Node broken
> after update to 7.4" of 01-29
>
> Il 02/02/2018 16:43, David Harvey via PacketFence-users ha scritto:
>
>> Sorry for all the mailing list spam. I've been having a bit of a
>> packetfence tinkering week!
>>
>> Since upgrading to packetfence 7.4 followed by applying the Unifi patch
>> 2735.patch > packetfence/pull/2735.patch> (the latter probably unrelated given the
>> files it touches), i've been seeing failures when attempting to restart
>> swithcports from the GUI.  On screen I get
>>
>> "Error!An error condition has occured. See server side logs for details."
>>
>>
>>
> --
>
> *Cristian Mammoli*
> System Administrator
>
> T.  +39 0731 719822
> www.apra.it 
>
>
> ApraSpa
>
> linksocial
>
> *Avviso sulla tutela di informazioni riservate.* Questo messaggio è stato
> spedito da Apra spa o da una delle aziende del Gruppo. Esso e gli eventuali
> allegati, potrebbero contenere informazioni di carattere estremamente
> riservato e confidenziale. Qualora non foste i destinatari designati,
> vogliate cortesemente informarci immediatamente con lo stesso mezzo ed
> eliminare il messaggio e i relativi eventuali allegati, senza trattenerne
> copia.
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Restarting swicthports errors

2018-02-05 Thread Cristian Mammoli via PacketFence-users
Hi, see my post "[PacketFence-users] pfappserver::Controller::Node 
broken after update to 7.4" of 01-29


Il 02/02/2018 16:43, David Harvey via PacketFence-users ha scritto:
Sorry for all the mailing list spam. I've been having a bit of a 
packetfence tinkering week!


Since upgrading to packetfence 7.4 followed by applying the Unifi 
patch 2735.patch 
 (the 
latter probably unrelated given the files it touches), i've been 
seeing failures when attempting to restart swithcports from the GUI.  
On screen I get


"Error!An error condition has occured. See server side logs for details."




--

*Cristian Mammoli*
System Administrator

T.  +39 0731 719822
www.apra.it 


ApraSpa

linksocial

*Avviso sulla tutela di informazioni riservate.* Questo messaggio è 
stato spedito da Apra spa o da una delle aziende del Gruppo. Esso e gli 
eventuali allegati, potrebbero contenere informazioni di carattere 
estremamente riservato e confidenziale. Qualora non foste i destinatari 
designati, vogliate cortesemente informarci immediatamente con lo stesso 
mezzo ed eliminare il messaggio e i relativi eventuali allegati, senza 
trattenerne copia.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Restarting swicthports errors

2018-02-02 Thread David Harvey via PacketFence-users
Sorry for all the mailing list spam. I've been having a bit of a
packetfence tinkering week!

Since upgrading to packetfence 7.4 followed by applying the Unifi patch
2735.patch

(the
latter probably unrelated given the files it touches), i've been seeing
failures when attempting to restart swithcports from the GUI.  On screen I
get

"Error! An error condition has occured. See server side logs for details."

And consulting logs reveals:

Feb  2 13:26:17 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:26:34 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:29:02 pf httpd_admin: httpd.admin(21612) ERROR: [mac:unknown]
Caught exception in pfappserver::Controller::Node->bulk_restart_switchport
"Can't use an undefined value as a subroutine reference at
/usr/local/pf/lib/CHI/Driver/DBI.pm line 43." (pfappser
ver::PacketFence::Controller::Root::end)
Feb  2 13:37:46 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
Feb  2 13:38:57 pf httpd_admin: httpd.admin(21612) INFO: [mac:unknown]
Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Connecting to MySQL database (pfconfig::backend::mysql::_get_db)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Expiring child resource FilterEngine::Profile. Master resource is
config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : FilterEngine::Profile (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown]
Expiring child resource resource::URI_Filters. Master resource is
config::Profiles (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) INFO: [mac:unknown] Hard
expiring resource : resource::URI_Filters (pfconfig::manager::expire)
Feb  2 13:42:27 pf httpd_admin: httpd.admin(21630) ERROR: [mac:unknown] OK
(pf::ConfigStore::commit)

So with my basic understanding I assumed there is a MAC passing, or MAC to
switchport mapping issue.  Checking the node MAC address -> location tab,
does show up to date session information :-/

Any ideas!?

Many thanks in advance,

David
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users