Hi Guys,

Today I was trying to use pfcmd to push the configuration files into the
database using this command
"pfcmd configfiles push" and I get this error:
"readline() on closed filehandle $configfile_fh at /usr/local/pf/lib/pf/
configfile.pm line 160.
readline() on closed filehandle $configfile_fh at /usr/local/pf/lib/pf/
configfile.pm line 160.
readline() on closed filehandle $configfile_fh at /usr/local/pf/lib/pf/
configfile.pm line 160."

So I open the file of the error and I made a little modification to show me
more info of the error and I get this:

"Can't open the file '/usr/local/pf/conf/allowed_device_types.txt': No such
file or directory at /usr/local/pf/lib/pf/configfile.pm line 160."

So i looked to the last development branch and I didn't find this file
either,
Is this a bug? or is this fie missing for some reason.

Running version 4.3 on CentOS 6.5, i just modified /usr/local/pf/lib/pf/
configfile.pm,
"open my $configfile_fh, '<', $filename;" whit this
"open my $configfile_fh, '<', $filename or die ("Can't open the file
'$filename': $!");"

Best Regards,

-- 

*“Choose a job you love, and you will never have to work a day in your
life”*
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel

Reply via email to