The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ClamAV Error

Discussion in 'General Discussion' started by mohsen88, Jan 12, 2012.

  1. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    Hi

    when run this command in ssh

    clamscan -r /home --infected

    after a few menutes stop scan and show this message :

    LibClamAV Error: fmap_readpage: pread error: Input/output error
    LibClamAV Error: fmap_readpage: pread error: Input/output error
    LibClamAV Error: fmap_readpage: pread error: Input/output error
    Segmentation fault (core dumped)

    please help me

    best regards
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    What is the version of clamscan?

    run:
    clamscan --version
     
  3. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator


    ClamAV 0.97.3
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
  5. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    I read link but I did not know what to do

    Please help in simple language......
     
  6. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    Please Answer ....
     
  7. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Check the clamav version by command clamav-config --version and confirm if you are using updated cpamav. If not then update it with the command freshclam

    Secondly enable logs for the clamscan as said in above URL and check the file which is causing this error.
     
  8. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    I submit a ticket but staff support were unable to solve the problem
     
  9. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In my previous post, I referred you to this:

    http://www.gossamer-threads.com/lists/clamav/users/50788

    The linked post explains very simply that the error you mention happens because for some reason a file's size is changing while ClamAV is scanning it. I do not know how to explain this using any simpler language.

    If you have a very busy server, it could be caused by something as simple as your users updating their sites while you happen to be scanning with ClamAV. It may not be a cause for concern.

    What is the ID (should be a seven-digit number) of the ticket you submitted?
     
  10. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator

    true , but I could not do it

    can you do it for me ?

    Ticket ID #2227254 ( closed )

    Best Regards
     
  11. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This is really a server administration issue, which is what John explained to you in ticket 2227254. We do provide the ClamAV plug-in, but we do not develop ClamAV, and we do not support using it the way you are using it, which is to scan the entire /home directory from the command line.

    For assistance with using ClamAV the way you are trying to use it, you need to either consult the ClamAV documentation or consider hiring a qualified server administrator who is familiar with ClamAV. We provide a list of companies that provide server administration services in our Application Catalog .

    http://www.cpanel.net/application-catalog/
     
  12. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    Other members forum can help me for resolve this problem ???
     
    #12 mohsen88, Feb 1, 2012
    Last edited: Feb 1, 2012
  13. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    No one can help me???
    Please Help....
     
  14. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to try the ClamAV mailing list, found at:

    Clam AntiVirus

    This is a support mailing list provided by ClamAV for assistance with their application.

    Thank you.
     
Loading...

Share This Page