errorTryLoadText (permissions)

From: Jan Simek <jan@dont-contact.us>
Date: Wed, 3 Mar 1999 18:04:12 -0500 (EST)

Hi,

I have downloaded Squid 2.1.PATCH2, configured, compiled, installed. I'm
on Solaris 2.7.

From squid.conf:
cache_effective_user squid
cache_effective_group squid

from passwd file:
squid:x:16:16:Squid admin:/usr/local/src/www/squid/:

from /etc/group file:
squid:*:16:root,squid,jan

the whole structure /usr/local/src/www/squid is owned by squid.squid, the
rights are "drwxr-xr-x" (755), except for logs directory (and
/a/squid/cache for the swap files), where they are "drwxrwxr-x" (775).

When I start squid (squid -z) for the very first time, it has no problems,
it creates the swap directories in /a/squid/cache/. When I start it again
(squid), I get these strange messages:

============================================================================

WARNING: Cannot write log file: /usr/local/src/www/squid/logs/cache.log
/usr/local/src/www/squid/logs/cache.log: Permission denied
         messages will be sent to 'stderr'.
1999/03/03 18:01:56| WARNING: Closing open FD 2
1999/03/03 18:01:56| Starting Squid Cache version 2.1.PATCH2 for
sparc-sun-solaris2.7...
1999/03/03 18:01:56| Process ID 10301
1999/03/03 18:01:56| With 1024 file descriptors available
1999/03/03 18:01:56| Performing DNS Tests...
1999/03/03 18:01:56| Successful DNS name lookup tests...
1999/03/03 18:01:56| helperOpenServers: Starting 5 'dnsserver' processes
1999/03/03 18:01:56| errorTryLoadText:
'/usr/local/src/www/squid/etc/errors/ERR_READ_TIMEOUT': (13) Permission
denied
1999/03/03 18:01:56| errorTryLoadText:
'/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or
directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.1.PATCH2): Terminated abnormally.
CPU Usage: 0.050 seconds
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
WARNING: Cannot write log file: /usr/local/src/www/squid/logs/cache.log
/usr/local/src/www/squid/logs/cache.log: Permission denied
         messages will be sent to 'stderr'.
===========================================================================

(it worked in a similar way even when I used nobody.nogroup ownership)

Anybody any ideas? What am I doing wrong?

Thanks,

--Jan
Received on Wed Mar 03 1999 - 15:50:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:07 MST