On Thu, 25 Nov 2004 19:03:11 +0100 Frank Elsner wrote 
                                   to <[EMAIL PROTECTED]>:
> 
> I've a problem with listing the signatures.
> 
> ClamAV 0.80 configured by 
> 
>            ./configure --prefix=/usr/ClamAV --sbindir=/usr/ClamAV/bin \
>                        --datadir=/usr/ClamAV/data --mandir=/usr/local/man \
>                        --disable-clamav --disable-clamuko --with-user=exim
> 
> compiled, installed and working like a charme.
> 
> But "sigtool --list-sigs" gives 
>      ERROR: Can't open directory /usr/ClamAV/data0
> 
> The "/usr/ClamAV/data" directory seens to be ok
> 
>     drwxrwxr-x    2 clamav   exim         2048 Nov 24 15:50 ./
>     drwxrwxr-x   10 clamav   root         2048 Nov 19 15:22 ../
>     -rw-r--r--    1 clamav   exim        66385 Nov 24 15:50 daily.cvd
>     -rw-r--r--    1 clamav   exim      1455358 Nov 20 02:18 main.cvd
> 
> I'd like to be able to list the signatures but how ?

Answering my own question:

I've found the bug. 

After ./configure (see above) file clamav-config.h contains 

  /* Path to virus database directory. */
  #define DATADIR "/usr/ClamAV/share/clamav"
                   ^^^^^^^^^^^^^^^^^^^^^^^^ Refer to ./configure above

Changing this to 

  /* Path to virus database directory. */
  #define DATADIR "/usr/ClamAV/data"
                   ^^^^^^^^^^^^^^^^  
                                             solved the problem.


Kind regards   _______________________________________________________________ 
Frank Elsner  /                         c/o  Technische Universitaet Berlin   |
 ____________/                               ZRZ, Sekr. E-N 50                |
|                                            Einsteinufer 17                  |
| Phone: +49 30 314 23897                    D-10587 Berlin                   |
| eMail: [EMAIL PROTECTED]             Germany              ____________|
|_________________________________________________________________| Exim rulez



_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to