Re: [squid-users] SquidNT service fails to start, then works fine

From: <eupec@dont-contact.us>
Date: 8 Apr 2005 19:31:37 -0000

                        
-----Messaggio Originale-----
Da: hno@squid-cache.org
A: eupec@supereva.it
Data invio: Fri, 8 Apr 2005 20:43:12 +0200 (CEST)
Oggetto: Re: Re: [squid-users] SquidNT service fails to start, then works fine

On Fri, 8 Apr 2005 eupec@supereva.it wrote:

> Hi, I've a little problem with my SquidNT intallation: at windows (2k
> server) startup, I've the following errors:
>
> 1) error 7022 - service control manager: Squid service hung at startup
>
> 2) error 7031 - service control manager: The SquidNT service terminated
> unexpectedly. It has done this 1 time(s). The following corrective
> action will be taken in 60000 milliseconds: restart [this is an english
> translation, my real event viewer messages are in non-english language;
> I don't remember exactly the respawn service time, so I guess 60 s].
>
> In short:SquidNT hangs at startup, but if I wait a while, the service restarts and works ok...what's wrong?

::Anything in cache.log explaining the error?
::
::Is the network up when the Squid service is started? If not
::you may need
::to set visible_hostname in squid.conf and use the -D
::command line option
::in the service to disable DNS verifications.

SquidNT service itself breaks the regular network startup before it hangs;after the service failure, the network goes up and works fine; note that if I set the squidNT service to "disabled", the network goes up (and works ok) fastly and with no errors/warns in the event viewer.

Tomorrow I'll look in the cache.log file for further investigations; about the -D options...what's the correct syntax (for the -D opt) with SquidNT? The string "C:\Squid\sbin\squid.exe -D --ntservice:SquidNT" directly written in registry (in HKLM\system\currentcontrolset\services\squidnt\imagepath key) isn't working, the service fails to start :(

As usual, thank you for the help.

Eupec

::Regards
::Henrik

---------------------------------------------------------------
Scegli il tuo dominio preferito e attiva la tua email! Da oggi
l'eMail di superEva e' ancora piu' veloce e ricca di funzioni!
http://webmail.supereva.it/new/
---------------------------------------------------------------
Received on Fri Apr 08 2005 - 13:31:40 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT