Search the Community
Showing results for tags 'Updates'.
Hi, Possibly there's someone here more experienced than I am with configuring the 'OnErrorExecute' option in freshclam.conf. What I want to achieve is that, when freshclam isn't able to update the virus definition for some reason, a (powershell) script is ran that calls an internal API. The way I have configured it now in freshclam.conf is as follows: OnErrorExecute powershell.exe "D:\Updatelog.ps1" I'm trying to force an error by disconnecting my computer from the internet. That way it doesn't seem to do anything. When I run this exact line (excluding the 'OnErrorExecute', of course) in a command prompt window, it works like a charm, and the API is called. My suspicion is that I'm using the wrong format for this property to trigger the command, but that is just a guess. Does anyone know how to do this? Thanks in advance, Kind regards, Tim
How to fix update hiccups easily: Go to clamav.net, download the Win64 file (that's if your system is running a 64bit processor) under "Alternate Versions of ClamAV" The file should be called something like: "clamav-0.102.4-win-x64-portable.zip" Before you extract this into the immunet folder, you need to stop the service under windows, hit the "start" button, in the run box type: "services.msc" (this shows you a panel with all your services) locate the entry: "Immunet 7.3.0" double click it, when the dialog shows up, click "Stop" it should take a few seconds to stop the service (if it doesn't stop the service, run services.msc as admin by right-clicking services.msc as it comes up in the results and choose "run as administrator" the icon will look like 2 silver cogs and say "services" in the search results) So once you stop "immunet 7.3.0" service, you can now extract your ClamAV zip file, right-click, extract files....., choose location: C:\Program Files\Immunet\clamav\0.102.1.76 (your version might differ, but extract it in the folder following clamav under your version number, when you extract the files it will ask if you want to "overwrite" existing files, click "yes to all". Once extracted you want to locate "Freshclam.exe" or just "freshclam" double click or right-click and run as admin (if you like) it will take a bit, but once you've updated your clamav, you can go back to services.msc and start "Immunet 7.3.0" by clicking the "start" button in the dialog panel. You can now update your Immunet software via the "update now" button. Hope this helps