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

    HAVP Trouble, ClamAV is not starting

    Scheduled Pinned Locked Moved pfSense Packages
    14 Posts 4 Posters 8.8k 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.
    • R
      redflag237
      last edited by

      I'm having similar problems for dansguardian package, too. No Content is being checked by clamAV.
      Does anybody can give me a hint where i could start searching for?

      ~maybe~ the problems with dansguardian could be the result of the problems i had before using havp. How can i remove clamav and all it's config by shell for a fresh dansguardian install (auto-depencies should reinstall it, right?)?

      I'm not firm with bsd commands - is it the common apt-get or what's running on here?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • W
        wheelz
        last edited by

        You can run pkg_delete (package name) to manually remove a package.  You can add a -f before the package name to force it regardless of dependecies if needed.

        1 Reply Last reply Reply Quote 0
        • S
          samham
          last edited by

          is clamd running check if you have .pid and .sock in the /var/run/clamav/ directory?

          1 Reply Last reply Reply Quote 0
          • R
            redflag237
            last edited by

            @samham:

            is clamd running check if you have .pid and .sock in the /var/run/clamav/ directory?

            Could you explain this a bit more detailled, please? i only know 'ps' from ubuntu machine.

            1 Reply Last reply Reply Quote 0
            • R
              redflag237
              last edited by

              @wheelz:

              You can run pkg_delete (package name) to manually remove a package.  You can add a -f before the package name to force it regardless of dependecies if needed.

              Thanks very much - is pkg_list valid for listing installed Packages?

              1 Reply Last reply Reply Quote 0
              • S
                samham
                last edited by

                type in 'ls -l /var/run/clamav/' what is the output if nothing type 'clamd' what do you get?

                1 Reply Last reply Reply Quote 0
                • W
                  wheelz
                  last edited by

                  @redflag237:

                  @wheelz:

                  You can run pkg_delete (package name) to manually remove a package.  You can add a -f before the package name to force it regardless of dependecies if needed.

                  Thanks very much - is pkg_list valid for listing installed Packages?

                  I believe so.  I don't have a system on hand to check right now, but you can try it.

                  1 Reply Last reply Reply Quote 0
                  • R
                    redflag237
                    last edited by

                    @samham:

                    type in 'ls -l /var/run/clamav/' what is the output if nothing type 'clamd' what do you get?

                    Hi,
                    There is nothing running.
                    /var/run holds a large list, but clamd is missing.

                    Any Ideas?

                    1 Reply Last reply Reply Quote 0
                    • R
                      redflag237
                      last edited by

                      @redflag237:

                      @samham:

                      type in 'ls -l /var/run/clamav/' what is the output if nothing type 'clamd' what do you get?

                      Hi,
                      There is nothing running.
                      /var/run holds a large list, but clamd is missing.

                      Any Ideas?

                      Okay, one pkg_delete later… :-)
                      [2.0.2-RELEASE][admin@herakles.home]/root(2): ls -l /var/run/clamav
                      -> total 0

                      this is more than before. UNfortunately i cannot find any init.d folder, i would have tried restarting it manually.
                      Any Ideas?

                      1 Reply Last reply Reply Quote 0
                      • S
                        samham
                        last edited by

                        type clamd what do you get?

                        1 Reply Last reply Reply Quote 0
                        • R
                          redflag237
                          last edited by

                          @samham:

                          type clamd what do you get?

                          Ah, interesting!
                          Got following message:

                          WARNING: Ignoring deprecated option MailFollowURLs at line 50
                          LibClamAV Error: cli_loaddb(): No supported database files found in /var/db/clamav
                          ERROR: Can't open file or directory
                          
                          

                          I'm currently trying to use the Update option. Hopefully it helps, but the last Update was even this night.

                          Update: In /var/db/clamav is only one file called mirrors.dat

                          Update 2: manually running 'freshclam -v', error filesystem full.
                          But…

                          # df -h
                          Filesystem           Size    Used   Avail Capacity  Mounted on
                          /dev/ufs/pfsense0    908M    583M    252M    70%    /
                          devfs                1.0K    1.0K      0B   100%    /dev
                          /dev/md0              38M    3.8M     32M    11%    /tmp
                          /dev/md1              58M     25M     28M    47%    /var
                          /dev/ufs/cf           49M    4.8M     41M    11%    /cf
                          devfs                1.0K    1.0K      0B   100%    /var/dhcpd/dev
                          /dev/md10            357M     10K    329M     0%    /var/tmp/havpRAM
                          

                          there should be enough space left. Any Idea?

                          And of course the full Message:

                          Trying to download http://clamav.edpnet.net/main.cvd (IP: 212.71.0.66)
                          Downloading main.cvd [ 97%]
                          /var: write failed, filesystem is full
                          getfile: Can't write 1440 bytes to /var/db/clamav/clamav-791a1aa09c0e56b68368f1047a2c156b/clamav-7839e6b13656db5b723773c445f34aab
                          WARNING: Can't download main.cvd from clamav.edpnet.net
                          cannot create /tmp/havp.freshclam.status: Permission denied
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • G
                            Gloom
                            last edited by

                            The file you are attempting to download (main.cvd) is 29 meg. Your /var filesystem has 28meg free. Hence your out of disk space error.

                            What sort of device are you installing to?

                            Never underestimate the power of human stupidity

                            1 Reply Last reply Reply Quote 0
                            • R
                              redflag237
                              last edited by

                              @Gloom:

                              The file you are attempting to download (main.cvd) is 29 meg. Your /var filesystem has 28meg free. Hence your out of disk space error.

                              What sort of device are you installing to?

                              It is a Watchguard Firebox, Embedded 4GB CF Card

                              Okay, I deleted rdd and now it was enough space for the main.cvd, it is still not enough for the daily.cvd.
                              Due to 1.5GB of RAM, i had the idea to use a tmpfs in RAM for storing the db. Including it in fstab and directly mounting /var/db/clamav to that ram-partition. 
                              However, it will be refreshed frequently, so a reboot won't be that bad.

                              Goal 1 Archieved: clamd is up and running. But DB Version is from 2011 :-(

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