Problem running openvirus ScannerDaemon

[email protected] Thu, 10 Jun 2004 14:52:40 -0500 (COT)
Newsgroups gmane.comp.security.virus.openantivirus.general
Message-ID <40600.200.31.204.249.1086897160.squirrel@audifarm.audifarma.com.co>
Hi,

I have installed your software in my RedHat Linux box 9.0 and follow the
instructions that you supply but when I run a  test I got an error while
reading some "file...".

This is the installation process I've followed:

1- Get the zip files from your website (www.openantivirus.org)

2- uncompress the files
   unzip ScannerDaemon-0.6.0.zip

3- Install jre (j2re1.4.2_04), and update the PATH var to point to the
rigth directory, I have tested and runs ok.

4- mv jar files to /usr/local/bin/openantivirus/java/bin

5- modify and run update.sh to get latest virus signatures (I think I did
it ok, look at the messages when I start the ScannerDaemon).


Here's what I am doing, after installation:

1-start the deamon

# java -jar ScannerDaemon.jar -credo.directory engine/credo/
OpenAntivirus ScannerDaemon v0.6.0
(c) 2001-2004 iKu Systemhaus AG http://www.iku-ag.de/
ScannerDaemon comes with ABSOLUTELY NO WARRANTY; for details read 'COPYING'.
This is free software, and you are welcome to redistribute it under certain
conditions; for details read 'COPYING'.
Reading 'clamav.strings'...
  signed by 'CN=Credo Signature, OU=Credo Signing, O=OpenAntivirus.org,
L=Saarbruecken, ST=Saarland, C=DE'
  verified Credo-level 4
Reading 'clamav2.strings'...
  signed by 'CN=Credo Signature, OU=Credo Signing, O=OpenAntivirus.org,
L=Saarbruecken, ST=Saarland, C=DE'
  verified Credo-level 4
Listening for incoming requests


2- run the test just like this

  # telnet localhost 8127
  Tryning 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  scan /tmp/msg_juancarlos.zip


3-At this point the ScannerDaemon shows this error message (for ever....)

java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at
org.openantivirus.engine.vfs.TemporaryFile.<init>(TemporaryFile.java:48)
        at
org.openantivirus.engine.vfs.entry.TemporaryVfsEntry.<init>(TemporaryVfsEntry.java:53)
        at
org.openantivirus.engine.vfs.entry.TemporaryIsVfsEntry.<init>(TemporaryIsVfsEntry.java:51)
        at
org.openantivirus.engine.vfs.container.ZipContainer.next(ZipContainer.java:69)
        at
org.openantivirus.engine.ScanEngine.scanContainer(ScanEngine.java:172)
        at org.openantivirus.engine.ScanEngine.scan(ScanEngine.java:121)
        at org.openantivirus.engine.ScanEngine.scan(ScanEngine.java:110)
        at
org.openantivirus.daemon.RequestHandler.run(RequestHandler.java:122)
        at java.lang.Thread.run(Unknown Source)


4-I've checked for file permissions and changed them:

  chmod 777 /tmp/msg_juancarlos.zip

  of course /tmp directory by defualt has all permissions assigned, even
so, I've checked too:

  drwxrwxrwt   24 root     root         8192 Jun 10 14:43 tmp


5-I also checked at the ScannerDaemon-settings.properties
  and uncomment the lines pointing to temp file

  # directory for temporary files
  engine.tempdirectory=/temp


  and enabled zip from individual packers section

  # enable individual packers
  #vfs.archive.ace=yes
  #vfs.archive.ar=yes
  #vfs.archive.arc=yes
  #vfs.archive.arj=yes
  #vfs.archive.bzip2=yes
  #vfs.archive.cab=yes
  #vfs.archive.compress=yes
  #vfs.archive.cpio=yes
  #vfs.archive.dact=yes
  #vfs.archive.dar=yes
  #vfs.archive.gzip=yes
  #vfs.archive.lha=yes
  #vfs.archive.lzo=yes
  #vfs.archive.ppmd=yes
  #vfs.archive.rar=yes
  #vfs.archive.rpm=yes
  #vfs.archive.shar=yes
  #vfs.archive.tar=yes
  #vfs.archive.tnef=yes
  #vfs.archive.upx=yes
  #vfs.archive.uuencode=yes
  vfs.archive.zip=yes
  #vfs.archive.zoo=yes


Run then test again but the error message still appears


Could somebody tell me what I am doing wrong....?


Thanks a lot!


Alvaro Arcila
Colombia (South America)




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND