Looks like you created the clamav home dir in your home dir. The clamav
user need full access to that folder to download anything.

Jason

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alessandro
Volturno
Sent: Saturday, December 01, 2007 12:50 PM
To: clamav-users@lists.clamav.net
Subject: [Clamav-users] needed help for the first execution


Hello there,

I have a working and updated Debian Linux Etch release
kernel 2.6.18-5-686.

I have downloaded Clamav source tar.gz version 0.91.2.


After having unpacked it and installed it with the following commands:

        ~$ ./configure --prefix=home/alessandro/clamav --disable-clamav
        ~$ make
        ~$ make install

[here /home/alessandro is my home path],

and having created the clamav user with the following commands:

        ~# groupadd clamav
        ~# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

and having removed the Example voice in the

        ~/clamav/etc/clamd.conf
        ~/clamav/etc/freshclam.conf

files;

when I finally launch freshclam:

        ~/clamd/bin/freshclam

I get the following output:

ClamAV update process started at Fri Nov 30 18:20:25 2007 main.cvd is up
to date (version: 44, sigs: 133163, f-level: 20, builder:
sven)
ERROR: chdir_inc: Can't create directory daily.inc
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: getfile: Can't create new
file ./clamav-3c8ba724e5b8707cfa7172191a8a7a46
in /home/alessandro/clamav/share/clamav
Hint: The database directory must be writable for UID 1000 or GID 1000
ERROR: Can't download daily.cvd from database.clamav.net LibClamAV
Error: Database
Directory: /home/alessandro/clamav/share/clamav not locked



What should I have to do to fix it?

Thank you very much.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

COME AND SEE ADVENTURE AQUARIUM'S LATEST ARRIVALS! THE RARE AND MYSTERIOUS 
SHARK RAYS!

Visit www.AdventureAquarium.com for details!

      ..·><((((º>..·`·.><((((º>..·`·.><((((º>..·`·.><((((º>
                                    ..·`·.><((((º>..·`·.><((((º>..·`·.><((((º>
..·><((((º>..·`·.><((((º>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to