http://www.daemonforums.org/showthread.php?t=3165
4th May 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick ??rip??
Fdisk Soldier
Join Date: May 2008
Location: Finland
Posts: 57
Thanked 0 Times in 0 Posts
Default pfstat fopen failed: ?
Code:
bsdkone# pfstat -q -d /var/db/pfstat.db
fopen() failed: No such file or directory
bsdkone# pfstat -q
fopen() failed: No such file or directory
I have /etc/pfstat.conf and i have done everything like in
https://calomel.org/pfstat.html
Is this something simple again. (can?t see a tree from the woods)
Reply With Quote
Calderon
View Public Profile
Send a private message to Calderon
Visit Calderon's homepage!
Find all posts by Calderon
#2 (View Single Post)
Old 6th May 2009
chris chris is offline
Port Guard
Join Date: May 2008
Location: United Kingdom
Posts: 35
Thanked 6 Times in 3 Posts
Default
I feel like i should know the answer to this, i'm fairly sure i had the same problem a few months ago but eventually fixed it.
Have you tried specifying the location of pfstat.conf like so;
Code:
/usr/local/bin/pfstat -c /etc/pfstat.conf -q -d /var/db/pfstat.db
Reply With Quote
chris
View Public Profile
Send a private message to chris
Find all posts by chris
#3 (View Single Post)
Old 7th May 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick ??rip??
Fdisk Soldier
Join Date: May 2008
Location: Finland
Posts: 57
Thanked 0 Times in 0 Posts
Default
Yeah, i thought i had tried that too. Actually pretty sure about it but somehow it works now. Thanks.
Reply With Quote
Calderon
View Public Profile
Send a private message to Calderon
Visit Calderon's homepage!
Find all posts by Calderon
#4 (View Single Post)
Old 7th May 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 319
Thanked 32 Times in 30 Posts
Default
The default location of pfstat.conf is (indeed) /usr/local/etc/pfstat.conf.