Re: Problem running openvirus ScannerDaemon
Kurt Huwig <[email protected]> Tue, 15 Jun 2004 11:57:52 +0200
| Newsgroups | gmane.comp.security.virus.openantivirus.general |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB35A03AE11E0CE08EDE5ADD2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit [email protected] wrote: > 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: [...] > 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 This is what went wrong: your temporary directory is /temp but yout checked the permissions on /tmp. -- Kurt Huwig iKu Systemhaus AG http://www.iku-ag.de/ Vorstand Am Römerkastell 4 Telefon 0681/96751-0 66121 Saarbrücken Telefax 0681/96751-66 GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940 EB6D 4C32 F908 99DD 9468 --------------enigB35A03AE11E0CE08EDE5ADD2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAzsggTDL5CJndlGgRAiiWAJ9w9z7/Tmitlxpanln5tHyZAYf2WQCgtml6 SVsyFmQqSJtyVhUR3AxBnhs= =/Ezk -----END PGP SIGNATURE----- --------------enigB35A03AE11E0CE08EDE5ADD2-- ------------------------------------------------------- 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