public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Running Squid using cygrunsrv
@ 2002-02-14 20:28 Sindhu Kurnia
  2002-02-14 20:29 ` Robert Collins
  0 siblings, 1 reply; 7+ messages in thread
From: Sindhu Kurnia @ 2002-02-14 20:28 UTC (permalink / raw)
  To: cygwin

Hi,

This is my first experience of running Squid under cygwin. I successfully
run Squid by direct invoking from Bash shells, but I have fatal issue when
run it using cygrunsrv. I did:

>>cygrunsrv -I squidcache -d "Squid Web Proxy Cache" -p /usr/bin/squid -a -N
>>cygrunsrv -S squidcache
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

Is there something wrong with my step? Anyone please kindly assist me...


Regards.


--
Sindhu Kurnia



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Squid using cygrunsrv
  2002-02-14 20:28 Running Squid using cygrunsrv Sindhu Kurnia
@ 2002-02-14 20:29 ` Robert Collins
  0 siblings, 0 replies; 7+ messages in thread
From: Robert Collins @ 2002-02-14 20:29 UTC (permalink / raw)
  To: Sindhu Kurnia, cygwin

You need to use -D to run squid as a service.

Rob
===
----- Original Message -----
From: "Sindhu Kurnia" <sindhu@se.fujitsu.co.id>
To: <cygwin@cygwin.com>
Sent: Friday, February 15, 2002 3:29 PM
Subject: Running Squid using cygrunsrv


> Hi,
>
> This is my first experience of running Squid under cygwin. I
successfully
> run Squid by direct invoking from Bash shells, but I have fatal issue
when
> run it using cygrunsrv. I did:
>
> >>cygrunsrv -I squidcache -d "Squid Web Proxy Cache" -p
/usr/bin/squid -a -N
> >>cygrunsrv -S squidcache
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
> The service has not been started.
>
> Is there something wrong with my step? Anyone please kindly assist
me...
>
>
> Regards.
>
>
> --
> Sindhu Kurnia
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Running Squid using cygrunsrv
  2002-02-14 20:46     ` Robert Collins
@ 2002-02-14 21:04       ` Sindhu Kurnia
  0 siblings, 0 replies; 7+ messages in thread
From: Sindhu Kurnia @ 2002-02-14 21:04 UTC (permalink / raw)
  To: cygwin

I've check the Win2K event viewer, it seems the problem came from file
permission when Squid tries to access /var/log/squidcache.log. This is the
attribute:

-rw-r--r--    1 SYSTEM   SYSTEM       3852 Feb 15 11:54 squidcache.log

any advice?

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
Of Robert Collins
Sent: Friday, February 15, 2002 11:47 AM
To: Sindhu Kurnia
Cc: cygwin@cygwin.com
Subject: Re: Running Squid using cygrunsrv


Then maybe pass -p "/usr/bin/squid -N" to cygrunsrv.

Rob
===
----- Original Message -----
From: "Sindhu Kurnia" <sindhu@se.fujitsu.co.id>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin@cygwin.com>
Sent: Friday, February 15, 2002 3:45 PM
Subject: RE: Running Squid using cygrunsrv


> >>cygrunsrv -I squidcache -p /usr/bin/squid -a -N
> should work then. I think the -a  is the part of cygrunsrv parms not
squid
> parms. When I remove -a, then cygrunsrv complains unknown -N
parameter.
>
>
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On
Behalf
> Of Robert Collins
> Sent: Friday, February 15, 2002 11:37 AM
> To: Sindhu Kurnia
> Cc: cygwin@cygwin.com
> Subject: Re: Running Squid using cygrunsrv
>
>
> Your squid syntax is invalid. -a requires a port number.
>
> Also, I was wrong - -N as you had before is correct (I got confused,
> been a while since I had to configure a squid install).
>
> Rob
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Squid using cygrunsrv
  2002-02-14 20:45   ` Sindhu Kurnia
@ 2002-02-14 20:46     ` Robert Collins
  2002-02-14 21:04       ` Sindhu Kurnia
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Collins @ 2002-02-14 20:46 UTC (permalink / raw)
  To: Sindhu Kurnia; +Cc: cygwin

Then maybe pass -p "/usr/bin/squid -N" to cygrunsrv.

Rob
===
----- Original Message -----
From: "Sindhu Kurnia" <sindhu@se.fujitsu.co.id>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin@cygwin.com>
Sent: Friday, February 15, 2002 3:45 PM
Subject: RE: Running Squid using cygrunsrv


> >>cygrunsrv -I squidcache -p /usr/bin/squid -a -N
> should work then. I think the -a  is the part of cygrunsrv parms not
squid
> parms. When I remove -a, then cygrunsrv complains unknown -N
parameter.
>
>
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On
Behalf
> Of Robert Collins
> Sent: Friday, February 15, 2002 11:37 AM
> To: Sindhu Kurnia
> Cc: cygwin@cygwin.com
> Subject: Re: Running Squid using cygrunsrv
>
>
> Your squid syntax is invalid. -a requires a port number.
>
> Also, I was wrong - -N as you had before is correct (I got confused,
> been a while since I had to configure a squid install).
>
> Rob
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Running Squid using cygrunsrv
  2002-02-14 20:36 ` Robert Collins
@ 2002-02-14 20:45   ` Sindhu Kurnia
  2002-02-14 20:46     ` Robert Collins
  0 siblings, 1 reply; 7+ messages in thread
From: Sindhu Kurnia @ 2002-02-14 20:45 UTC (permalink / raw)
  To: Robert Collins; +Cc: cygwin

>>cygrunsrv -I squidcache -p /usr/bin/squid -a -N
should work then. I think the -a  is the part of cygrunsrv parms not squid
parms. When I remove -a, then cygrunsrv complains unknown -N parameter.


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
Of Robert Collins
Sent: Friday, February 15, 2002 11:37 AM
To: Sindhu Kurnia
Cc: cygwin@cygwin.com
Subject: Re: Running Squid using cygrunsrv


Your squid syntax is invalid. -a requires a port number.

Also, I was wrong - -N as you had before is correct (I got confused,
been a while since I had to configure a squid install).

Rob



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Running Squid using cygrunsrv
       [not found] <GGEDLLNBMJEGGOHCOENOEENHCAAA.sindhu@se.fujitsu.co.id>
@ 2002-02-14 20:36 ` Robert Collins
  2002-02-14 20:45   ` Sindhu Kurnia
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Collins @ 2002-02-14 20:36 UTC (permalink / raw)
  To: Sindhu Kurnia; +Cc: cygwin

Your squid syntax is invalid. -a requires a port number.

Also, I was wrong - -N as you had before is correct (I got confused,
been a while since I had to configure a squid install).

Rob



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Running Squid using cygrunsrv
@ 2002-02-14 20:35 Sindhu Kurnia
  0 siblings, 0 replies; 7+ messages in thread
From: Sindhu Kurnia @ 2002-02-14 20:35 UTC (permalink / raw)
  To: cygwin


And this is the result

Administrator:~# cygrunsrv -I squidcache -p /usr/bin/squid.exe -a -D
Administrator:~# cygrunsrv -S squidcache
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

Any advice?

-----Original Message-----
From: Robert Collins [mailto:robert.collins@itdomain.com.au]
Sent: Friday, February 15, 2002 11:30 AM
To: Sindhu Kurnia; cygwin@cygwin.com
Subject: Re: Running Squid using cygrunsrv


You need to use -D to run squid as a service.

Rob
===
----- Original Message -----
From: "Sindhu Kurnia" <sindhu@se.fujitsu.co.id>
To: <cygwin@cygwin.com>
Sent: Friday, February 15, 2002 3:29 PM
Subject: Running Squid using cygrunsrv


> Hi,
>
> This is my first experience of running Squid under cygwin. I
successfully
> run Squid by direct invoking from Bash shells, but I have fatal issue
when
> run it using cygrunsrv. I did:
>
> >>cygrunsrv -I squidcache -d "Squid Web Proxy Cache" -p
/usr/bin/squid -a -N
> >>cygrunsrv -S squidcache
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
1062:
> The service has not been started.
>
> Is there something wrong with my step? Anyone please kindly assist
me...
>
>
> Regards.
>
>
> --
> Sindhu Kurnia
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-02-15  5:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-14 20:28 Running Squid using cygrunsrv Sindhu Kurnia
2002-02-14 20:29 ` Robert Collins
2002-02-14 20:35 Sindhu Kurnia
     [not found] <GGEDLLNBMJEGGOHCOENOEENHCAAA.sindhu@se.fujitsu.co.id>
2002-02-14 20:36 ` Robert Collins
2002-02-14 20:45   ` Sindhu Kurnia
2002-02-14 20:46     ` Robert Collins
2002-02-14 21:04       ` Sindhu Kurnia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).