Page 1 of 1

clamtk fails to run

PostPosted: Jul 7th, '19, 16:27
by Plisgyn
I have just updated from Mageia 6 to Mageia 7 and it went well with only one minor problem. I can run clamav o/k i.e clamscan /* but if I try to run the graphic version i.e clamtk is fails as follows --
Icon 'gtk-new' not present in theme breeze at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.
Any suggestions welcome.

Note also fails in oxygen theme ---
Icon 'gtk-new' not present in theme oxygen at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 02:27
by doktor5000
Please try the suggestion from viewtopic.php?p=75074#p75074

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 11:22
by Plisgyn
These are the rpm's loaded.
Code: Select all
[root@LinuxBox phil]# rpm -qa|grep -i clam
lib64clamav7-0.100.3-1.mga7
clamd-0.100.3-1.mga7
lib64clamav7-0.100.3-1.mga7
clamav-db-0.100.3-1.mga7
clamtk-6.01-1.mga7
error: rpmdbNextIterator: skipping h#    3541 tag[38]: BAD, tag 1096 type 5 offset 140680 count 2209 len 8836
clamav-0.100.3-1.mga7
]


The clamd status.
[/code]
Code: Select all
[root@LinuxBox phil]# systemctl status clamav-daemon.service -al -n150
 ● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/usr/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-07-08 09:19:13 BST; 25min ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
 Main PID: 907 (clamd)
   Memory: 920.4M
   CGroup: /system.slice/clamav-daemon.service
           └─907 /usr/sbin/clamd --foreground=true

Jul 08 09:19:13 LinuxBox systemd[1]: Started Clam AntiVirus userspace daemon.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: Global size limit set to 104857600 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: File size limit set to 26214400 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: Recursion level limit set to 16.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: Files limit set to 10000.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: Core-dump limit is 18446744073709551615.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxPartitions limit set to 50.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxIconsPE limit set to 100.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: MaxRecHWP3 limit set to 16.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: PCREMatchLimit limit set to 100000.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: PCRERecMatchLimit limit set to 5000.
Jul 08 09:20:05 LinuxBox clamd[907]: Limits: PCREMaxFileSize limit set to 26214400.
Jul 08 09:20:05 LinuxBox clamd[907]: Archive support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: BlockMax heuristic detection disabled.
Jul 08 09:20:05 LinuxBox clamd[907]: Algorithmic detection enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: Portable Executable support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: ELF support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: Mail files support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: OLE2 support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: PDF support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: SWF support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: HTML support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: XMLDOCS support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: HWP3 support enabled.
Jul 08 09:20:05 LinuxBox clamd[907]: Self checking every 600 seconds.
Jul 08 09:20:05 LinuxBox clamd[907]: Listening daemon: PID: 907
Jul 08 09:20:05 LinuxBox clamd[907]: WARNING: MaxThreads * MaxRecursion is too high: 1024, open file descriptor limit is: 10>
Jul 08 09:20:05 LinuxBox clamd[907]: WARNING: MaxQueue value too high, lowering to: 64
Jul 08 09:20:05 LinuxBox clamd[907]: MaxQueue set to: 64
Jul 08 09:20:05 LinuxBox clamd[907]: Set stacksize to 8454144
Jul 08 09:30:05 LinuxBox clamd[907]: SelfCheck: Database status OK.
Jul 08 09:40:05 LinuxBox clamd[907]: SelfCheck: Database status OK.
lines 11-48/48 (END)

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 11:33
by ITA84
Did you try the suggested command?

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


If you did, what was the output?

Also, judging by the output of your rpm -qa, you might want to rebuild the RPM database (but that's certainly unrelated to the clamav problem).

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 12:09
by Plisgyn
I ran
Code: Select all
LC_ALL=en_US.UTF-8 clamtk
and result was
Code: Select all
Icon 'gtk-new' not present in theme oxygen at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.

I also ran
Code: Select all
rm -f /var/lib/rpm/__db*
and then ran
Code: Select all
rpm --rebuilddb
the result was
Code: Select all
error: rpmdbNextIterator: skipping h#    3541 tag[38]: BAD, tag 1096 type 5 offset 140680 count 2209 len 8836
error: could not delete old database at /var/lib/rpmold.7982
but now there is no error with
Code: Select all
rpm -qa|grep -i clam
Code: Select all
[root@LinuxBox phil]# rpm -qa|grep -i clam
lib64clamav7-0.100.3-1.mga7
clamtk-6.01-1.mga7
clamav-db-0.100.3-1.mga7
clamav-0.100.3-1.mga7
clamd-0.100.3-1.mga7

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 13:13
by doktor5000
Plisgyn wrote:I ran
Code: Select all
LC_ALL=en_US.UTF-8 clamtk
and result was
Code: Select all
Icon 'gtk-new' not present in theme oxygen at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67.

Question is, did clamtk start or not?

But this still sounds like https://bugs.mageia.org/show_bug.cgi?id=14505 - update should be available soon, see the last comments in the bugreport.

Re: clamtk fails to run

PostPosted: Jul 8th, '19, 14:55
by Plisgyn
No clamtk didn't start, hope the update will help.

Re: clamtk fails to run

PostPosted: Feb 22nd, '20, 15:07
by ricard13
sorry for google translation.

uname -a "5.4.17-desktop-1.mga7 #1 SMP Sat Feb 1 21:57:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux"

clamtk 6.01-1.mga7
error icon "gtk-new"

Quick solution at the start of clamtk:
just install "cheser-icon-theme" and create a link to "ln -s /usr/share/icons/Cheser /usr/share/icons/gnome"