RE:Virus Protection With AVG Antivirus On Ubuntu

Discussion in 'HOWTO-Related Questions' started by ensens, Jul 15, 2010.

  1. ensens

    ensens Member

    Last edited: Jul 15, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

    Open a terminal and become root:
    Code:
    sudo su
    Then run
    Code:
    updatedb
    locate avg
    What's the output of the last command?
     
  3. ensens

    ensens Member

    Code:
    # locate avg
    /etc/avg.conf
    /etc/init.d/avgd
    /etc/rc0.d/K20avgd
    /etc/rc1.d/K20avgd
    /etc/rc2.d/S20avgd
    /etc/rc3.d/S20avgd
    /etc/rc4.d/S20avgd
    /etc/rc5.d/S20avgd
    /etc/rc6.d/K20avgd
    /home/marc/Downloads/avg85flx-r812-a3371.i386.deb
    /opt/avg
    /opt/avg/avg8
    /opt/avg/avg8/bin
    /opt/avg/avg8/cfg
    /opt/avg/avg8/doc
    /opt/avg/avg8/etc
    /opt/avg/avg8/lib
    /opt/avg/avg8/log
    /opt/avg/avg8/man
    /opt/avg/avg8/update
    /opt/avg/avg8/var
    /opt/avg/avg8/bin/avgavid
    /opt/avg/avg8/bin/avgcfgctl
    /opt/avg/avg8/bin/avgctl
    /opt/avg/avg8/bin/avgd
    /opt/avg/avg8/bin/avgdiag.sh
    /opt/avg/avg8/bin/avgdiag_2010-07-14_21-23-55.tar.gz
    /opt/avg/avg8/bin/avgdump
    /opt/avg/avg8/bin/avgoad
    /opt/avg/avg8/bin/avgscan
    /opt/avg/avg8/bin/avgscand
    /opt/avg/avg8/bin/avgsched
    /opt/avg/avg8/bin/avgspamd
    /opt/avg/avg8/bin/avgtcpd
    /opt/avg/avg8/bin/avgupd
    /opt/avg/avg8/bin/avgupdate
    /opt/avg/avg8/bin/avgwrapper.sh
    /opt/avg/avg8/cfg/admin.lock
    /opt/avg/avg8/cfg/ameh.lock
    /opt/avg/avg8/cfg/amrules.lock
    /opt/avg/avg8/cfg/aspam.lock
    /opt/avg/avg8/cfg/aspmlist.lock
    /opt/avg/avg8/cfg/cachesrv.lock
    /opt/avg/avg8/cfg/changecfgreg.lock
    /opt/avg/avg8/cfg/dfncfg.dat
    /opt/avg/avg8/cfg/dfncfg.lock
    /opt/avg/avg8/cfg/dump.ini
    /opt/avg/avg8/cfg/emssrv.lock
    /opt/avg/avg8/cfg/erd.lock
    /opt/avg/avg8/cfg/except.lock
    /opt/avg/avg8/cfg/falsealarm.lock
    /opt/avg/avg8/cfg/fw.lock
    /opt/avg/avg8/cfg/hlog.lock
    /opt/avg/avg8/cfg/idp.lock
    /opt/avg/avg8/cfg/idpallow.lock
    /opt/avg/avg8/cfg/isaserver.lock
    /opt/avg/avg8/cfg/krnl.lock
    /opt/avg/avg8/cfg/krnlall.lock
    /opt/avg/avg8/cfg/lnsd.lock
    /opt/avg/avg8/cfg/logging.lock
    /opt/avg/avg8/cfg/mail.lock
    /opt/avg/avg8/cfg/mailsrv.lock
    /opt/avg/avg8/cfg/mailsrvvsapi.lock
    /opt/avg/avg8/cfg/malrep.lock
    /opt/avg/avg8/cfg/ns.lock
    /opt/avg/avg8/cfg/oad.lock
    /opt/avg/avg8/cfg/oop.lock
    /opt/avg/avg8/cfg/scan.lock
    /opt/avg/avg8/cfg/scand.lock
    /opt/avg/avg8/cfg/sched.cfg
    /opt/avg/avg8/cfg/sched.lock
    /opt/avg/avg8/cfg/setup.lock
    /opt/avg/avg8/cfg/spsrv.lock
    /opt/avg/avg8/cfg/srmall.lock
    /opt/avg/avg8/cfg/tcpd.lock
    /opt/avg/avg8/cfg/update.cfg
    /opt/avg/avg8/cfg/update.lock
    /opt/avg/avg8/cfg/updateall.cfg
    /opt/avg/avg8/cfg/updateall.lock
    /opt/avg/avg8/cfg/updatecomps.cfg
    /opt/avg/avg8/cfg/updatecomps.lock
    /opt/avg/avg8/cfg/user.lock
    /opt/avg/avg8/cfg/userall.lock
    /opt/avg/avg8/doc/ChangeLog
    /opt/avg/avg8/doc/README
    /opt/avg/avg8/doc/README.amavis
    /opt/avg/avg8/doc/README.exim
    /opt/avg/avg8/doc/README.postfix
    /opt/avg/avg8/doc/README.qmail
    /opt/avg/avg8/doc/README.qmailscanner
    /opt/avg/avg8/doc/README.sendmail
    /opt/avg/avg8/doc/license_free_cz_iso8859-2.txt
    /opt/avg/avg8/doc/license_free_cz_utf8.txt
    /opt/avg/avg8/doc/license_free_us.txt
    /opt/avg/avg8/etc/avg.conf
    /opt/avg/avg8/etc/init.d
    /opt/avg/avg8/etc/init.d/avgd.all
    /opt/avg/avg8/etc/init.d/avgd.gentoo
    /opt/avg/avg8/etc/init.d/avgdinit.conf
    /opt/avg/avg8/etc/init.d/functions.common
    /opt/avg/avg8/etc/init.d/functions.deb
    /opt/avg/avg8/etc/init.d/functions.diag
    /opt/avg/avg8/etc/init.d/functions.freebsd
    /opt/avg/avg8/etc/init.d/functions.gentoo
    /opt/avg/avg8/etc/init.d/functions.mdk
    /opt/avg/avg8/etc/init.d/functions.rh
    /opt/avg/avg8/etc/init.d/functions.slack
    /opt/avg/avg8/etc/init.d/functions.suse
    /opt/avg/avg8/etc/init.d/functions.ubuntu
    /opt/avg/avg8/lib/libavgaspam.so
    /opt/avg/avg8/lib/libavgcert.so
    /opt/avg/avg8/lib/libavgcfg.so
    /opt/avg/avg8/lib/libavgcore.so
    /opt/avg/avg8/lib/libavginet.so
    /opt/avg/avg8/lib/libavglng.so
    /opt/avg/avg8/lib/libavglogd.so
    /opt/avg/avg8/lib/libavgupd.so
    /opt/avg/avg8/lib/libdazukofs.so
    /opt/avg/avg8/lib/libgcc_s.so.1
    /opt/avg/avg8/lib/libspamcatcher.so
    /opt/avg/avg8/lib/libstdc++.so.6
    /opt/avg/avg8/log/0
    /opt/avg/avg8/log/1000
    /opt/avg/avg8/log/0/avid.priv.rollog
    /opt/avg/avg8/log/0/avid.priv.rollog.lock
    /opt/avg/avg8/log/0/avid.pub.rollog
    /opt/avg/avg8/log/0/avid.pub.rollog.lock
    /opt/avg/avg8/log/0/common.priv.rollog
    /opt/avg/avg8/log/0/common.priv.rollog.lock
    /opt/avg/avg8/log/0/oad.pub.rollog
    /opt/avg/avg8/log/0/oad.pub.rollog.lock
    /opt/avg/avg8/log/0/scand.priv.rollog
    /opt/avg/avg8/log/0/scand.priv.rollog.lock
    /opt/avg/avg8/log/0/scand.pub.rollog
    /opt/avg/avg8/log/0/scand.pub.rollog.lock
    /opt/avg/avg8/log/0/sched.priv.rollog
    /opt/avg/avg8/log/0/sched.priv.rollog.lock
    /opt/avg/avg8/log/0/sched.pub.rollog
    /opt/avg/avg8/log/0/sched.pub.rollog.lock
    /opt/avg/avg8/log/0/tcpd.priv.rollog
    /opt/avg/avg8/log/0/tcpd.priv.rollog.lock
    /opt/avg/avg8/log/0/tcpd.pub.rollog
    /opt/avg/avg8/log/0/tcpd.pub.rollog.lock
    /opt/avg/avg8/log/0/update.priv.rollog
    /opt/avg/avg8/log/0/update.priv.rollog.lock
    /opt/avg/avg8/log/0/update.pub.rollog
    /opt/avg/avg8/log/0/update.pub.rollog.lock
    /opt/avg/avg8/log/0/wd.priv.rollog
    /opt/avg/avg8/log/0/wd.priv.rollog.lock
    /opt/avg/avg8/log/0/wd.pub.rollog
    /opt/avg/avg8/log/0/wd.pub.rollog.lock
    /opt/avg/avg8/log/1000/cli.pub.rollog
    /opt/avg/avg8/log/1000/cli.pub.rollog.lock
    /opt/avg/avg8/log/1000/common.priv.rollog
    /opt/avg/avg8/log/1000/common.priv.rollog.lock
    /opt/avg/avg8/log/1000/scand.priv.rollog
    /opt/avg/avg8/log/1000/scand.priv.rollog.lock
    /opt/avg/avg8/log/1000/scand.pub.rollog
    /opt/avg/avg8/log/1000/scand.pub.rollog.lock
    /opt/avg/avg8/man/man1
    /opt/avg/avg8/man/man1/avgavid.1.gz
    /opt/avg/avg8/man/man1/avgcfgctl.1.gz
    /opt/avg/avg8/man/man1/avgctl.1.gz
    /opt/avg/avg8/man/man1/avgd.1.gz
    /opt/avg/avg8/man/man1/avgdump.1.gz
    /opt/avg/avg8/man/man1/avgoad.1.gz
    /opt/avg/avg8/man/man1/avgscan.1.gz
    /opt/avg/avg8/man/man1/avgscand.1.gz
    /opt/avg/avg8/man/man1/avgsched.1.gz
    /opt/avg/avg8/man/man1/avgspamd.1.gz
    /opt/avg/avg8/man/man1/avgtcpd.1.gz
    /opt/avg/avg8/man/man1/avgupd.1.gz
    /opt/avg/avg8/man/man1/avgupdate.1.gz
    /opt/avg/avg8/update/backup
    /opt/avg/avg8/update/download
    /opt/avg/avg8/update/backup/incavi.avm
    /opt/avg/avg8/update/download/ads
    /opt/avg/avg8/update/download/avg9infoavi.ctf
    /opt/avg/avg8/update/download/avg9infolx.ctf
    /opt/avg/avg8/update/download/u9iavi3005u2749vv.bin
    /opt/avg/avg8/var/antispam
    /opt/avg/avg8/var/data
    /opt/avg/avg8/var/run
    /opt/avg/avg8/var/antispam/approvedsenders
    /opt/avg/avg8/var/antispam/blockedsenders
    /opt/avg/avg8/var/antispam/sc1.bin.full
    /opt/avg/avg8/var/antispam/sc10.bin.full
    /opt/avg/avg8/var/antispam/sc11.bin.full
    /opt/avg/avg8/var/antispam/sc12.bin.full
    /opt/avg/avg8/var/antispam/sc14.bin.full
    /opt/avg/avg8/var/antispam/sc2.bin.full
    /opt/avg/avg8/var/antispam/sc5.bin.full
    /opt/avg/avg8/var/antispam/sc6.bin.full
    /opt/avg/avg8/var/antispam/sc9.bin.full
    /opt/avg/avg8/var/antispam/scbin.txt
    /opt/avg/avg8/var/antispam/spamcatcher.conf
    /opt/avg/avg8/var/data/avg.snu
    /opt/avg/avg8/var/data/avg8us.lng
    /opt/avg/avg8/var/data/avginfo.id
    /opt/avg/avg8/var/data/incavi.avm
    /opt/avg/avg8/var/run/07c90f60-4222-4dc1-ba24-e140688edabc
    /opt/avg/avg8/var/run/0a691007-837b-46fe-ae94-34e2705f5a63
    /opt/avg/avg8/var/run/1871e8b9-86de-431c-bcb4-e4191e64c46c
    /opt/avg/avg8/var/run/1871e8b9-86de-431c-bcb4-e4191e64c46c1
    /opt/avg/avg8/var/run/18BDADB7-190D-4251-869F-1A05CD133BC2
    /opt/avg/avg8/var/run/18BDADB7-190D-4251-869F-1A05CD133BC21
    /opt/avg/avg8/var/run/1ec6798e-ba15-4741-8e6a-11d6619b75de
    /opt/avg/avg8/var/run/1ec6798e-ba15-4741-8e6a-11d6619b75de1
    /opt/avg/avg8/var/run/33c8ec9c-d59f-40b4-9819-4e435f2ea307
    /opt/avg/avg8/var/run/34bfd245-a46e-43be-bf48-b79f42e45c7a
    /opt/avg/avg8/var/run/3662cde2-4d7a-45f3-925f-f73d256f05f1
    /opt/avg/avg8/var/run/38c88f98-2059-4ff4-a5ea-313b9f8dd501
    /opt/avg/avg8/var/run/40eadcee-4f95-4268-8ada-4ae94a6de79e
    /opt/avg/avg8/var/run/40eadcee-4f95-4268-8ada-4ae94a6de79e1
    /opt/avg/avg8/var/run/4b439778-3170-446e-818c-c602f0170e95
    /opt/avg/avg8/var/run/4b439778-3170-446e-818c-c602f0170e951
    /opt/avg/avg8/var/run/545a1e88-aa57-4f11-a6bf-55adeb126136
    /opt/avg/avg8/var/run/589313e0-a9ee-4c93-8eed-1e7e7a44c498
    /opt/avg/avg8/var/run/6555d2d5-3abb-415e-b2f4-ee1c8dfa2ce0
    /opt/avg/avg8/var/run/7008e52f-ae6b-4066-baa2-9f3ef270ca32
    /opt/avg/avg8/var/run/745bef06-35cf-4fa2-9c84-ff99dce50c85
    /opt/avg/avg8/var/run/77c427d8-aa41-451f-883d-283284f0999c
    /opt/avg/avg8/var/run/8396cd86-02ff-4572-a88f-0c0bb926b8de
    /opt/avg/avg8/var/run/95976421-f69e-4eca-9cb8-887a74ef47b3
    /opt/avg/avg8/var/run/9c9c5b6e-8ff1-4605-b946-23a0ffc91c3e
    /opt/avg/avg8/var/run/a0b6df69-fd1a-4aef-bb33-9e3534dc2b78
    /opt/avg/avg8/var/run/avgd.pid
    /opt/avg/avg8/var/run/be6e6f75-22c9-4711-b3d2-2fe6b9aee496
    /opt/avg/avg8/var/run/cc8f2858-ae24-4c78-b9b6-8e928f737135
    /opt/avg/avg8/var/run/d6b5d085-4b16-48d9-9561-523a8e1627c2
    /opt/avg/avg8/var/run/dd79d202-314f-46b2-9634-8081823aed48
    /opt/avg/avg8/var/run/f1c96092-bcc0-4151-9af2-ae58192ae84d
    /opt/avg/avg8/var/run/f3d4e9c8-73a9-4d4b-82cb-8e22fa3229eb
    /opt/avg/avg8/var/run/fb3dc085-fcaa-43fb-bd05-ccd06356ff00
    /usr/bin/avgcfgctl
    /usr/bin/avgctl
    /usr/bin/avgdiag.sh
    /usr/bin/avgdump
    /usr/bin/avgscan
    /usr/bin/avgupdate
    /usr/lib/goffice/0.8.1/plugins/smoothing/gog-moving-avg.ui
    /usr/share/doc/sun-java6-javadb/html/ref/crefjavgcasyn.html
    /usr/share/man/man1/avgavid.1.gz
    /usr/share/man/man1/avgcfgctl.1.gz
    /usr/share/man/man1/avgctl.1.gz
    /usr/share/man/man1/avgd.1.gz
    /usr/share/man/man1/avgdump.1.gz
    /usr/share/man/man1/avgoad.1.gz
    /usr/share/man/man1/avgscan.1.gz
    /usr/share/man/man1/avgscand.1.gz
    /usr/share/man/man1/avgsched.1.gz
    /usr/share/man/man1/avgspamd.1.gz
    /usr/share/man/man1/avgtcpd.1.gz
    /usr/share/man/man1/avgupd.1.gz
    /usr/share/man/man1/avgupdate.1.gz
    /var/lib/dpkg/info/avg85flx.conffiles
    /var/lib/dpkg/info/avg85flx.list
    /var/lib/dpkg/info/avg85flx.postinst
    /var/lib/dpkg/info/avg85flx.postrm
    /var/lib/dpkg/info/avg85flx.preinst
    /var/lib/dpkg/info/avg85flx.prerm
    /var/lib/update-rc.d/avgd
    
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you open a terminal and run
    Code:
    avgscan
    ? Does that bring up a GUI?
     
  5. ensens

    ensens Member

    No. It looks like the command line scanner.

    Code:
    brian@koala:~/dl1$ avgscan valz.jpg 
    AVG command line Anti-Virus scanner
    Copyright (c) 2010 AVG Technologies CZ
    
    brian@koala:~/dl1$ 
    
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Can you try these other commands?
    Code:
    /opt/avg/avg8/bin/avgavid
    /opt/avg/avg8/bin/avgcfgctl
    /opt/avg/avg8/bin/avgctl
    /opt/avg/avg8/bin/avgd
    /opt/avg/avg8/bin/avgdiag.sh
    /opt/avg/avg8/bin/avgdump
    /opt/avg/avg8/bin/avgoad
    /opt/avg/avg8/bin/avgscan
    /opt/avg/avg8/bin/avgscand
    /opt/avg/avg8/bin/avgsched
    /opt/avg/avg8/bin/avgspamd
    /opt/avg/avg8/bin/avgtcpd
    /opt/avg/avg8/bin/avgupd
    /opt/avg/avg8/bin/avgupdate
    /opt/avg/avg8/bin/avgwrapper.sh
     
  7. ensens

    ensens Member

    Hi,

    No GUI came up.
    Code:
    brian@koala:/opt/avg/avg8/bin$ sudo su
    [sudo] password for brian: 
    root@koala:/opt/avg/avg8/bin# ./avgavid 
    root@koala:/opt/avg/avg8/bin# ./avgcfgctl 
    AVG8INSTDIR environment variable is not set. Please do not run the utility directly.
    Try to run it without path specification.
    root@koala:/opt/avg/avg8/bin# ./avgctl 
    AVG8INSTDIR environment variable is not set. Please do not run the utility directly.
    Try to run it without path specification.
    root@koala:/opt/avg/avg8/bin# ./avgd
    root@koala:/opt/avg/avg8/bin# ./avgdiag.sh 
    Exporting license info...
    Exporting versions of AVG components: AVG, avgctl, avgcfgctl, avgscan, avgupdate
    Exporting all statistics and virus database version...
    Exporting system information: kernel, OS, CPU, memory, shared memory, environment variables
    Exporting lists of: running processes, loaded modules, used ports
    Exporting AVG configuration...
    Exporting info about AVG files...
    Exporting logs, core dumps...
    Packing all data into archive...
    
    Diagnostic data packed to avgdiag_2010-07-19_16-19-07.tar.gz.
    root@koala:/opt/avg/avg8/bin# ./avgdump 
    Parameters:
    	-p	Program pid (mandatory)
    	-e	Full path to the program binary
    		(mandatory)
    	-a	Architecture of the process to be dumped (either '32' or '64')
    		(mandatory)
    	-s	String containing information about the problem (eg. signal
    		information) (optional)
    root@koala:/opt/avg/avg8/bin# ./avgoad
    ./avgoad: error while loading shared libraries: libdazukofs.so: cannot open shared object file: No such file or directory
    root@koala:/opt/avg/avg8/bin# ./avgscan
    AVG8INSTDIR environment variable is not set. Please do not run the utility directly.
    Try to run it without path specification.
    root@koala:/opt/avg/avg8/bin# ./avgscand 
    root@koala:/opt/avg/avg8/bin# ./avgsched
    root@koala:/opt/avg/avg8/bin# ./avgspamd 
    root@koala:/opt/avg/avg8/bin# ./avgtcpd 
    root@koala:/opt/avg/avg8/bin# ./avgtcpd 
    root@koala:/opt/avg/avg8/bin# ./avgupd
    root@koala:/opt/avg/avg8/bin# ./avgupdate 
    AVG8INSTDIR environment variable is not set. Please do not run the utility directly.
    Try to run it without path specification.
    root@koala:/opt/avg/avg8/bin# ./avgwrapper.sh 
    /opt/avg/avg8/bin/avgwrapper.sh: 17: /opt/avg/avg8/bin/avgwrapper.sh: Argument list too long
    root@koala:/opt/avg/avg8/bin# exit
    
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Did you install the .deb package? Did you see any errors during installation?
     
  9. ensens

    ensens Member

    Yes, I installed the .deb package named, avg85flx-r812-a3371.i386.deb.

    There were no errors during installation.

    I installed this on both Ubuntu 10.04 and Xubuntu 10.04.

    No GUI on either OS.
     

Share This Page