Clam antivirus won't run on Mageia 7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Clam antivirus won't run on Mageia 7

Postby thorh » Jul 9th, '19, 08:54

I have now tried to install Mageia 7 and Clam antivirus still fails.
The command:
Code: Select all
rpm -qa|grep -i clam

gives this output:
Code: Select all
lib64clamav7-0.100.3-1.mga7
clamav-db-0.100.3-1.mga7
clamtk-6.01-1.mga7
clamav-0.100.3-1.mga7

This command:
Code: Select all
systemctl status clamav-daemon.service -al -n150

gives:
Code: Select all
Unit clamav-daemon.service could not be found.


It seems to me the Clam issue is still not solved, any suggestions?

Thor
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Clam antivirus won't run on Mageia 7

Postby Plisgyn » Jul 9th, '19, 09:39

See my post https://forums.mageia.org/en/viewtopic.php?f=7&t=12891 clamav runs but not clamtk, you don't appear to have clamd installed.
Plisgyn
 
Posts: 104
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: Clam antivirus won't run on Mageia 7

Postby thorh » Jul 9th, '19, 11:50

Thanks,
I got the clamd running (under Xfce) so:
Code: Select all
systemctl status clamav-daemon.service -al -n150

now gives:
Code: Select all
clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/usr/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-07-09 11:37:04 CEST; 10min ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
 Main PID: 3220 (clamd)
   Memory: 644.7M
   CGroup: /system.slice/clamav-daemon.service
           └─3220 /usr/sbin/clamd --foreground=true

Jul 09 11:37:04 localhost systemd[1]: Started Clam AntiVirus userspace daemon.
Jul 09 11:37:04 localhost clamd[3220]: LibClamAV Warning: **************************************************
Jul 09 11:37:04 localhost clamd[3220]: LibClamAV Warning: ***  The virus database is older than 7 days!  ***
Jul 09 11:37:04 localhost clamd[3220]: LibClamAV Warning: ***   Please update it as soon as possible.    ***
Jul 09 11:37:04 localhost clamd[3220]: LibClamAV Warning: **************************************************
Jul 09 11:37:51 localhost clamd[3220]: Limits: Global size limit set to 104857600 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: File size limit set to 26214400 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: Recursion level limit set to 16.
Jul 09 11:37:51 localhost clamd[3220]: Limits: Files limit set to 10000.
Jul 09 11:37:51 localhost clamd[3220]: Limits: Core-dump limit is 18446744073709551615.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxPartitions limit set to 50.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxIconsPE limit set to 100.
Jul 09 11:37:51 localhost clamd[3220]: Limits: MaxRecHWP3 limit set to 16.
Jul 09 11:37:51 localhost clamd[3220]: Limits: PCREMatchLimit limit set to 100000.
Jul 09 11:37:51 localhost clamd[3220]: Limits: PCRERecMatchLimit limit set to 5000.
Jul 09 11:37:51 localhost clamd[3220]: Limits: PCREMaxFileSize limit set to 26214400.
Jul 09 11:37:51 localhost clamd[3220]: Archive support enabled.
Jul 09 11:37:51 localhost clamd[3220]: BlockMax heuristic detection disabled.
Jul 09 11:37:51 localhost clamd[3220]: Algorithmic detection enabled.
Jul 09 11:37:51 localhost clamd[3220]: Portable Executable support enabled.
Jul 09 11:37:51 localhost clamd[3220]: ELF support enabled.
Jul 09 11:37:51 localhost clamd[3220]: Mail files support enabled.
Jul 09 11:37:51 localhost clamd[3220]: OLE2 support enabled.
Jul 09 11:37:51 localhost clamd[3220]: PDF support enabled.
Jul 09 11:37:51 localhost clamd[3220]: SWF support enabled.
Jul 09 11:37:51 localhost clamd[3220]: HTML support enabled.
Jul 09 11:37:51 localhost clamd[3220]: XMLDOCS support enabled.
Jul 09 11:37:51 localhost clamd[3220]: HWP3 support enabled.
Jul 09 11:37:51 localhost clamd[3220]: Self checking every 600 seconds.
Jul 09 11:37:51 localhost clamd[3220]: Listening daemon: PID: 3220
Jul 09 11:37:51 localhost clamd[3220]: WARNING: MaxThreads * MaxRecursion is too high: 1024, open file descri>
Jul 09 11:37:51 localhost clamd[3220]: WARNING: MaxQueue value too high, lowering to: 64
Jul 09 11:37:51 localhost clamd[3220]: MaxQueue set to: 64
Jul 09 11:37:51 localhost clamd[3220]: Set stacksize to 8454144

but ClamTK still won't run, seems I'm not the only one experiencing problems with ClamTK.

Thor
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Clam antivirus won't run on Mageia 7

Postby Plisgyn » Jul 9th, '19, 16:56

I have heard there should be an update out soon.
Plisgyn
 
Posts: 104
Joined: Sep 19th, '11, 11:31
Location: St Austell Cornwall England

Re: Clam antivirus won't run on Mageia 7

Postby wintpe » Jul 9th, '19, 21:55

im running it now to test this no problem.
i did have to install clamav and clamd and then enable and start the service.
also set the options in clamtk to recursivly scan directtories.
but it is working.

Code: Select all
[root@ossi6 systemd]# systemctl enable clamav-daemon.service
Created symlink /etc/systemd/system/multi-user.target.wants/clamav-daemon.service → /usr/lib/systemd/system/clamav-daemon.service.
Created symlink /etc/systemd/system/sockets.target.wants/clamav-daemon.socket → /usr/lib/systemd/system/clamav-daemon.socket.
[root@ossi6 systemd]# systemctl start clamav-daemon.service
[root@ossi6 systemd]#
[root@ossi6 systemd]#
[root@ossi6 systemd]#
[root@ossi6 systemd]# ps -ef|grep clam
clamav   103058      1 98 20:49 ?        00:00:10 /usr/sbin/clamd --foreground=true
root     104505  61404  0 20:50 pts/0    00:00:00 grep --color clam
[root@ossi6 systemd]# freshclam
ClamAV update process started at Tue Jul  9 20:50:14 2019
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.3 Recommended version: 0.101.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cld is up to date (version: 25505, sigs: 1614490, f-level: 63, builder: raynman)
bytecode.cvd is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
[root@ossi6 systemd]# clamscan
/usr/lib/systemd/systemd-bless-boot: OK
/usr/lib/systemd/systemd-sysctl: OK
/usr/lib/systemd/systemd-pull: OK
/usr/lib/systemd/mandriva-save-dmesg: OK
/usr/lib/systemd/systemd-ac-power: OK
/usr/lib/systemd/systemd-sulogin-shell: OK
/usr/lib/systemd/systemd-portabled: OK
/usr/lib/systemd/systemd-logind: OK
/usr/lib/systemd/systemd-journal-gatewayd: OK
/usr/lib/systemd/fedora-readonly: OK
/usr/lib/systemd/systemd-timedated: OK
/usr/lib/systemd/systemd-backlight: OK
/usr/lib/systemd/systemd-rfkill: OK
/usr/lib/systemd/systemd-timesyncd: OK
/usr/lib/systemd/systemd-journal-remote: OK
/usr/lib/systemd/import-pubring.gpg: OK
/usr/lib/systemd/systemd-sysv-install: Symbolic link
/usr/lib/systemd/systemd-journal-upload: OK
/usr/lib/systemd/systemd-importd: OK
/usr/lib/systemd/systemd-reply-password: OK
/usr/lib/systemd/systemd-hibernate-resume: OK
/usr/lib/systemd/fedora-import-state: OK
/usr/lib/systemd/systemd-cryptsetup: OK
/usr/lib/systemd/systemd-remount-fs: OK
/usr/lib/systemd/systemd-resolved: OK
/usr/lib/systemd/systemd-user-sessions: OK
/usr/lib/systemd/resolv.conf: OK
/usr/lib/systemd/systemd-user-runtime-dir: OK
/usr/lib/systemd/systemd-makefs: OK
/usr/lib/systemd/fedora-dmraid-activation: OK
/usr/lib/systemd/systemd-localed: OK
/usr/lib/systemd/systemd-update-done: OK
/usr/lib/systemd/systemd-socket-proxyd: OK
/usr/lib/systemd/fedora-loadmodules: OK
/usr/lib/systemd/systemd-time-wait-sync: OK
/usr/lib/systemd/systemd-networkd: OK
/usr/lib/systemd/systemd-veritysetup: OK
/usr/lib/systemd/systemd-hostnamed: OK
/usr/lib/systemd/systemd-import-fs: OK
/usr/lib/systemd/fedora-domainname: OK
/usr/lib/systemd/systemd-export: OK
/usr/lib/systemd/systemd-modules-load: OK
/usr/lib/systemd/systemd-machined: OK
/usr/lib/systemd/systemd-import: OK
/usr/lib/systemd/systemd-fsck: OK
/usr/lib/systemd/systemd-quotacheck: OK
/usr/lib/systemd/systemd-growfs: OK
/usr/lib/systemd/systemd-initctl: OK
/usr/lib/systemd/systemd: OK
/usr/lib/systemd/systemd-shutdown: OK
/usr/lib/systemd/systemd-networkd-wait-online: OK
/usr/lib/systemd/systemd-vconsole-setup: OK
/usr/lib/systemd/systemd-dissect: OK
/usr/lib/systemd/systemd-random-seed: OK
/usr/lib/systemd/libsystemd-shared-241.so: OK
/usr/lib/systemd/systemd-coredump: OK
/usr/lib/systemd/systemd-udevd: OK
/usr/lib/systemd/systemd-volatile-root: OK
/usr/lib/systemd/systemd-boot-check-no-failures: OK
/usr/lib/systemd/systemd-update-utmp: OK
/usr/lib/systemd/systemd-sleep: OK
/usr/lib/systemd/systemd-journald: OK
/usr/lib/systemd/systemd-binfmt: OK
/usr/lib/systemd/systemd-cgroups-agent: OK

----------- SCAN SUMMARY -----------
Known viruses: 6171325
Engine version: 0.100.3
Scanned directories: 1
Scanned files: 63
Infected files: 0
Data scanned: 6.60 MB
Data read: 6.55 MB (ratio 1.01:1)
Time: 20.232 sec (0 m 20 s)
[root@ossi6 systemd]# urpmi clamtk
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Release (distrib1)")
  docbook-dtds                   1.0          65.mga7       noarch  (recommended)
  lib64yelp0                     3.32.2       1.mga7        x86_64  (recommended)
  libxml2-utils                  2.9.9        2.mga7        x86_64  (recommended)
  perl-Bit-Vector                7.400.0      10.mga7       x86_64 
  perl-Carp-Clan                 6.70.0       1.mga7        noarch 
  perl-Date-Calc                 6.400.0      4.mga7        noarch 
  perl-File-Find-Rule            0.340.0      3.mga7        noarch 
  perl-Number-Compare            0.30.0       8.mga7        noarch 
  perl-Text-CSV                  1.990.0      1.mga7        noarch 
  perl-Text-Glob                 0.110.0      2.mga7        noarch 
  sgml-common                    0.6.3        27.mga7       noarch  (recommended)
  yelp                           3.32.2       1.mga7        x86_64  (recommended)
  yelp-xsl                       3.32.1       1.mga7        noarch  (recommended)
(medium "Core Updates Testing (distrib5)")
  clamtk                         6.01         1.2.mga7      noarch 
14MB of additional disk space will be used.
2MB of packages will be retrieved.
Proceed with the installation of the 14 packages? (Y/n) y


    $MIRRORLIST: media/core/release/perl-Number-Compare-0.30.0-8.mga7.noarch.rpm
    $MIRRORLIST: media/core/release/yelp-xsl-3.32.1-1.mga7.noarch.rpm                                                       
    $MIRRORLIST: media/core/release/lib64yelp0-3.32.2-1.mga7.x86_64.rpm                                                     
    $MIRRORLIST: media/core/release/perl-Text-CSV-1.990.0-1.mga7.noarch.rpm                                                 
    $MIRRORLIST: media/core/release/perl-Text-Glob-0.110.0-2.mga7.noarch.rpm                                               
    $MIRRORLIST: media/core/release/libxml2-utils-2.9.9-2.mga7.x86_64.rpm                                                   
    $MIRRORLIST: media/core/release/yelp-3.32.2-1.mga7.x86_64.rpm                                                           
    $MIRRORLIST: media/core/release/perl-File-Find-Rule-0.340.0-3.mga7.noarch.rpm                                           
    $MIRRORLIST: media/core/release/perl-Carp-Clan-6.70.0-1.mga7.noarch.rpm                                                 
    $MIRRORLIST: media/core/release/docbook-dtds-1.0-65.mga7.noarch.rpm                                                     
    $MIRRORLIST: media/core/release/perl-Bit-Vector-7.400.0-10.mga7.x86_64.rpm                                             
    $MIRRORLIST: media/core/release/perl-Date-Calc-6.400.0-4.mga7.noarch.rpm                                               
    $MIRRORLIST: media/core/release/sgml-common-0.6.3-27.mga7.noarch.rpm                                                   
    $MIRRORLIST: media/core/updates_testing/clamtk-6.01-1.2.mga7.noarch.rpm                                                 
installing perl-Date-Calc-6.400.0-4.mga7.noarch.rpm sgml-common-0.6.3-27.mga7.noarch.rpm clamtk-6.01-1.2.mga7.noarch.rpm perl-Carp-Clan-6.70.0-1.mga7.noarch.rpm docbook-dtds-1.0-65.mga7.noarch.rpm perl-Bit-Vector-7.400.0-10.mga7.x86_64.rpm libxml2-utils-2.9.9-2.mga7.x86_64.rpm yelp-3.32.2-1.mga7.x86_64.rpm perl-File-Find-Rule-0.340.0-3.mga7.noarch.rpm yelp-xsl-3.32.1-1.mga7.noarch.rpm perl-Number-Compare-0.30.0-8.mga7.noarch.rpm lib64yelp0-3.32.2-1.mga7.x86_64.rpm perl-Text-CSV-1.990.0-1.mga7.noarch.rpm perl-Text-Glob-0.110.0-2.mga7.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     ##########################################################################################
     1/14: libxml2-utils         ##########################################################################################
     2/14: perl-Carp-Clan        ##########################################################################################
     3/14: perl-Bit-Vector       ##########################################################################################
     4/14: perl-Date-Calc        ##########################################################################################
     5/14: sgml-common           ##########################################################################################
     6/14: docbook-dtds          ##########################################################################################
     7/14: perl-Text-Glob        ##########################################################################################
     8/14: perl-Text-CSV         ##########################################################################################
     9/14: perl-Number-Compare   ##########################################################################################
    10/14: perl-File-Find-Rule   ##########################################################################################
    11/14: yelp-xsl              ##########################################################################################
    12/14: lib64yelp0            ##########################################################################################
    13/14: yelp                  ##########################################################################################
    14/14: clamtk                ##########################################################################################
[root@ossi6 systemd]#

Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Clam antivirus won't run on Mageia 7

Postby thorh » Jul 10th, '19, 15:07

Thank you for your replies.
I have tried re-installing ClamTK but it still won't run. If I run ClamTK from a terminal I get an error message about missing icon. From a terminal I can run freshclam and clamscan. I have also installed the latest updates.

Thor
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Clam antivirus won't run on Mageia 7

Postby wintpe » Jul 10th, '19, 16:33

quote "I get an error message about missing icon"
no one here is physic please post the error you get
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Clam antivirus won't run on Mageia 7

Postby doktor5000 » Jul 10th, '19, 18:09

thorh wrote:If I run ClamTK from a terminal I get an error message about missing icon.

Did you actually read the linked thread ? This issue is covered there.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Clam antivirus won't run on Mageia 7

Postby thorh » Jul 11th, '19, 06:54

Hi Peter,
Sorry, I forgot the error message:
Ikon �gtk-new� finnes ikke i tema Adwaita at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.


I did try to read the link provided and got a bit lost. As a last resort I have now tried what I did when using 7RC and that worked, see June 12th https://forums.mageia.org/en/viewtopic.php?f=15&t=12805.

Thor
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron