Mageia 7RC install ClamAV

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

Mageia 7RC install ClamAV

Postby thorh » Jun 2nd, '19, 13:39

It seems the 7RC won't install the clamav or connect to it. The ClamTK is installed but can't find the real programs. Any suggestions?

Thor
Last edited by isadora on Jun 2nd, '19, 14:08, edited 1 time in total.
Reason: Topic moved into appropriate sub-forum.
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 2nd, '19, 15:43

Can you please show the output of
Code: Select all
rpm -qa|grep -i clam
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 2nd, '19, 16:07

Thanks for the quick reply.

The
Code: Select all
 rpm -qa|grep -i clam

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


When I try to start ClamTK I would expect a program to pop up, but nothing happens. clamd doesn't show up in the TaskManager.

Thor
Last edited by isadora on Jun 2nd, '19, 16:13, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 2nd, '19, 23:14

Can you show the output as root from
Code: Select all
systemctl status clamav-daemon.service -al -n150
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 3rd, '19, 12:28

Thanks for the reply.
The command:
Code: Select all
systemctl status clamav-daemon.service -al -n150

gives this output:
Code: Select all
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/usr/lib/systemd/system/clamav-daemon.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/

To an amateur like me it seems the service doesn't start/is disabled? Forgot to mention I'm using the Xfce desktop if that matters.

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

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 4th, '19, 01:24

What about if you try to start it and then check again? As root (the last command enables it for automatic start on boot):

Code: Select all
systemctl start clamav-daemon.service
systemctl status clamav-daemon.service -al -n150
systemctl enable clamav-daemon.service
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 4th, '19, 07:07

Thanks,
First I used urpmi to install clamd, then I tried these commands first:
Code: Select all
# systemctl start clamav-daemon.service
# systemctl start clamav-daemon.service

and got this output:
Code: Select all
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/usr/lib/systemd/system/clamav-daemon.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-06-04 06:53:32 CEST; 2min 20s ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
 Main PID: 3066 (clamd)
   Memory: 900.0M
   CGroup: /system.slice/clamav-daemon.service
           └─3066 /usr/sbin/clamd --foreground=true

Jun 04 06:53:32 localhost systemd[1]: Started Clam AntiVirus userspace daemon.
Jun 04 06:54:07 localhost clamd[3066]: Limits: Global size limit set to 104857600 bytes.
Jun 04 06:54:07 localhost clamd[3066]: Limits: File size limit set to 26214400 bytes.
Jun 04 06:54:07 localhost clamd[3066]: Limits: Recursion level limit set to 16.
Jun 04 06:54:07 localhost clamd[3066]: Limits: Files limit set to 10000.
Jun 04 06:54:07 localhost clamd[3066]: Limits: Core-dump limit is 18446744073709551615.
Jun 04 06:54:07 localhost clamd[3066]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.

This command:
Code: Select all
# systemctl enable clamav-daemon.service

gave this output:
Code: Select all
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.

The clamd now showed up in the TaskManager, but ClamTK would still not run.Tried to re-install but that failed with an error message.

Thor
Last edited by thorh on Jun 11th, '19, 15:03, edited 1 time in total.
thorh
 
Posts: 28
Joined: Jun 2nd, '19, 13:33

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 6th, '19, 06:41

Does anyone know if this is a bug in the RC, or have I just been un-lucky?

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

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 6th, '19, 14:07

thorh wrote: The clamd now showed up in the TaskManager, but ClamTK would still not run.Tried to re-install but that failed with an error message.

How did you try to reinstall it? And what error message did you get?
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 6th, '19, 15:08

Thanks for the reply. I used the Control Center to install ClamTK, it says Installation failed;
aria2 failed: 1
I get the same error if using urpmi, and it says it couldn't download clamtk-6.01-1.mga7.noarch.rpm

I also tried downloading ClamTK for Mageia 6.1, it installed without problems and I just scanned and no threats found. Also tried installing the new version afterwards, now ClamTK doesn't work and won't un-install. Is this a known bug in the RC?

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

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 7th, '19, 06:20

I managed to uninstall the ClamTK package for Mageia 7RC using urpme and re-install the ClamTK for Mageia 6.1 and the Clam system now seems to work.

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

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 9th, '19, 09:23

I have now tested the Mageia 7RC on another computer and after installing ClamTK (from the Control Center) it seems to install Ok, but the ClamTK GUI doesn't work when I try to start ClamTK, nothing happens.
So is this a known bug in Mageia 7RC?

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

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 10th, '19, 07:48

What happens when you run clamtk from a terminal? Please post the full output here.
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 10th, '19, 08:33

Thanks for the reply, this is from the other computer, seems impossible to install Clam:
Code: Select all
clamtk
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
   LANGUAGE = "en_US.UTF-8:en_US:en",
   LC_ALL = (unset),
   LC_MEASUREMENT = "nb_NO.UTF-8",
   LC_PAPER = "nb_NO.UTF-8",
   LC_MONETARY = "nb_NO.UTF-8",
   LC_SOURCED = "1",
   LC_NAME = "nb_NO.UTF-8",
   LC_ADDRESS = "nb_NO.UTF-8",
   LC_NUMERIC = "nb_NO.UTF-8",
   LC_TELEPHONE = "nb_NO.UTF-8",
   LC_IDENTIFICATION = "nb_NO.UTF-8",
   LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

(process:6156): Gtk-WARNING **: 08:30:09.841: Locale not supported by C library.
   Using the fallback 'C' locale.
Unable to read preferences! No such file or directory
note: (re)creating prefs file.
restore does not exist; re-creating it
Icon 'gtk-new' not present in theme Adwaita at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.

I prefer to use English, but set Norwegian keyboard and Locale, is that causing trouble?

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

Re: Mageia 7RC install ClamAV

Postby isadora » Jun 10th, '19, 08:51

From Github:
The solution is quite obvious, run clamtk as:

Code: Select all
LC_ALL=en_US.UTF-8 clamtk


https://github.com/dave-theunsub/clamtk-gnome/issues/8
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2742
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 10th, '19, 11:18

Thank you isadora,
I tried several thing using urpmi and finally managed to get the ClamTK from Mageia 6.1 to install and run. A bit disappointing that the RC has so many bugs, the last Mageia that worked without problems was 5.

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

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 12th, '19, 08:19

I have now tried Mageia 7RC on a third computer (old laptop) and Clam still causes the same problems. Using urpmi to install the ClamTK version from Mageia 6 seems to work, but when checking with Task Manager the clamd doesn't show up and freshclam (from a terminal) says the database is more than 7 days old even if I just updated it manually using the ClamTK gui.

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

Re: Mageia 7RC install ClamAV

Postby doktor5000 » Jun 13th, '19, 08:15

What do you mean by the same problem? What you initially reported was that clamav-daemon.service was not enabled for boot, which is normal - most services are not enabled for boot.
Then you reported about clamtk and the locale issue. Now you're reporting about the database. You are aware that those are three totally separate issues?

And FWIW, you can also install it on 3 more boxes, unless there's a bugreport and somebody adds a fix for said bugreport, things won't change magically.
See https://wiki.mageia.org/en/How_to_report_a_bug_properly
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 7RC install ClamAV

Postby thorh » Jun 13th, '19, 18:47

Sorry, I guess I should have started a new topic for each of the issues. The ClamTK is not not working on either of the 3 computers I have tried, but the ClamTK for Mageia 6.1 runs so I can scan files.
Thanks for the bug link, seems there was a problem with Mageia 6 and ClamTK.

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


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron