Hi, Try the following: - Remove squid service (squid -r) - clean the following registry keys: HKLM\SOFTWARE\GNU\Squid HKLM\SYSTEM\CurrentControlSet\Services\Squid - Install Squid Service (squid -i) using the local administrator account with UAC disabled If Squid must run in a different path from c:\squid, don't forget to specify the -f option after -i when installing the squid service) Regards Guido Guido Serassio Acme Consulting S.r.l. Microsoft Gold Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: guido.serassio@xxxxxxxxxxxxxxxxx WWW: http://www.acmeconsulting.it > -----Messaggio originale----- > Da: Preetham N. [mailto:preetham.n@xxxxxxxxx] > Inviato: lunedì 14 dicembre 2009 10.03 > A: Squid Users; Guido Serassio > Oggetto: Fwd: Squid Service on windows Starts and stops > automatically > > Hi, I still have the same problem......Can some one help please? > > Hi, > Sorry for the late update. > I had not disabled UAC before installing squid..... So i disabled it, > uninstalled the squid service cleared the contents of the log file and > and then installed the service again. Its the same problem but now, it > is not writing anything into the logfile, its blank. When i try > starting the service from the command prompt it says the service could > not be started but there were no errors reported. Again, nothing in > the log file. > Any help? > > Regards, > Preetham > > ---------- Forwarded message ---------- > From: Preetham N. <preetham.n@xxxxxxxxx> > Date: Mon, Dec 7, 2009 at 7:00 PM > Subject: Re: Squid Service on windows Starts and stops > automatically > To: Kinkie <gkinkie@xxxxxxxxx> > > > hi, > below is the snippet from the log > > 2009/12/01 16:23:52| Starting Squid Cache version 2.7.STABLE7 for > i686-pc-winnt... > 2009/12/01 16:23:52| Running on Windows Server 2008 > 2009/12/01 16:23:52| Process ID 1972 > 2009/12/01 16:23:52| With 2048 file descriptors available > 2009/12/01 16:23:52| With 512 CRT stdio descriptors available > 2009/12/01 16:23:52| Windows sockets initialized > 2009/12/01 16:23:52| Using select for the IO loop > 2009/12/01 16:23:52| Performing DNS Tests... > 2009/12/01 16:23:52| Successful DNS name lookup tests... > 2009/12/01 16:23:52| DNS Socket created at 0.0.0.0, port 57426, FD 4 > 2009/12/01 16:23:52| Adding nameserver 125.22.47.125 from Registry > 2009/12/01 16:23:52| Adding nameserver 202.56.230.6 from Registry > 2009/12/01 16:23:52| Adding domain ******** from Registry > 2009/12/01 16:23:52| User-Agent logging is disabled. > 2009/12/01 16:23:52| Referer logging is disabled. > 2009/12/01 16:23:52| logfileOpen: opening log c:/squid/var/logs/access.log > 2009/12/01 16:23:52| Unlinkd pipe opened on FD 7 > 2009/12/01 16:23:52| Swap maxSize 102400 + 8192 KB, estimated 8507 objects > 2009/12/01 16:23:52| Target number of buckets: 425 > 2009/12/01 16:23:52| Using 8192 Store buckets > 2009/12/01 16:23:52| Max Mem size: 8192 KB > 2009/12/01 16:23:52| Max Swap size: 102400 KB > 2009/12/01 16:23:52| Local cache digest enabled; rebuild/rewrite every > 3600/3600 sec > 2009/12/01 16:23:52| logfileOpen: opening log c:/squid/var/logs/store.log > 2009/12/01 16:23:52| Rebuilding storage in c:/squid/var/cache (CLEAN) > 2009/12/01 16:23:52| Using Least Load store dir selection > 2009/12/01 16:23:52| Set Current Directory to c:/squid/var/cache > 2009/12/01 16:23:52| Loaded Icons. > 2009/12/01 16:23:52| Accepting proxy HTTP connections at 0.0.0.0, port > 3128, FD 13. > 2009/12/01 16:23:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 14. > 2009/12/01 16:23:52| Accepting HTCP messages on port 4827, FD 15. > 2009/12/01 16:23:52| Accepting SNMP messages on port 3401, FD 16. > 2009/12/01 16:23:52| Ready to serve requests. > 2009/12/01 16:23:53| Done reading c:/squid/var/cache swaplog (0 entries) > 2009/12/01 16:23:53| Finished rebuilding storage from disk. > 2009/12/01 16:23:53| 0 Entries scanned > 2009/12/01 16:23:53| 0 Invalid entries. > 2009/12/01 16:23:53| 0 With invalid flags. > 2009/12/01 16:23:53| 0 Objects loaded. > 2009/12/01 16:23:53| 0 Objects expired. > 2009/12/01 16:23:53| 0 Objects cancelled. > 2009/12/01 16:23:53| 0 Duplicate URLs purged. > 2009/12/01 16:23:53| 0 Swapfile clashes avoided. > 2009/12/01 16:23:53| Took 1.0 seconds ( 0.0 objects/sec). > 2009/12/01 16:23:53| Beginning Validation Procedure > 2009/12/01 16:23:53| Completed Validation Procedure > 2009/12/01 16:23:53| Validated 0 Entries > 2009/12/01 16:23:53| store_swap_size = 0k > 2009/12/01 16:23:54| storeLateRelease: released 0 objects > 2009/12/01 16:23:57| Preparing for shutdown after 0 requests > 2009/12/01 16:23:57| Waiting 0 seconds for active connections to finish > 2009/12/01 16:23:57| FD 13 Closing HTTP connection > 2009/12/01 16:23:57| Shutting down... > 2009/12/01 16:23:57| FD 14 Closing ICP connection > 2009/12/01 16:23:57| FD 15 Closing HTCP socket > 2009/12/01 16:23:57| FD 16 Closing SNMP socket > 2009/12/01 16:23:57| Closing unlinkd pipe on FD 7 > 2009/12/01 16:23:57| storeDirWriteCleanLogs: Starting... > 2009/12/01 16:23:57| Finished. Wrote 0 entries. > 2009/12/01 16:23:57| Took 0.0 seconds ( 0.0 entries/sec). > CPU Usage: 0.203 seconds = 0.031 user + 0.172 sys > Maximum Resident Size: 7208 KB > Page faults with physical i/o: 1845 > 2009/12/01 16:23:57| logfileClose: closing log c:/squid/var/logs/store.log > 2009/12/01 16:23:57| logfileClose: closing log > c:/squid/var/logs/access.log > 2009/12/01 16:23:57| Squid Cache (Version 2.7.STABLE7): Exiting normally. > > > On Mon, Dec 7, 2009 at 6:50 PM, Kinkie <gkinkie@xxxxxxxxx> wrote: > > On Mon, Dec 7, 2009 at 1:51 PM, Preetham N. <preetham.n@xxxxxxxxx> > wrote: > >> Hi, > >> I have installed 2.7 on a windows 2008(x86) server. It installed fine > >> and i guess the conf is fine too. But when i try to start the service > >> it says that the service started adn stopped automatically, it also > >> says that service with no job stops automatically. > >> Can some one help? > > > > What's in the cache.log file? > > > > > > -- > > /kinkie > > > > > > -- > Regards, > Preetham N. > > > > -- > Regards, > Preetham N.