Author Topic: Clamtk update  (Read 642 times)

Offline david1958

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 207
  • Lovin Linux
    • Ed's Cuckoo Uhren
Clamtk update
« on: August 15, 2012, 02:52:27 PM »
Hello, I am no longer having the problem with the update of the virus definations on clamtk anti virus. I downloaded it some time ago but never ever really fooled with it. But It was outdated and so I did some research here. I will not take the credit for the link i am going to post I stumbled across somewhere here on the forum, but this link tells about clamtk and freshclam. This link refers to freshclam and how to fix the config file very simple.

http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/

Quote
To fix this error open /usr/local/etc/freshclam.conf and search and change

FROM:
# Comment or remove the line below.
Example

TO:
# Comment or remove the line below.
#Example


Read more: http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/#ixzz23eMgDhW2


Quote
[root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log
Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Fri Oct  9 11:29:18 2009
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 748
Software version from DNS: 0.95.2
main.cvd version from DNS: 51
main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
daily.cvd version from DNS: 9876
daily.cvd is up to date (version: 9876, sigs: 83897, f-level: 43, builder: ccordes)
[root@server ~]#


Read more: http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/#ixzz23eN0DIvx


amazing what a simple # in front of the Example will do.

Mine updated as soon as I made this move.

Everyone enjoy 
 :)
To all Windows Users, Quit being Lazy and learn Linux. You'll Love it after you get the hang of it!
FullMonty Release:            2013.04
Kernel-version:    3.2.18-pclos2.pae.bfs
KDE4-version:                        4.10.1
Biostar mother Board A55MH,  CPU chip A8-3807K

8 gig ram

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Clamtk update
« Reply #1 on: August 27, 2012, 10:40:40 PM »

 :)
still couldn't find it lol
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Clamtk update
« Reply #2 on: August 31, 2012, 02:15:16 AM »

 :)
still couldn't find it lol

Still can't update!!!!! the clam
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline twa

  • Full Member
  • ***
  • Posts: 65
  • flown west
Re: Clamtk update
« Reply #3 on: August 31, 2012, 05:00:49 AM »
GOTHBITES,
you need to edit, as root, these two files, that on my LXDE are in /etc :
clamd.conf
freshclam.conf
first lines of clamd.conf must look like these:
Quote
##
## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##


# Comment or remove the line below.
#Example

# Uncomment this option to enable logging.
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
#LogFile /tmp/clamd.log
and first lines of freshclam.conf must be like these:
Quote
##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
##


# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav

# Path to the log file (make sure it has proper permissions)
# Default: disabled
#UpdateLogFile /var/log/freshclam.log

# Maximum size of the log file.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
# in bytes just don't use modifiers.
# Default: 1M
#LogFileMaxSize 2M
also in clamd.conf following lines MUST BE DECOMMENTED like these:
Quote
# Remove stale socket after unclean shutdown.
# Default: yes
#FixStaleSocket yes

# TCP port address.
# Default: no
TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
# Default: no
TCPAddr 127.0.0.1

save the changes, close, reboot the system and from terminal as ROOT give
Code: [Select]
freshclam
hope you solve....I succeeded
cheers
 
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Clamtk update
« Reply #4 on: September 01, 2012, 08:11:18 PM »
So close!!

Here is the output
Quote
freshclam
ClamAV update process started at Sat Sep  1 22:04:33 2012
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
daily.cvd is up to date (version: 15306, sigs: 259865, f-level: 63, builder: guitar)
bytecode.cvd is up to date (version: 188, sigs: 38, f-level: 63, builder: neo

However when I run Filemanager-avs or ClamTk both say the signatures are still out of date.

However I even tried to run from root Konsole no luck at cannot find command lol
Quote
Clamtk
bash: Clamtk: command not found
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline twa

  • Full Member
  • ***
  • Posts: 65
  • flown west
Re: Clamtk update
« Reply #5 on: September 02, 2012, 12:24:20 AM »
GOTHBITES,
do NOT run from terminal (konsole)
launch from PC (menu)>Utility file>Clamtk
cheers
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread.

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Clamtk update
« Reply #6 on: September 08, 2012, 01:05:42 AM »
GOTHBITES,
do NOT run from terminal (konsole)
launch from PC (menu)>Utility file>Clamtk
cheers

Thanks mate However as I mention I did run them from GUI and the signatures were still out of date. I was trying  to mix things up.

However As of this writing I am gonna do a Complete wipe and reinstall because of the many fun stuff going on. and the fact I can't log in to my school network is the main reason lol.

wish me luck also When did they go from 700mb to a gig iso just curious.
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong