• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog Clamav update/directory woes.

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    8
    3.4k
    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.
    • M
      merc.man87
      last edited by

      First,

      Hello fog forums! I just stumbled across fog, and I love it! It has so much potential, just one problem…I cannot get fog to update it’s av on the client machine once it’s been pxe booted and I have issues a task to it such as virus scan, the task goes through fine, it just fails to resolve current.cvd.clamav.net and it states that no database files was found in /usr/share/clamav.

      First off, after I do the installfog.sh and installs clamav it installs the default database directory in /var/lib/clamav
      I have tried to change the database directory to /usr/share/clamav and I get "database directory must be writable for guid 121 or 128. I have tried changing ownership of the file and chmod the file to no avail.

      here’s some things that I am sure that are working: DNS is working on the Fog server itself, I can ping google, I can even ping local machines via their host name on my domain. Everything else works fine with the install, except the boot time scan which is sorely needed in the environment. I am running Ubuntu Desktop Edition 12.04LTS. Any help would be greatly appreciated! Thanks.

      -Matt

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        I was able to modify my FOG server to host the clamav updates on the root of the web server and change the clamav settings in the init.gz for the clients so they checked the fog server for the daily updates, rather that going out to the internet and downloading them.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • M
          merc.man87
          last edited by

          [quote=“chad-bisd, post: 8593, member: 18”]I was able to modify my FOG server to host the clamav updates on the root of the web server and change the clamav settings in the init.gz for the clients so they checked the fog server for the daily updates, rather that going out to the internet and downloading them.[/quote]

          That sounds great! Do you have some ins for me? I have unzipped the init.gz a few times in a couple of past installs and tried some stuff with no luk.

          -Matt

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by

            Check the wiki, search for clamav. I updated the article a while back with the steps.


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • M
              merc.man87
              last edited by

              [quote=“chad-bisd, post: 8596, member: 18”]Check the wiki, search for clamav. I updated the article a while back with the steps.[/quote]

              Are you referring to this wiki?
              [url]http://www.fogproject.org/wiki/index.php?title=Clamav[/url]

              I have tried these steps a few times, the only thing is that i am having troubles with getting it to find the database files as it looks for them in /usr/share/clamav which doesn’t get created by default with installfog.sh, i have to create it, and even at that point no amount of chmod or chown will allow clamav to download it’s goodies to that directory. Are you running 12.04 or should I try running 10.04LTS?

              1 Reply Last reply Reply Quote 0
              • D
                dvlsg
                last edited by

                I actually still have the same problem. The computer running the clamscan errors out on switching directory to /var/lib/clamav
                [I]“ERROR: Can’t change dir to /var/lib/clamav”[/I]
                Then it tries switching to /usr/share/clamav which, as merc.man87 points out, obviously doesn’t work.

                I’m also running 12.04, by the way. I sort of gave up troubleshooting it for a while, since it was turning into a time sink for something I wouldn’t use very often.

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  I have not moved to Ubuntu 12.04 yet. All my FOG servers are 10.04 Server LTS.


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvlsg
                    last edited by

                    Yeah, I could see 12.04 being the cause of our problems.

                    To be honest, if the virus messes up the computer badly enough to need a pxe boot scan to actually remove it, I’ve found it saves time to just reimage the machine (we make use of a lot of network storage, so losing files is almost never an issue).

                    I’m actually not sure about how well ClamAV works in regards to detecting and removing viruses, but maybe that’s for a different thread.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    144

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project