Service HAVP don't start
-
Hi!
I have a problem, so i have installed a HAVP package and the service "HAVP" does not start.
Could you help me please
-
Same problem here.
A 2.2.1 upgraded from 2.2
Just installed HAVP (stand-alone without Squid) and it can't start. On the top of the page there is an error:
Warning: file_put_contents(/usr/local/etc/havp/havp_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/havp.inc on line 604
Does anybody knows what this mean?
Br,
-
i cannot get it working either
-
I have not tried this yet - no access to a test machine until later tonight.
Could you please specify how you edited the config file?
I (and i presume many others) are suffering this same warning, thus HAVP wont start!!!EDIT: ok, here's how I did it:
vi /usr/local/pkg/havp.inc
did this:
#define('HVDEF_WORK_DIR', '/usr/local/etc/havp');
define('HVDEF_WORK_DIR', '/usr/pbi/havp-amd64/local/etc');SOURCE: laamanni
-
I could not get it to work with v2.2.1
-
Hi.
I noticed that clamav is using /var/run/clamav.
I have changed on /usr/local/pkg/havp.inc define('HVDEF_CLAM_RUNDIR', '/var/run'); to define('HVDEF_CLAM_RUNDIR', '/var/run/clamav'); and now clamd is running.
Then HAVP mode has to be changed from Daemon to Library.
Finally i needed to uncomment some more lines on /usr/local/pkg/havp.inc to get all running after rebooting.
_ # =-= ClamAV =-=
# catalog for Pid and Socket files
if (!file_exists(HVDEF_CLAM_RUNDIR))
mwexec("mkdir -p " . HVDEF_CLAM_RUNDIR);
havp_set_file_access(HVDEF_CLAM_RUNDIR, HVDEF_USER, '0774');_ -
Hi.
I noticed that clamav is using /var/run/clamav.
I have changed on /usr/local/pkg/havp.inc define('HVDEF_CLAM_RUNDIR', '/var/run'); to define('HVDEF_CLAM_RUNDIR', '/var/run/clamav'); and now clamd is running.
Then HAVP mode has to be changed from Daemon to Library.
Finally i needed to uncomment some more lines on /usr/local/pkg/havp.inc to get all running after rebooting.
_ # =-= ClamAV =-=
# catalog for Pid and Socket files
if (!file_exists(HVDEF_CLAM_RUNDIR))
mwexec("mkdir -p " . HVDEF_CLAM_RUNDIR);
havp_set_file_access(HVDEF_CLAM_RUNDIR, HVDEF_USER, '0774');_could you kindly upload a copy of the modified file that is working?
-
You only need to apply that changes and the one posted by Longhair.
-
You only need to apply that changes and the one posted by Longhair.
can you explain it to us step by step as if we were 5 years old so we can figure it out…not everyone is a tech guy or pfsense head yet 8)
edit: tried to do the mod myself with file editor, no dice. can you upload a working file?
-
It's possible that you need to force a clamav update after making that changes.
/usr/local/etc/rc.d/havp_avupdate
-
HAVP update to 0.91_3 pkg v1.05_1 doesn't solve this problem, manual changes to havp.inc file must be done.