• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Martin T
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Martin T

    • RE: Bandwidth graph on FOG WebUI is off by six hours

      Yes. I should have mentioned that too.

      posted in FOG Problems
      M
      Martin T
    • Bandwidth graph on FOG WebUI is off by six hours

      Can someone point me in the right direction? Thanks.

      I have edited the etc/php5/apache2/php.ini and that did not correct it.

      [ATTACH=full]256[/ATTACH]

      [url=“/_imported_xf_attachments/0/256_Capture.JPG?:”]Capture.JPG[/url]

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      Even after making the changes above and ‘knowing’ that I had the AV scanning working sometimes it would not work. Especially when trying to show staff how good this product was. The culprit - different kernels. I found that ‘Kernel - 2.6.35.7 KS’ would not allow the AV scan to work but the default bzImage would. Thanks for all the help.

      posted in FOG Problems
      M
      Martin T
    • RE: Clamav version update

      now I have done apt-get install libicu48 based on above.

      I am looking for expertise that can show where I am going wrong. It seems I am stepping through error by error.

      posted in General
      M
      Martin T
    • RE: Clamav version update

      I did this and getting closer. Can someone help get this finished?
      apt-get install pkg-config
      apt-get update
      apt-get upgrade

      Now I get the following:
      …
      rm /Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/zconf.tab.c
      make[1]: Leaving directory `/Temp/NewInit/buildroot-2011.08/package/config’
      Unable to load library icui18n “Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)”
      qconf: cannot connect to X server
      make: *** [[B]xconfig] Error 1[/B]

      posted in General
      M
      Martin T
    • RE: Clamav version update

      I used echo export QTDIR=/usr/share/qt4 >> ~/.bashrc
      and can see QTDIR=/usr/share/qt4 when I use env
      and get the same text errors above

      posted in General
      M
      Martin T
    • RE: Clamav version update

      Hello,

      Heres what I have completed based on the wiki - [url]http://www.fogproject.org/wiki/index.php/Build_FOG_file_system_with_BuildRoot_-_init.gz[/url] - and your notes above. I am getting the errors listed using the CLI, no GUI used. I am using Ubuntu 12.04.2 server LTS 64bit and FOG 0.32 and ClamAV 0.97.6. I have searched and found different recommendations but checking to see if you know exact problem.

      Can you help me get past this error? Thanks again.

      1 - update Ubuntu
      apt-get update
      apt-get upgrade
      apt-get install build-essential subversion libqt4-dev bison flex gettext texinfo zlib1g-dev uuid-dev
      2 - download the FOG source
      cd /
      cd Temp
      mkdir NewInit
      mkdir NewInit/svn
      cd NewInit/svn
      svn checkout [url]https://freeghost.svn.sourceforge.net/svnroot/freeghost/trunk[/url]
      You should get a checked version XXXX. As of 28 Feb 13 it is 898.
      3 - download Buildroot
      cd …
      wget [url]http://buildroot.uclibc.org/downloads/buildroot-2011.08.tar.gz[/url]
      tar xvfz buildroot-2011.08.tar.gz
      3a - The change for ClamAV
      nano svn/trunk/src/buildroot/package/customize/clamav/clamav.mk
      change CLAMAV_VERSION:=0.97.1 to CLAMAV_VERSION:=0.97.6
      remove the last / from CLAMAV_SITE:=[url]http://[/url]…
      4 - copy source to Buildroot
      cp -rf svn/trunk/src/buildroot/* buildroot-2011.08/
      cd buildroot-2011.08
      mv fog.buildroot.config .config
      5 - build FOG file system
      make xconfig
      then

      mkdir -p /Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/lxdialog
      make CC=“/usr/bin/gcc” HOSTCC=“/usr/bin/gcc” obj=/Temp/NewInit/buildroot-2011.08/output/build/buildroot-config -C package/config -f Makefile.br qconf
      make[1]: Entering directory `/Temp/NewInit/buildroot-2011.08/package/config’
      /usr/bin/gcc -DCURSES_LOC=“<curses.h>” -DLOCALE -I/Temp/NewInit/buildroot-2011.08/output/build/buildroot-config -MM *.c > /Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/.depend 2>/dev/null || :
      CHECK qt

      • [B]Unable to find the QT4 tool qmake. Trying to use QT3[/B]
      • [B]Unable to find any QT installation. Please make sure that[/B]
        [B]* the QT4 or QT3 development package is correctly installed[/B] and
      • either qmake can be found or install pkg-config or set
      • the QTDIR environment variable to the correct location.

      make[1]: Leaving directory /Temp/NewInit/buildroot-2011.08/package/config' make[1]: Entering directory /Temp/NewInit/buildroot-2011.08/package/config’
      CHECK qt

      • Unable to find the QT4 tool qmake. Trying to use QT3
      • Unable to find any QT installation. Please make sure that
      • the QT4 or QT3 development package is correctly installed and
      • either qmake can be found or install pkg-config or set
      • the QTDIR environment variable to the correct location.

      make[1]: *** No rule to make target /Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/.tmp_qtcheck', needed by /Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/qconf.o’. Stop.
      make[1]: Leaving directory `/Temp/NewInit/buildroot-2011.08/package/config’
      make: *** [/Temp/NewInit/buildroot-2011.08/output/build/buildroot-config/qconf][B] Error 2[/B]

      posted in General
      M
      Martin T
    • RE: Clam AV Scans Not Working

      These are the only items I changed after the rebuild/install of FOG and [B]ClamAV is now working at the client[/B]. I will now work on getting rid of the OUTDATED AV ENGINE errors.

      1 - (6, 7, 8 from above) - [B]modify the init.gz image file[/B]
      cd /
      cd /tftpboot/fog/images
      cp init.gz init-ORIG.gz
      gunzip init.gz
      mkdir initmountdir
      mount -o loop init initmountdir
      nano initmountdir/etc/freshclam.conf
      add “ScriptedUpdates” to “no” based on above ERROR
      change “DatabaseMirror” to “IPAddressOfServer” instead of original “database.clamav.net”
      umount initmountdir/
      rmdir initmountdir
      gzip init

      2 - [B]create symbolic links[/B]
      cd /var/www
      ln -s /var/lib/clamav/bytecode.cvd
      ln -s /var/lib/clamav/daily.cvd
      ln -s /var/lib/clamav/main.cvd

      Before I start working on the init.gz do either of you know what I need to change so that the client does not reboot after the AV scan is finished? I want to see what the results are before the computer reboots.

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      Thank you Fernando Gietz and chad-bisd for input.

      I have rebuilt the complete fog server with Ubuntu 12.04.2 LTS 64bit and fog .32 and I am back to the same error that I started with (clamaverror.jpg Monday 2:41PM). I did this because I have tried so many changes that I wanted to make sure that I got back to a safe starting point. So a few questions, if you please.
      Do I go back and make all the changes 1-9, yesterday at 11:34 AM or try the rebuild/resize of init.gz?[B] - both[/B]
      The server does have 0.97.6 and I see the client does say 0.97.1. Are the definitions truly incompatible?[B] - Fernando Gietz[/B]
      Where is the FOG_PXE_IMAGE_DNSADDRESS at? [B]- Fernando Gietz[/B]
      I can only find main, daily, and bytecode CVD files. No CLD files. Do I just make the symbolic links to what I have? [B]- chad-bisd[/B]
      I have asked other questions above but let’s see how this goes.
      I am willing to try almost anything and can rebuild the server when I know exactly the steps to make it work. Hopefully I can create a complete posting that outlines the exact steps to make this work for everyone who wants this task to work correctly.

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      Thanks for the help. I appreciate your expertise also.
      FOG did install ClamAV and it looked to be updating correctly but I was trying to get the AV task to run.
      The server does have 0.97.6 and I see the client does say 0.97.1.
      Other than what I have added to /etc/freshclam.conf what else do I need to add?
      Do you think that I can just put the correct definitions in /usr/share/clamav? I cannot find the correct files but if I could would that work?
      From the CLI I can resolve all items necessary for ClamAV based on what I have read. Are there other setting for the DNS_ADDRESS in the FOG server that I have not found?
      How do I rebuild the init.gz with the same version of clamav?
      Does this feature work as implemented on FOG or was a good idea but now does not work because the definitions are too large?

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      Here is what I have tried step-by-step based on your numbers above. I think we are making progress. thanks again.

      Fix ClamAV
      1 - remove ClamAV
      apt-get --purge remove clamav clamav-base clamav-daemon clamav-freshclam libclamav2
      apt-get autoremove libclamav6

      add software to allow adding the PPA
      apt-get install python-software-properties

      2 - add the PPA
      add-apt-repository ppa:ubuntu-clamav/ppa

      3 - install newest ClamAV
      apt-get install clamav

      4 - update ClamAV definitions
      freshclam

      5 - disable scripted updates and let ClamAV download definitions to the [B]root of the web server[/B]
      nano /etc/clamav/freshclam.conf
      change “ScriptedUpdates” to “no” - instead of original “yes”
      changing to “off” produced the following when running freshclam
      ERROR: Incorrect argument format for option ScriptedUpdates
      ERROR: Can’t open/parse the config file /etc/clamav/freshclam.conf

      6, 7, 8 - modify the init.gz image file
      cd /
      cd /tftpboot/fog/images
      cp init.gz init-ORIG.gz
      gunzip init.gz
      mkdir initmountdir
      mount -o loop init initmountdir
      nano initmountdir/etc/freshclam.conf
      add “ScriptedUpdates” to “no” based on above ERROR
      change “DatabaseMirror” to “IPAddressOfServer” instead of original “database.clamav.net”
      umount initmountdir/
      rmdir initmountdir
      gzip init

      here is what the directory structure looks like
      /var/www/fog/av/clamav and the files
      -rw-r–r-- 1 clamav clamav 60125 Feb 26 09:21 bytecode.cvd
      -rw-r–r-- 1 clamav clamav 20404363 Feb 26 09:21 daily.cvd
      -rw-r–r-- 1 clamav clamav 30750647 Feb 26 09:21 main.cvd
      -rw------- 1 clamav clamav 104 Feb 26 11:09 mirrors.dat

      9 - setup a virus scan task in FOG to test
      (here is a modified) pic of the results

      [url=“/_imported_xf_attachments/0/252_AfterChanges.jpg?:”]AfterChanges.jpg[/url]

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      Thanks for the response and your expertise.
      This is the one I think you are referring to: [url]http://www.fogproject.org/wiki/index.php/Clamav[/url]
      I have pasted it below for reference.
      At the bottom you say that you will update and remove the note so I did not know if these are complete.

      Ubuntu 10.04 LTS
      [LIST=1]
      []Remove ClamAV installed with Fog because it’s out of date and generates too many warnings when trying to update, if it updates at all
      [
      ]Add the PPA to your sources list: ppa:ubuntu-clamav/ppa
      []Get the newest clamav installed on your Fog Server
      [
      ]Update your definitions by running freshclam
      []Disable scripted updates and let ClamAV download definitions to the root of the web server. Add “ScriptedUpdates off” to the freshclam.conf file on the Fog Server.
      [
      ]Expand the Fog init file. (from [URL=‘http://fogproject.org/wiki/index.php/Modifying_the_Init_Image’][U][COLOR=#000080]Modifying_the_Init_Image[/COLOR][/U][/URL])
      [LIST]
      []cd /tftpboot/fog/images
      [
      ]gunzip init.gz
      []mkdir initmountdir
      [
      ]mount -o loop init initmountdir
      [/LIST]
      []Modify the freshclam.conf file inside the init. Add “DatabaseMirror MyFogServerNameOrIP” and “ScriptedUpdates off” to this file.
      [
      ]Compress the init file.
      [LIST]
      []cd /tftpboot/fog/images
      [
      ]umount initmountdir/
      []rmdir initmountdir
      [
      ]gzip init
      [/LIST]
      [*]Setup a virus scan task for a host and watch your client download the definitions from your Fog server and run the scan
      [/LIST]
      [B]Note:[/B] These steps are from memory and may be slightly off. I will update and remove this note when I am able to verify the steps - [URL=‘http://fogproject.org/wiki/index.php/User:Chad-bisd’][U][COLOR=#000080]Chad-bisd[/COLOR][/U][/URL] 20:18, 13 June 2012 (MDT)

      posted in FOG Problems
      M
      Martin T
    • RE: Clam AV Scans Not Working

      I am getting this error too. freshclam looks to works when I ssh to the server but when I create the task in fog this is what i get. I have created the directory structure and copied the cvd and cld files there but i still get this. I have reinstalled this fog server 4 different times and the same thing happens. Ubuntu 12.04 LTS and fog .32. I have just started using fog and the other items seem to work fine. This clamav would give me another way to ‘clean’ a windows computer. I am very new to ubuntu and fog but am willing learn and work for the knowledge and read many posts but unable to find the exact answer.

      [url=“/_imported_xf_attachments/0/251_clamaverror.jpg?:”]clamaverror.jpg[/url]

      posted in FOG Problems
      M
      Martin T
    • 1 / 1