Results 1 to 5 of 5

Thread: clamav errors

  1. #1

    Default 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

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,673
    Blog Entries
    15

    Default Re: clamav errors

    Quote Originally Posted by lord valarian
    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
    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


  3. #3
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: clamav errors

    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

  4. #4
    Tilman Schmidt NNTP User

    Default Re: clamav errors

    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.

  5. #5

    Default Re: clamav errors

    Quote Originally Posted by Tilman Schmidt View Post
    lord valarian schrieb:[color=blue]

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •