Re: [Evolution] Evolution 2.24 + clamav

On Fri, 2008-12-05 at 12:55 +0000, José Carlos Martins wrote:

Thank you for your kind help and patience.
My clamd.conf points to /var/lib/clamav/clamd.socket and i changed it in
the ruby program.
Yes the socket exist.
I have ruby 1.8.7 and zenity 2.24.0 installed.

First problem is here.
/home/jose/rubyclamav.rb is failing immediately

what does
  which ruby

if it does not return /usr/bin/ruby, then change the first line of the
script from

[jose localhost ~]$ cat teste3 | /home/jose/rubyclamav.rb
/home/jose/rubyclamav.rb: line 4: require: command not found
/home/jose/rubyclamav.rb: line 5: syntax error near unexpected token `('
/home/jose/rubyclamav.rb: line 5: `fp ="/var/log/rubyclamav/rubyoutclam_#{}.log",'
[jose localhost ~]$ echo $?

what does
   file /home/jose/rubyclamav.rb

what does
   cat /home/jose/rubyclamav.rb

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]