HAVP services not starting



  • Good day,
    Just installed HAVP Antivirus HTTP proxy Service as a stand alone (No squid) but I cannot get the service to start. I am running the latest Pfsense 2,2 RC. Here are my settings:

    Proxy settings tab:
    1 - Enabled
    2- Proxy Mode - Standard
    3 - Interface - Lan
    4 - Port - 3125
    5 - Enable RAM Disk
    6 - Scan broken executables

    All other proxy settings are default

    Settings Tab

    Chose every 12 hours and chose my country server

    ON the General Tab:

    • No services started and trying to manually start does nothing
    • No Antivirus Database info

    Not sure if I am missing something…...



  • It's happening to me as well. I did reinstall the HAVP package and the end result was the same. It wouldn't start. I noticed some errors in the log about some scripts that do not exist. Maybe the install wasn't successful?



  • Login to SSH to pfSense machine, switch to console ("8" menu) and execute:```
    havp.sh start



  • Below my output. just upgraded to v2.2 , everything was working before, but not anymore

    
    [2.2-RELEASE][admin@<hostname removed="">]/usr/local/etc/havp: /usr/local/etc/rc.d/havp.sh start
    Configuration is not edited!
    You must delete REMOVETHISLINE option.
    Review the configuration carefully. :)
    Exiting..
    [2.2-RELEASE][admin@<hostname removed="">]/usr/local/etc/havp: grep -r REMOVETHISLINE /usr/local/etc/
    [2.2-RELEASE][admin@<hostname removed="">]/usr/local/etc/havp:</hostname></hostname></hostname> 
    


  • Try squid3 instead, it has clamav integration woking fine.



  • I have tried HVAP several times on the 2.2 release candidates going back as far as December.  It has never worked for me.  On 2.1 it was fine.  It seems like the install script needs some attention because it appears to be looking for files in the wrong place. I am surprised that since this has been going on so long that it was not fixed before 2.2 was released.  It would be most appreciated if somebody could take a look at this and make it work again. I would rather not run a proxy server just to scan for viruses.



  • The point is that you can't search for virus in https using havp but squid can.

    IMHO, havp is old and deprecated.



  • hvap will not start at all for me on 2.2



  • I am very new to Pfsense and I also just upgraded from 2.1.5 to 2.2 and HAVP service would not start.

    Also my internet connection was very spotty (going up and down) and i could not find any obvious errors in the system logs.
    So I uninstalled the HAVP package, and now internet access is working fine.
    Looking at a few of the posts here it seems that HAVP is no longer recommended because it does not scan https connections so I haven't reinstalled.

    Is there a updated list as to the packages that are depreciated that are not recommended with V2.2?

    Many thanks.



  • the package probably needs an update



  • same here
    after upgrade from 2.1.5 to 2.2
    havp dont work

    @SunStroke:

    Login to SSH to pfSense machine, switch to console ("8" menu) and execute:```
    havp.sh start

    havp.sh: Command not found.
    
    


  • @marcelloc:

    Try squid3 instead, it has clamav integration woking fine.

    even that is not working. Squid by itself is working, but when I activate the ClamAV integration, I always get a protocol error back when trying to go to some websites



  • @VipIT:

    even that is not working. Squid by itself is working, but when I activate the ClamAV integration, I always get a protocol error back when trying to go to some websites

    What version are you using?  I386 or amd64?
    When you active antivirus,  you have to wait  the first virus database(freshclam)  run to finish and  then stop and start  both squid and c-icap service. I've posted a step by step instructions for squid and antivirus for pfSense 2.2.



  • @marcelloc:

    @VipIT:

    even that is not working. Squid by itself is working, but when I activate the ClamAV integration, I always get a protocol error back when trying to go to some websites

    What version are you using?  I386 or amd64?
    When you active antivirus,  you have to wait  the first virus database(freshclam)  run to finish and  then stop and start  both squid and c-icap service. I've posted a step by step instructions for squid and antivirus for pfSense 2.2.

    amd64 on AMD G-T40E . got it working now, deinstalled everything, reinstalled again, went through all gui settings again, saved all those tabs (again) , restarted everything manually and now it's working. the Squid with ICAP at least. giving up on HAV for the moment.



  • This is the guide I did for a fresh install for further reference.
    https://forum.pfsense.org/index.php?topic=87424.msg480232#msg480232



  • @marcelloc:

    This is the guide I did for a fresh install for further reference.
    https://forum.pfsense.org/index.php?topic=87424.msg480232#msg480232

    yeah followed that one, although I did not have to set the settings again, because even when uninstalling, it retains the settings., but going through every tab and saving on that tab again and restarting everything did solve the issue



  • Is there a way to fix it
    Without reinstall

    Why it stopped working ?@firefox:

    same here
    after upgrade from 2.1.5 to 2.2
    havp dont work

    @SunStroke:

    Login to SSH to pfSense machine, switch to console ("8" menu) and execute:```
    havp.sh start

    havp.sh: Command not found.
    
    


  • even on a clean 2.2 install, it will not start (for me)



  • Confirm, also on my pfsense, after upgrade to 2.2 (amd64), havp doesn't start. I have tried to remove and reinstall but without success.



  • But what is the solution to this problem
    And why is this happening

    If this happens to many people
    At least
    One should know what is the solution



  • solution seems to be an update to the package, so we have to wait



  • Did this get resolved? I just did fresh install.  Same issues


  • Banned

    @dark.neo29:

    Did this get resolved? I just did fresh install.  Same issues

    No. https://github.com/pfsense/pfsense-packages/pull/871

    And frankly, considering this thing is more dead than a coffin nail upstream, you'd seriously be better off switching to Squid3 + C-ICAP.



  • on a clean install of 2.2.3 it starts up and runs (needs to sit a while after doing the first update)

    then it gives the "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" but does work with the latest update