Hello Mourik,

the pfcmd watch patch has been forgotten in maintenance.
Let's retry pf-maint.pf

Regards
Fabrice

Le 2015-04-23 04:35, mourik jan heupink a écrit :
> Hi,
>
> Thanks for the update!
>
> I updated using pf-maint.pf, and two files (iplog.pm and dhcpd.pm) were
> patched, and afterwards pfcmd watch emailing functionality still
> reported the same error as we had before:
>
>> root@pf:/usr/local/pf# /usr/local/pf/addons/pf-maint.pl 
>> Currently at c4c01f3f2c569b2b3948dea7489ab33f0575b283
>> ** GET 
>> https://api.github.com/repos/inverse-inc/packetfence/branches/maintenance/5.0
>>  ==> 200 OK
>> Latest maintenance version is 8d2ca42ff5e6c6b4fdef20a42e3547a1fa6c5b6c
>> ** GET 
>> https://api.github.com/repos/inverse-inc/packetfence/compare/c4c01f3f2c569b2b3948dea7489ab33f0575b283...8d2ca42ff5e6c6b4fdef20a42e3547a1fa6c5b6c
>>  ==> 200 OK (1s)
>>
>> The following are going to be patched
>>   NEWS.asciidoc
>>   lib/pf/iplog.pm
>>   lib/pf/services/manager/dhcpd.pm
>>
>> Continue y/n [y]: 
>> Downloading the patch........
>> ** GET 
>> https://github.com/inverse-inc/packetfence/compare/c4c01f3f2c569b2b3948dea7489ab33f0575b283...8d2ca42ff5e6c6b4fdef20a42e3547a1fa6c5b6c.diff
>>  ==> 200 OK
>> Applying the patch........
>> patching file NEWS.asciidoc
>> patching file lib/pf/iplog.pm
>> patching file lib/pf/services/manager/dhcpd.pm
>> root@pf:/usr/local/pf# /usr/local/pf/bin/pfcmd service pf watch
>> root@pf:/usr/local/pf# /usr/local/pf/bin/pfcmd service dhcpd stop
>> service|command
>> dhcpd|stop
>> root@pf:/usr/local/pf# /usr/local/pf/bin/pfcmd service pf watch
>> The following processes are not running:
>>  - dhcpd
>> Undefined subroutine &pf::cmd::pf::service::pfmailer called at 
>> /usr/local/pf/lib/pf/cmd/pf/service.pm line 293.
>> root@pf:/usr/local/pf#
> Then I updated *again*, only this time using apt-get (I hope the two
> methods can be used at the same time...) and then the email
> fucntionality started working:
>
>> root@pf:~# /usr/local/pf/bin/pfcmd service dhcpd stop
>> service|command
>> dhcpd|stop
>> root@pf:~# /usr/local/pf/bin/pfcmd service pf watch
>> The following processes are not running:
>>  - dhcpd
>> service|command
>> Internet Systems Consortium DHCP Server 4.2.2
>> Copyright 2004-2011 Internet Systems Consortium.
>> All rights reserved.
>> For info, please visit https://www.isc.org/software/dhcp/
>> Wrote 0 leases to leases file.
>> Listening on LPF/eth0/00:19:99:66:40:00/192.168.42.0/24
>> Sending on   LPF/eth0/00:19:99:66:40:00/192.168.42.0/24
>> Sending on   Socket/fallback/fallback-net
>> dhcpd|watch
>> root@pf:~# 
> Thanks!
>
>
> On 04/22/2015 10:40 PM, Louis Munro wrote:
>> Hello list members,
>>
>> We just released a minor update. 
>> PF 5.0.1 is out.
>>
>> This release is a bug fix only. No new features were introduced.
>>
>> *Enhancements*
>>
>> • A number of strings have seen their translations improved.
>> • The Debian and Ubuntu documentation has been split and made clearer.
>> • Detailed which features may not work in active/active cluster mode in
>> the documentation.
>>
>> *Bug Fixes*
>>
>> • Added missing CHI File driver.
>> • Delete left over Config::Fingerprint module in Debian and Ubuntu.
>> • Fixed pfmon not starting when running a standalone PF server.
>> • Fixed broken OS reporting.
>> • Added missing dependency on perl-SOAP-Lite for
>> packetfence-remote-snort-sensor.
>> • Updating iplog without a lease time now reset end_time to default
>> (0000-00-00 00:00:00) to avoid "closing" a valid entry
>> • fixed pfcmd watch emailing functionality.
>> • dhcpd will now properly obey the "disabled" configuration.
>>
>>
>> If you are already running 5.0.0 you may get the same code and fixes by
>> running the /usr/local/pf/addons/pf-maint.pl script which will apply the
>> same patches.
>>
>> This release is merely a convenience for people upgrading from earlier
>> releases or installing from scratch.
>>
>>
>> See https://github.com/inverse-inc/packetfence/blob/stable/NEWS.asciidoc for
>> details
>>
>> Best regards from Inverse,
>> --
>> Louis Munro
>> [email protected] <mailto:[email protected]>  ::  www.inverse.ca
>> <http://www.inverse.ca> 
>> +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
>> Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>)
>> and PacketFence (www.packetfence.org <http://www.packetfence.org>)
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>
>>
>>
>> _______________________________________________
>> PacketFence-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


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

Attachment: 0xF78F957E.asc
Description: application/pgp-keys

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to