clamav errors

I klamav doesn’t have cut and paste so I use the command line. Can
someone explain how to fix this errors? clamav should be able to read
all the files to scan for viruses. Here’s a sample of the errors.

clamav -r -i

LibClamAV Error: cli_readn: read error: Input/output error
LibClamAV Error: cli_readn: read error: Invalid argument
WARNING: Can’t open file
/sys/devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/rescan
WARNING: Can’t open file /sys/bus/platform/uevent
WARNING: Can’t open file /sys/bus/platform/drivers/vesafb/uevent
WARNING: Can’t open file /sys/bus/pnp/drivers_probe
WARNING: Can’t open file /sys/class/bsg/0:0:0:0/uevent

Thanks

lv


lord_valarian

lord_valarian’s Profile: http://forums.opensuse.org/member.php?userid=3387
View this thread: http://forums.opensuse.org/showthread.php?t=401607

Hi
You will find that they aren’t really files, but created for the kernel
to talk to your hardware since they are part of the /sys directory.
Have a google on “Linux Directory STructure”.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-4-default
up 9:35, 2 users, load average: 0.15, 0.20, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Also, if you are running it as a normal user you will get that.The files
in question need root access to check them

Andy


To be is to do = Immanuel Kant
To do is to be = Descartes.
Do be do be do = Frank Sinatra

SuSE user since 7.0,Linux user since 1994

deltaflyer44’s Profile: http://forums.opensuse.org/member.php?userid=95
View this thread: http://forums.opensuse.org/showthread.php?t=401607

lord valarian schrieb:
> Can
> someone explain how to fix this errors? clamav should be able to read
> all the files to scan for viruses. Here’s a sample of the errors.
>
> clamav -r -i
>
> LibClamAV Error: cli_readn: read error: Input/output error
> LibClamAV Error: cli_readn: read error: Invalid argument
> WARNING: Can’t open file
> /sys/devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/rescan
> WARNING: Can’t open file /sys/bus/platform/uevent
> WARNING: Can’t open file /sys/bus/platform/drivers/vesafb/uevent
> WARNING: Can’t open file /sys/bus/pnp/drivers_probe
> WARNING: Can’t open file /sys/class/bsg/0:0:0:0/uevent

It’s a bad idea to scan pseudo filesystems like /dev, /sys or /proc.
These aren’t real files but “magic portals” into your system, and
“reading” them might not be the activity you think it is.

HTH
T.

Tilman Schmidt;1907638 Wrote:
> lord valarian schrieb:
>
> It’s a bad idea to scan pseudo filesystems like /dev, /sys or /proc.
> These aren’t real files but “magic portals” into your system, and
> “reading” them might not be the activity you think it is.
>
> HTHT.

I see. It’s just a clamav bug that needs to be fixed. Thanks for the
info. I’ll just ignore the unreadable files now.

>Also, if you are running it as a normal user you will get that. The
files in question need root access to check them.

I use the console su to get to root access then switch to root dir.

lv


lord_valarian

lord_valarian’s Profile: http://forums.opensuse.org/member.php?userid=3387
View this thread: http://forums.opensuse.org/showthread.php?t=401607