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

ClamAV help

Scheduled Pinned Locked Moved
FOG Problems
3
9
2.8k
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
    madmax
    last edited by Nov 22, 2013, 10:57 PM

    I have done the work around to get the client to reference the fog server’s clamav’s database items. However, when the file gets about 70-80% downloaded it get the following error.

    getfile: Can’t write 1448 bytes to /usr/share/clamav/clamav-a712…
    Can’t download main.cvd from my.fog.server.ip

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 22, 2013, 11:01 PM

      Increase your memory size from 127000 to maybe 250000

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • M
        madmax
        last edited by Nov 24, 2013, 5:14 PM

        How do i do that?

        Thanks for the reply Tom

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Nov 24, 2013, 6:20 PM

          FOG Configuration (Other Information)->FOG Settings->FOG_KERNEL_RAMDISK_SIZE

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • M
            madmax
            last edited by Nov 25, 2013, 12:26 AM

            Still running into that same error, if my fog server only has 2 gb of ram could that be a problem?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Nov 25, 2013, 11:46 AM

              No,

              Ram isn’t necessarily the issue in and of itself. It’s file space. What I’ve done to circumvent this is to forcibly mount my /usr/share/clamav directory from my fog server’s file system. In my case, it’s just a blank file, but as you’ve already stated you’re trying to use the FOG Server’s clamav database, maybe you can adjust your mounts to mount the folder directly.

              The way you’d do this is to edit your /etc/exports file and add your clamav database directory to the system. Then adjust the init.gz scripts to mount the folder on the client as /usr/share/clamav. Then you shouldn’t have to download any files as they’ll be mounted to the system. I’m currently trying to tweak the init.gz to play with partclone. While I’m doing this, I’ll take a look at the fog.av script to see how I can best approach this and try to report back. It’ll probably be a little bit as I have work to do as well. I hope this is feasible for you.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • M
                madmax
                last edited by Nov 30, 2013, 2:58 AM

                Tom,

                I’m editing the exports file now, however i’m not familiar with the language. I’ve just copied the *(rw,sync,no_wdelay,no_root_squash,insecure) from /images/dev

                I’m also not familiar with writing or editing the scripts as of right now. how would i go about doing that?

                Ill play with this and see if i can to work. This is for a final project due next week so if i can’t get this to work then i probably won’t be working on it much afterwards.

                Thank you for all your help.

                1 Reply Last reply Reply Quote 0
                • N
                  Nir
                  last edited by Apr 8, 2014, 6:21 AM

                  Hi Tom, Hi Madmax,
                  first of all i would like thanks FOG for invite me to the world of LINUX,
                  I’m so grateful to learn so much from this amazing system!

                  i want to join to this issue because the process of updating clamav stuck at the same point like Madmax
                  if you can explain what file needs to be edited inside the init.gz for creating the mount the folder that include the updates files in my Linux …

                  FOUND!!! :):)
                  after mount the init file go to the etc/fog.av file and edit its line when you can see “size=50m”
                  change it to 100m it will be enough for updating clamav with the latest signature

                  thanks in advanced
                  Nir

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nir
                    last edited by Apr 8, 2014, 1:03 PM

                    go to the end of this post,
                    [url]http://fogproject.org/forum/threads/clam-av-scans-not-working.308/page-2[/url]
                    this what help me to understand

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

                    222

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project