ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
After Virus Scanned. PLEASE HELP ME
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
I ran update on clamwin engine. Its all good
I have built in script to run clamwin at fixed times.

I get error in the results but don't know how to fix it please help if you can. Also have this permission denied. error

Thanks

WARNING: Can't open file \\?\C:\Windows\System32\LogFiles\Sum\Current.mdb: Permission denied
WARNING: Can't open file \\?\C:\Windows\System32\lserver\TLSLic.edb: Permission denied
WARNING: Can't open file \\?\C:\Windows\System32\lserver\tmp.edb: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\master.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\mastlog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\model.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\modellog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\msdbdata.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\msdblog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\SUSDB.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\SUSDB_log.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\tempdb.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\templog.ldf: Permission denied

----------- SCAN SUMMARY -----------
Known viruses: 4272614
Engine version: 0.99
Scanned directories: 82440
Scanned files: 429574
Infected files: 0
Total errors: 5
Data scanned: 43026.25 MB
Data read: 48981.78 MB (ratio 0.88:1)
Time: 10699.062 sec (178 m 19 s)

That scan was for TS1
[/u][/b]
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 562
Location: **UNKNOWN**
Reply with quote
The permission denied files means that ClamWin cannot scan those files because they are locked system files. These should be nothing to worry about.

For future reference, I added the about permission denied files to our "Read First Before Posting" guide. These are stickied to the top in almost every forum section.
View user's profileSend private message
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
Thank you so much for the reply, any suggestions how can i get rid of the errors?
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4360
Location: USA
Reply with quote
There is presently no way to suppress this error message--it will have to be done with the code.

However, I suggest that you just exclude the files from scanning--that should do it.

Regards,
View user's profileSend private message
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
can you kindly give me a idea how can i exclude it from all the scans?
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4360
Location: USA
Reply with quote
Go to ClamWin configuration menu, Filters tab, on left side select New Item (it will be the square box). Type in location of file you want to exclude. (Example: C:\Programs\program name\filename.extension). Select OK. Done! Do this for each separate file you want to exclude.

If you want to exclude an entire folder, put a * after the folder name. Example: C:\Programs\program name\*

A quick way to exclude a file is just to type filename.extension, but that will exclude the filename in all locations. Sometimes a malware might use that same filename, and you will have excluded it, so I prefer to name the exact location of the file you want to exclude to prevent this unlikely event.

Thanks for using ClamWin!

Regards,
View user's profileSend private message
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
Thank you so much for your response.

Have good one.
View user's profileSend private message
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
I have tried this with excluding it with EX: C:\Programs\USER\* and it doesn't get excluded. I do have batch file in place to run the scan do i have to excluded from there if so can you give me a idea what i have to do with my file to exclude the files.

Thanks
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 562
Location: **UNKNOWN**
Reply with quote
All you need to do is exlcude the directory of where the permission denied file is. For example this one "WARNING: Can't open file \\?\C:\Windows\System32\LogFiles\Sum\Current.mdb: Permission denied"

To exclude this, all you would do it add this "C:\Windows\System32\LogFiles\Sum\Current.mdb"

Do not exclude the entire Windows directory or System32 directory as these are hot spots for malware.
View user's profileSend private message
ali.mughal


Joined: 24 Feb 2016
Posts: 6
Location: edison
Reply with quote
To exclude this, all you would do it add this "C:\Windows\System32\LogFiles\Sum\Current.mdb"

do i need to add as

"C:\Windows\System32\LogFiles\Sum\Current.mdb* ?
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 562
Location: **UNKNOWN**
Reply with quote
I don't think you need the * at the end.
View user's profileSend private message
Re: After Virus Scanned. PLEASE HELP ME
sirius2000


Joined: 22 Aug 2010
Posts: 5
Location: Sydney Australia
Reply with quote
ali.mughal wrote:
I ran update on clamwin engine. Its all good
I have built in script to run clamwin at fixed times.

I get error in the results but don't know how to fix it please help if you can. Also have this permission denied. error

Thanks

WARNING: Can't open file \\?\C:\Windows\System32\LogFiles\Sum\Current.mdb: Permission denied
WARNING: Can't open file \\?\C:\Windows\System32\lserver\TLSLic.edb: Permission denied
WARNING: Can't open file \\?\C:\Windows\System32\lserver\tmp.edb: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\master.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\mastlog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\model.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\modellog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\msdbdata.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\msdblog.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\SUSDB.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\SUSDB_log.ldf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\tempdb.mdf: Permission denied
WARNING: Can't open file \\?\C:\Windows\WID\Data\templog.ldf: Permission denied

----------- SCAN SUMMARY -----------
Known viruses: 4272614
Engine version: 0.99
Scanned directories: 82440
Scanned files: 429574
Infected files: 0
Total errors: 5
Data scanned: 43026.25 MB
Data read: 48981.78 MB (ratio 0.88:1)
Time: 10699.062 sec (178 m 19 s)

That scan was for TS1
[/u][/b]


In the original example, there were warnings about not being able to open certain files. That has been dealt with by the answers provided.
My question (and similar problem) is what are the errors being counted but not reported in the counter 'Total errors:5'.
As you see in the example there is nothing to tell us what file(s) have errors - so I have no way to find and fix them.

Thanks.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4360
Location: USA
Reply with quote
I would not worry about those errors--they are probably errors denoting other filetypes that the Clam AV engine was unable to scan. Remember that the Clam AV engine is really designed for Linux. Some Windows files were/are probably not considered by Clam AV.

Regards,
View user's profileSend private message
ROCKNROLLKID


Joined: 23 Sep 2013
Posts: 562
Location: **UNKNOWN**
Reply with quote
GuitarBob wrote:
Some Windows files were/are probably not considered by Clam AV.

Regards,


I don't know about that Bob. Back in .98, ClamAV was adding Microsoft Office file types, and as far as I am concerned, Microsoft Office does not run on Linux systems.

You can always file a bug report at their Bugzilla page to add a file type that is not being scanned by ClamAV, but please note that not all file types are hot spots for malware.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4360
Location: USA
Reply with quote
Isn't there a version of Office for other OSes besides Windows?

Anyway, I have seen ClamWin choke on a strange extension now and then.

Regards,
View user's profileSend private message
After Virus Scanned. PLEASE HELP ME
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 2  

  
  
 Reply to topic