[Hatchet-users] Missing graphs, pflog problem?

Jason Dixon jason at dixongroup.net
Thu Jun 16 06:06:19 EDT 2005


On Jun 16, 2005, at 1:50 AM, William MacKay wrote:

> I installed hatchet 0.8 on my router yesterday, using the chroot 
> apache, and it looks great. But there are no rows in the "Firewall 
> Log" table on the main page (hatchet.cgi), and no images in "Top 
> Source Hosts" and "Top Destination Ports". All four of the graphs in 
> "Last 24 Lours" and "Last 7 Days" work fine.

Here is the same reply I gave to Bob a few hours earlier last night, I 
think it rings true for you as well...

"Sounds like it can't find the database.  There is a bug in the 
README.chroot where I forgot to mention copying the hatchet.conf into 
chroot and to edit the $db_file settings.  Assuming you're following 
the directions ad nauseum, /etc/hatchet.conf should have an entry:

     $db_file = '/var/db/pflog.db';

First, copy this into the chroot:

     # cp /etc/hatchet.conf /var/www/etc/hatchet.conf

Then edit /etc/hatchet.conf to reflect the chroot db location:

     $db_file = '/var/www/var/db/pflog.db';

Do NOT edit /var/www/etc/hatchet.conf."

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net




More information about the Hatchet-users mailing list