Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAVP and pfsense 2.0 beta5

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    18 Posts 3 Posters 9.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      ohifra
      last edited by

      Sorry for my bad English. I wanted to know if you kindly HAVP work with pfSense 2.0 beta5 because I have installed, but only part of the service manually and I always voice Antivirus server stopped.

      Thanks in advance for the answers
      havp.jpg_thumb
      havp.jpg

      1 Reply Last reply Reply Quote 0
      • D Offline
        dvserg
        last edited by

        What in the Status > Services menu about HAVP ?

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • O Offline
          ohifra
          last edited by

          now I have this situation and havp doesn't start  :-[

          av.jpg
          av.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • O Offline
            ohifra
            last edited by

            service status

            av2.jpg
            av2.jpg_thumb

            1 Reply Last reply Reply Quote 0
            • O Offline
              ohifra
              last edited by

              Antivirus: HTTP proxy (havp + clamav)

              av3.jpg
              av3.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • O Offline
                ohifra
                last edited by

                Antivirus: HTTP proxy (havp + clamav) - 2

                av4.jpg
                av4.jpg_thumb

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dvserg
                  last edited by

                  Start update and look syslog

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    ohifra
                    last edited by

                    I try to update the antivirus but nothing happens and the system log is not detected any errors.
                    But there is this screen of the antivirus error

                    Warning: dir (/ var / db / clamav /): failed to open dir: No such file or directory in / etc / inc / pfSense-utils.inc on line 432 Fatal error: Call to a member function read () on a non-object in / etc / inc / pfSense-utils.inc on line 433
                    
                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      ohifra
                      last edited by

                      here the sys log

                      Feb 12 19:35:14 	syslogd: kernel boot file is /boot/kernel/kernel
                      Feb 12 19:37:04 	check_reload_status: syncing firewall
                      Feb 12 19:37:08 	check_reload_status: syncing firewall
                      Feb 12 19:37:14 	check_reload_status: syncing firewall
                      Feb 12 19:37:14 	php: /pkg_mgr_install.php: The command 'killall -9 havp' returned exit code '1', the output was 'No matching processes were found'
                      Feb 12 19:37:23 	check_reload_status: syncing firewall
                      Feb 12 19:37:24 	php: /pkg_mgr_install.php: Beginning package installation for HAVP antivirus.
                      Feb 12 19:37:32 	check_reload_status: syncing firewall
                      Feb 12 19:37:41 	php: /pkg_mgr_install.php: The command '/usr/local/etc/rc.d/havp' returned exit code '1', the output was 'Usage: /usr/local/etc/rc.d/havp [fast|force|one](start|stop|restart|rcvar|status|poll)'
                      Feb 12 19:37:41 	php: /pkg_mgr_install.php: The command '/usr/local/etc/rc.d/clamd.sh' returned exit code '127', the output was '/usr/local/etc/rc.d/clamd.sh: not found'
                      Feb 12 19:37:50 	check_reload_status: syncing firewall
                      Feb 12 19:37:51 	php: /pkg_mgr_install.php: Starting HAVP
                      Feb 12 19:37:58 	check_reload_status: syncing firewall
                      Feb 12 19:38:03 	check_reload_status: syncing firewall
                      Feb 12 19:38:03 	check_reload_status: reloading filter
                      Feb 12 19:38:10 	check_reload_status: syncing firewall
                      Feb 12 19:38:13 	php: : Havp: Squid is already configured as transparent proxy. Use 'Standard' proxy mode.
                      Feb 12 19:38:13 	php: : Havp: Squid is already configured as transparent proxy. Use 'Standard' proxy mode.
                      Feb 12 19:39:06 	check_reload_status: syncing firewall
                      Feb 12 19:39:07 	php: /pkg_edit.php: Starting HAVP
                      Feb 12 19:39:14 	check_reload_status: syncing firewall
                      
                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dvserg
                        last edited by

                        Broken installation. Need full remove and new install Havp.

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          ohifra
                          last edited by

                          ok thanks  ;)

                          1 Reply Last reply Reply Quote 0
                          • O Offline
                            ohifra
                            last edited by

                            I reinstalled havp but will not start. The log file has these lines.

                            Feb 14 11:37:49 	check_reload_status: syncing firewall
                            Feb 14 11:37:50 	php: /pkg_mgr_install.php: Starting HAVP
                            Feb 14 11:37:51 	check_reload_status: syncing firewall
                            Feb 14 11:37:52 	check_reload_status: syncing firewall
                            Feb 14 11:38:13 	check_reload_status: reloading filter
                            Feb 14 11:38:15 	check_reload_status: syncing firewall
                            Feb 14 11:39:31 	check_reload_status: syncing firewall
                            Feb 14 11:39:32 	php: /pkg_edit.php: Starting HAVP
                            Feb 14 11:39:35 	check_reload_status: syncing firewall
                            Feb 14 11:39:55 	check_reload_status: syncing firewall
                            Feb 14 11:39:57 	check_reload_status: syncing firewall
                            Feb 14 11:40:12 	kernel: pid 19838 (freshclam), uid 106 inumber 3984 on /var: filesystem full
                            Feb 14 11:40:25 	kernel: pid 57042 (freshclam), uid 106, was killed: out of swap space
                            Feb 14 11:40:29 	php: /antivirus.php: Antivirus: Starting file '/tmp' scanner. Log file is '/var/log/clamscan.log'. Wait 5-10 minutes.
                            Feb 14 11:41:04 	php: /antivirus.php: Antivirus: Starting file '/var/db' scanner. Log file is '/var/log/clamscan.log'. Wait 5-10 minutes.
                            Feb 14 11:42:15 	check_reload_status: syncing firewall
                            Feb 14 11:42:16 	php: /pkg_edit.php: Starting HAVP
                            Feb 14 11:42:18 	check_reload_status: syncing firewall
                            Feb 14 11:44:15 	kernel: pid 38527 (freshclam), uid 106, was killed: out of swap space
                            Feb 14 11:44:42 	kernel: pid 37277 (clamd), uid 0, was killed: out of swap space
                            Feb 14 11:46:15 	kernel: pid 61899 (clamd), uid 0, was killed: out of swap space
                            
                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              dvserg
                              last edited by

                              Feb 14 11:40:12 kernel: pid 19838 (freshclam), uid 106 inumber 3984 on /var: filesystem full
                              Feb 14 11:40:25 kernel: pid 57042 (freshclam), uid 106, was killed: out of swap space

                              Free disk space and run AV update

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                ohifra
                                last edited by

                                thanks for your reply.
                                I have a 60GB hd and then place the data on my pfSense.
                                With the installation I performed the standard procedure. Maybe I should do a custom install and increase swap space?
                                Below place the System Activity

                                last pid: 24341;  load averages:  0.49,  0.23,  0.23  up 0+00:33:01    12:04:30
                                87 processes:  2 running, 71 sleeping, 1 zombie, 13 waiting
                                
                                Mem: 36M Active, 35M Inact, 104M Wired, 260K Cache, 34M Buf, 60M Free
                                Swap: 
                                
                                  PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
                                   10 root     171 ki31     0K     8K RUN     24:00 88.96% idle
                                25340 root      66    0 34212K 18000K piperd   0:11  1.95% php
                                    0 root     -16    0     0K    48K sched    0:41  0.00% {swapper}
                                   11 root     -64    -     0K   104K WAIT     0:39  0.00% {irq14: ata0}
                                25498 root      76    0 34212K 14900K accept   0:21  0.00% php
                                   11 root     -68    -     0K   104K WAIT     0:08  0.00% {irq11: vr1}
                                22966 root      44    0  6572K  3132K kqread   0:07  0.00% lighttpd
                                   11 root     -32    -     0K   104K WAIT     0:04  0.00% {swi4: clock}
                                    9 root     -16    -     0K     8K psleep   0:03  0.00% pagedaemon
                                    3 root      -8    -     0K     8K -        0:02  0.00% g_up
                                   35 root      -8    -     0K     8K mdwait   0:02  0.00% md1
                                   13 root     -16    -     0K     8K -        0:01  0.00% yarrow
                                   11 root     -68    -     0K   104K WAIT     0:01  0.00% {irq10: vr0}
                                    4 root      -8    -     0K     8K -        0:01  0.00% g_down
                                25152 root      76    0 34212K  8148K accept   0:01  0.00% php
                                47788 root      76   20  3656K   884K wait     0:01  0.00% sh
                                18452 root      44    0  3316K   916K select   0:01  0.00% apinger
                                41653 clamav    64   20 15620K  3680K kqread   0:00  0.00% freshclam
                                
                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  wallabybob
                                  last edited by

                                  How much memory is in the system? and no swap? (shell command # swapctl -l)

                                  and /var is full. How big are the file systems? (Shell command # df)

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    ohifra
                                    last edited by

                                    Now I have this version on an Alix and a 4GB CF
                                    pfSense-2.0-RC1-4g-i386-20110214-0324-nanobsd.img

                                    
                                    [2.0-RC1][root@pfSense.localdomain]/root(15): swapctl -l
                                    Device:       1024-blocks     Used:
                                    [2.0-RC1][root@pfSense.localdomain]/root(16): df
                                    Filesystem        1K-blocks   Used   Avail Capacity  Mounted on
                                    /dev/ufs/pfsense0   1898582 158284 1588411     9%    /
                                    devfs                     1      1       0   100%    /dev
                                    /dev/md0              39406    314   35940     1%    /tmp
                                    /dev/md1              59246  42420   12088    78%    /var
                                    /dev/ufs/cf           50527    106   46379     0%    /cf
                                    devfs                     1      1       0   100%    /var/dhcpd/dev
                                    /dev/md10             57262      6   52676     0%    /var/tmp/havpRAM
                                    [2.0-RC1][root@pfSense.localdomain]/root(17):
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dvserg
                                      last edited by

                                      Package HAVP not for NanoBSD.

                                      SquidGuardDoc EN  RU Tutorial
                                      Localization ru_PFSense

                                      1 Reply Last reply Reply Quote 0
                                      • O Offline
                                        ohifra
                                        last edited by

                                        :o ok now i install a full version of pfsense on a hd and then mount it on my alix

                                        thanks for reply

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.