Re: [squid-users] SquidNT 2.6_12 cache_effective_user --- not working

From: Andreas Woll <woll.andreas@dont-contact.us>
Date: Sun, 29 Apr 2007 15:21:37 -0400

Hi Guido,

I use the version provided on your website. I think this is not a
Cygwin, at least I didn't found
the cygwin.dll file.

I tried already to alter the logon account for the squid service and
set this in the same way in
squid.conf and in the ACLs of the folders but without success.

Here is the cache.log:

2007/04/29 02:37:03| Starting Squid Cache version 2.6.STABLE12 for
i686-pc-winnt...
2007/04/29 02:37:03| Running as Squid Windows System Service on Windows 2000
2007/04/29 02:37:03| Service command line is:
2007/04/29 02:37:03| Process ID 824
2007/04/29 02:37:03| With 2048 file descriptors available
2007/04/29 02:37:03| With 2048 CRT stdio descriptors available
2007/04/29 02:37:03| Windows sockets initialized
2007/04/29 02:37:03| Using select for the IO loop
2007/04/29 02:37:03| Performing DNS Tests...
2007/04/29 02:37:03| Successful DNS name lookup tests...
2007/04/29 02:37:03| DNS Socket created at 0.0.0.0, port 2045, FD 5
2007/04/29 02:37:03| Adding nameserver 212.42.245.7 from Registry
2007/04/29 02:37:03| Adding nameserver 212.42.246.212 from Registry
2007/04/29 02:37:03| Adding nameserver 172.58.98.5 from Registry
2007/04/29 02:37:03| Adding nameserver 172.58.98.8 from Registry
2007/04/29 02:37:03| User-Agent logging is disabled.
2007/04/29 02:37:03| Referer logging is disabled.
2007/04/29 02:37:03| Unlinkd pipe opened on FD 8
2007/04/29 02:37:03| Swap maxSize 10240000 KB, estimated 787692 objects
2007/04/29 02:37:03| Target number of buckets: 39384
2007/04/29 02:37:03| Using 65536 Store buckets
2007/04/29 02:37:03| Max Mem size: 8192 KB
2007/04/29 02:37:03| Max Swap size: 10240000 KB
2007/04/29 02:37:03| Local cache digest enabled; rebuild/rewrite
every 3600/3600 sec
FATAL: Cannot open 'e:/squid26_12/var/logs' for writing.
         The parent directory must be writeable by the
         user '.\squid', which is the cache_effective_user
         set in squid.conf.
Squid Cache (Version 2.6.STABLE12): Terminated abnormally.

At 14:32 29.04.2007, Guido Serassio wrote:
>Hi,
>
>At 20.10 29/04/2007, Andreas Woll wrote:
>>Hi all,
>>I hope for some help.
>>I'm currently using SquidNT2.5_9 and now I wanted to upgrade to the
>>newest version.
>>All things are set so far, but I still got the problem of an
>>unexpected termination of Squid.
>>
>>It says in cache.log that the user set in tag cache_effective_user
>>is not allowed to write
>>in folder e:/squid26_12/var/logs. I don't know why, because I
>>granted the group "Everyone"
>>full access to it and it can write the cache.log file.
>
>Do you are using Cygwin ?
>
>In the other native builds of Squid (MinGW or Visual Studio) the
>cache_effective_user option is meaningless. You must set the Windows
>service account to change the Squid running account.
>
>Regards
>
>Guido
>
>
>
>-
>========================================================
>Guido Serassio
>Acme Consulting S.r.l. - Microsoft Certified Partner
>Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
>Tel. : +39.011.9530135 Fax. : +39.011.9781115
>Email: guido.serassio@acmeconsulting.it
>WWW: http://www.acmeconsulting.it/
>
Received on Sun Apr 29 2007 - 13:22:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT