> update:
> 
> [Question 1: solved]
>  > (2)No such file or directory: httpd: could not open error log file
>  > /usr/logs/error_log.
> 
> This required to add a 'ErrorLog path/to/error_log' directive in the 
> general section of the httpd.conf.apache22 template.

I just pushed a fix in our stable branch. Thanks for the report and the
troubleshooting.

> 
> 
> [Question 2: not solved]
> So far I could identify these 3 mysql inserts that mysqld complains 
> about when re-invoked by pfcmd service pf restart:
> query dhcp_fingerprint_add_sql called from 
> pf::os::read_dhcp_fingerprints_conf (pf::db::db_query_execute)
> query node_add_sql called from pf::node::node_add (pf::db::db_query_execute)
> query os_mapping_add_sql called from pf::os::read_dhcp_fingerprints_conf 
> (pf::db::db_query_execute)
> 
> So far, I could only take a closer look at read_dhcp_fingerprints_conf.
> The SQL insert that leads to a 'Duplicate entry error' is executed if 
> the trigger_in_range function from trigger.pm returns 1. This is the 
> case if $trigger >= $begin && $trigger <= $end. I don't quite understand 
> the sense of this code, nonetheless, this condition seems to be always 
> true if the data is sourced from the dhcp_fingerprints.conf file.
> One example:
> OS class 17, members 1700-1799
> OS 1705
> In trigger_in_range language:
> Trigger: 1705, Begin: 1700, End: 1799
> Hence, trigger_in_range returns 1, read_dhcp_fingerprints_conf executes 
> dhcp_fingerprint_add_sql and then fails with 'Duplicate entry error'.
> 
> Can you please help me out?

read_dhcp_fingerprints_conf is one of the ugly piece I've yet to dig
into, I'm afraid there's nothing I could do in a timely fashion and we
are pretty busy right now..

Would you mind filing a bug report and maybe moving forward commenting
out that feature? In the future I'll look more closely at your problem.

Cheers!
-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to