Please run:
squid -k check
... fix all problems indicated, and repeat until nothing gets mentioned.
and if the cache directory is empty:
squid -z
It should then work as per the usual start/stop methods for Windows.
Amos
On 13/04/2012 8:49 a.m., Marilo wrote:
> I have windows xp sp3
>
>
> I did squid -i then it said start it in the applet.
>
> So I went to services.msc and tried to start it
> It said
> could not start the squid service error 1067
>
> I did squid -X it said
>
> looked up FATAL in squid -X, said CACHE directory not created
> FATAL: cache_dir c:/squid/var/cache: (2) No such file or directory
> Squid Cache (Version 2.7.STABLE8): Terminated abnormally.
>
> So I created c:\squid\var\cache
>
> (The instructions on the windows squid site had said check that all directories mentioned in squid.conf exist..if not create them. I noticed one cache one didn't exist. So anyhow, I created it.
>
> Then I tried to start it, it took ages gave this error and just says "starting" not started.
>
> error 1053 The service did not respond to the start or control request in a a timely fashion
>
> so, I did squis -X and at the end it said
>
> 2012/04/12 21:14:47| aclParseAclList: looking for ACL name 'all'
> 2012/04/12 21:14:47| parse_line: dns_testnames netscape.com internic.net nlanr.net microsoft.com
> 2012/04/12 21:14:47| getMyHostname: 'cfw5' resolved into 'cfw5'
> 2012/04/12 21:14:47| Could not determine fully qualified hostname. Please set 'visible_hostname'
> 2012/04/12 21:14:47| cachemgrRegister: registered config
> 2012/04/12 21:14:47| fd_open FD 0 stdin
> 2012/04/12 21:14:47| fd_open FD 1 stdout
> 2012/04/12 21:14:47| fd_open FD 2 stderr
> 2012/04/12 21:14:47| leave_suid: PID 4628 called
>
> abnormal program termination
>
>
> Then I tried saying
>
> TAG: visible_hostname blobby
> (my hostname is blobby)
>
> It still didn't work. Squid -X said
>
> 2012/04/12 21:21:26| aclParseAclList: looking for ACL name 'all'
> 2012/04/12 21:21:26| parse_line: dns_testnames netscape.com internic.net nlanr.net microsoft.com
> 2012/04/12 21:21:26| cachemgrRegister: registered config
> 2012/04/12 21:21:26| fd_open FD 0 stdin
> 2012/04/12 21:21:26| fd_open FD 1 stdout
> 2012/04/12 21:21:26| fd_open FD 2 stderr
> 2012/04/12 21:21:26| leave_suid: PID 3504 called
>
> abnormal program termination
>
>
Received on Mon Apr 16 2012 - 07:43:58 MDT
This archive was generated by hypermail 2.2.0 : Mon Apr 16 2012 - 12:00:05 MDT