KlamAV updates

Asked by Rinus Dekker

When I try to update the virus signatures in the GUI of KLAMAV
It displays a message in the bottom of the GUI as follows.
Hint: The Data Base Directory Must Be Writable For UID 1000 or GID 1000.
And signatures are not updated. It just sits there.
What do I need to do to get it to update, how do I make these directories writable?
Thanks Much
RD

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu klamav Edit question
Assignee:
No assignee Edit question
Solved by:
Rinus Dekker
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

try running the app with gksudo. You will then have write access to the definitions folder. If you can find where the definitions are help you can chmod / chown them so that your user can update them but tis will make them lesss secure as intruders will also have write access to them to change them to allow viruses in.

Revision history for this message
Rinus Dekker (rdekker-att) said :
#2

Thank you very much for your response.
However when I run klamav in terminal mode, using the gksudo command klamave comes up fine but when I try to run update it returns an error message as follows.

Error can't create temporary directory
/var/lib/clamav/clamav-17906155a161e0d6d8f87b519bc8411f

Can yo help with that?

Thank you
Rinus

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

isn't there a single command to update at command line?

isn't there:

sudo freshklam

does that work?

Revision history for this message
Rinus Dekker (rdekker-att) said :
#4

Yes,

sudo freshklam works great.

The problem is updating from the GUI (Perhaps because it is still in beta)
Updating from the command line works fine for me.

Thank you again,

Rinus

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Never used the gui for clam, I virus scan and update from command line via cron.

Revision history for this message
Rinus Dekker (rdekker-att) said :
#6

Never used cron. What is it?

On Fri, 2010-09-03 at 20:03 +0000, actionparsnip wrote:
> Your question #123566 on klamav in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/klamav/+question/123566
>
> actionparsnip posted a new comment:
> Never used the gui for clam, I virus scan and update from command line
> via cron.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

https://help.ubuntu.com/community/CronHowto

Its a great scheduler for Ubuntu.

Revision history for this message
Theatre-X (theatrex) said :
#8

I'm having the same problem. I tried "freshklam" from above but my system does not recognize the command.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

sudo freshclam

not freshklam

Revision history for this message
Rinus Dekker (rdekker-att) said :
#10

Problem fixed

On Wed Jan 12th, 2011 1:10 AM EST actionparsnip wrote:

>Your question #123566 on klamav in ubuntu changed:
>https://answers.launchpad.net/ubuntu/+source/klamav/+question/123566
>
>actionparsnip posted a new comment:
>sudo freshclam
>
>not freshklam
>
>--
>You received this question notification because you are a direct
>subscriber of the question.

Revision history for this message
Rinus Dekker (rdekker-att) said :
#11
Revision history for this message
Rinus Dekker (rdekker-att) said :
#12
Revision history for this message
Rinus Dekker (rdekker-att) said :
#13