2 problems



  • Hi, i am new to the FOG community and new to the FOG project. I currently moved my image management from Ghost to FOG. I have a storage node and server set up both with 3 TB HDD. Everything is working smooth across the network, however I am stuck on two issues and I hope that this community can help me solve them. I am using Ubuntu 11.10 64bit server edition.
    The first issue is that under the host management tab all users with windows 7 and the firewall turned on i have a red dot with host down. I can ping the machines (by name and IP) from the fog server. Users with Windows XP and firewall work fine (UDP port 7 allowed and ICMP allowed). Users with W7 and firewall off show up as green. I am completely stumped. Even if i create a new rule (inbound and outbound) to allow everything still host down with a red dot appears.
    The second issue is that i can not get clamav to scan. My FOG server is connected to the internet and I can get all updates with freshclam (says i have the newest version installed). But when i select virus scan from the fog menu i get the same error as another user was on here. [IMG]http://fogproject.org/forum/attachments/img_20120212_132453-jpg.41/[/IMG]

    After this is goes to Can’t query current.cvd.clamav.net Invalid DNS reply. Falling back to HTTP mode. Can’t get information about database.clamav.net. Can’t download main…cvd from database.clamav.net. Trying again in 5 secs…

    I am able to ping all the servers and I get a readout when I do host -t txt current.cvd.clamav.net

    "current.cvd.clamav.net descriptive text “0.97.3:54:14555:1330532941:1:63:36511:167”

    Thank you all in advanced for your help.

                                                                                                                          Sk00t3r


  • for ubuntu 12.04 use
    ppa:ubuntu-clamav/ppa



  • Finally got it to work locally but will test it on clients soon
    all I did was to update the source list after removing the old clamav
    [LIST=1]
    []sudo nano /etc/apt/sourcelist.conf
    [
    ]add this line [COLOR=#0000ff]deb [url]http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu[/url] maverick main[/COLOR]
    []then apt-get update
    [
    ]then apt-get install clamav
    []then configure /usr/local/etc/freshclam.conf
    [
    ]then run fresh clamav
    [/LIST]



  • I guess Clamav version 0.97 on ubuntu 10.04 needs more investigation, I will try to install it using the manual method. cuz the source list doesn’t contain version 0.97 only 0.96!!!



  • [quote=“chad-bisd, post: 4110, member: 18”]I have updated the WIKI article: [url]http://www.fogproject.org/wiki/index.php/Clamav[/url]

    I need to get back to school and verify the steps I took, but it’s enough to get you on the right track.[/quote]

    That’s certainly enough to point in the right direction! Thanks again for all your help.


  • Moderator

    I have updated the WIKI article: [url]http://www.fogproject.org/wiki/index.php/Clamav[/url]

    I need to get back to school and verify the steps I took, but it’s enough to get you on the right track.



  • [quote=“chad-bisd, post: 3078, member: 18”]ok. I got clamav to work on my Fog 0.32 server. It might have been easier to get healthcare reform legislation passed in the US, but it’s done.

    I had to add the PPA package source to apt, remove the old clamav on the server, install the new one from PPA. Expand the init.gz that fog uses, update the hosts and freshclam.conf files, and make symbolic links to the virus databases in the root of my web server. If anyone wants specifics, I’ll explain, but it’s quitting time and my butt hurts from working on this for 4 hours.[/quote]

    Hi chad-bisd,

    I’m having the same problem, so I removed the clamav, installed from PPA. Still not working (as I though) so could you post in the very short way the steps:

    • Expand the init.gz that fog uses
    • update the hosts and freshclam.conf files
    • make symbolic links to the virus databases in the root of my web server

    so we can keep trying.

    thanks



  • No worries! I appreciate the help, and I look forward to seeing that article from you.


  • Moderator

    I started to edit the clamav wiki article, but it wasn’t flowing right so I am trying to figure it out. Too busy with end of the school year stuff at the moment, but be patient and I’ll have some specifics up near the end of May/beginning of June



  • I’m in the same boat as Sk00t3r. I’ve been trying to hammer my way through making a FOG server, but as this is the first time I’ve ever used Linux, it’s been creating some problems for me. I have the majority of the server up and running with a master image, but getting ClamAV to work is still escaping me. Any luck with that wiki? I would really appreciate taking a look at what you have to say about it.


  • Moderator

    I’ll wiki it and post when it’s done.



  • Nice, as a Linux/Fog n00b I would love some step-by-step / specifics if you have the time. If not that’s okay too, I’m sure I’ll figure it out from the post above. Thanks again.


  • Moderator

    ok. I got clamav to work on my Fog 0.32 server. It might have been easier to get healthcare reform legislation passed in the US, but it’s done.

    I had to add the PPA package source to apt, remove the old clamav on the server, install the new one from PPA. Expand the init.gz that fog uses, update the hosts and freshclam.conf files, and make symbolic links to the virus databases in the root of my web server. If anyone wants specifics, I’ll explain, but it’s quitting time and my butt hurts from working on this for 4 hours.


  • Moderator

    I’ve setup 3 Fog 0.32 servers, and it installs clamav during the Ubuntu instal for Fog (at least it says it does). I have 3 Fog servers that all give the same error when trying to run the virus scan, “no supported database found”. I think it’s a glitch and I haven’t invested the time to fix it.



  • As stated before, the current version of the client software was built around Windows XP, and hasn’t been rebuilt or optimized for NT6. Things such as UAC, printer management, etc do throw it off from time to time.

    If a C+ / C Sharp dev wants to donate some time to make the software play a bit nicer that would be awesome.

    In it’s current form the client software is functional, just not robust.



  • That is correct, but it appears that there is currently no known way to make it work without completely disabling windows firewall… bummer…



  • So to confirm, if you have the firewall disabled they ping and show up correctly… ? yes?



  • I am having the same issue with the firewall on Windows 7. Making exceptions do nothing. I will keep tinkering with it but so far it’s driving me nuts :mad:



  • Did you install Clam AV before fog? I do not think it is bundled with FOG.
    Your photo shows this message
    "Lib Clam AV Error: cli_loaddb(): No Supported database for Clamav" - does it show a location? like usr/local/share/clamav???

    If it does, is that the correct location you installed Clam?
    Do you have a MySQL database for clam?
    I do not have Clam on my system, but I assume that when it gets installed, it creates a DB for it.



  • Okay, well I got around to trying a few more things. Still no luck. IPV6 is disabled on the adapter and still the same results occur. Anyone have this working with W7 and the firewall enabled? Thank you all.


Log in to reply
 

362
Online

38982
Users

10712
Topics

101678
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.