Shutting down the service and running it manually shows: TCP 0.0.0.0:3310 0.0.0.0:0 LISTENING TCP 127.0.0.1:3310 127.0.0.1:2211 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2212 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2239 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2240 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2243 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2244 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2248 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2249 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2264 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2265 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2268 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2269 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2273 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2274 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2279 TIME_WAIT TCP 127.0.0.1:3310 127.0.0.1:2280 TIME_WAIT
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Davidson Sent: Tuesday, August 19, 2008 11:00 AM To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy Subject: Re: [Assp-user] [OT?] Freshclam 50% CPU Hmmm I set it all up as you explained (along with the correction) and my services are running, but ASSP shows: File::Scan::ClamAV module version 1.8 installed but not available, error: Cannot connect to 'localhost:3310': IO::Socket::INET: connect: Unknown error And when I run: netstat -an|find ":3310" it returns nothing -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of GrayHat Sent: Tuesday, August 19, 2008 9:24 AM To: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy Subject: Re: [Assp-user] [OT?] Freshclam 50% CPU > How did you get clamd and freshclam to run as services? oh well... piece of cake :D I used the srvany/instsrv tools available with various versions of the windows resource toolkit (just google and you'll be able to find them); it's just a matter of using the tools to setup the two critters to run as services and then edit the registry to configure things as needed; just to sum it up; assuming your clam is installed into "c:\clamAV" (just as an example) download the srvany.exe/instsrv.exe tools and copy both inside the clamav folder (i.e. inside c:\clamAV) run the instsrv tool to create the two services using the following instsrv ClamD c:\clamAV\srvany.exe instsrv FreshClam c:\clamAV\freshclam.exe next, fire regedit and drill down to HKLM\System\CurrentControlSet\Services find the "clamD" entry, create a "Parameters" voice under it, inside the "Parameters" subnode, create the following REG_SZ (string) values Application "c:\clamAV\clamd.exe" AppDirectory "c:\clamAV" AppParameters "--config-file=C:\clamAV\conf\clamd.conf" now find the freshclam voice, again create a "parameters" subnode and inside it, create the following values Application "c:\clamAV\freshclam.exe" AppDirectory "c:\clamAV" AppParameters "--daemon --config-file=C:\clamAV\conf\freshclam.conf" now, ensure to edit both clamd.conf and freshclam.conf so that they'll have the correct settings; e.g. for freshclam, ensure to setup a decent value for the "Checks" value (the interval used by freshclam to check for new sigs) in whatever case, try running clamd and freshclam from the cmdline using your config files and checking that they'll start correctly and without errors; once ok, you can start the two services so, just run net start clamd net start freshclam and then check the log files for clamd and freshclam, if all ok you'll now have both programs running as services and the freshclam will automatically check for new sigs and update them if needed ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
