[Bug 420729] [NEW] squid stable permissions problems with log files

Launchpad Bug Tracker 420729 at bugs.launchpad.net
Sun Aug 30 09:44:54 BST 2009


You have been subscribed to a public bug:

Binary package hint: firefox-3.0

Hi i'm newbie in ubuntu
has installe squid proxy

in debuging mode  has error message 
permissions for parent directory is

FATAL: Cannot open '/var/log/squid/access.log' for writing.
	The parent directory must be writeable by the
	user 'proxy', which is the cache_effective_user


drwxrwxrwx 2 proxy  proxy     4096 2009-08-28 23:13 squid

running debug has message again

root at unixoid-desktop:/var/log# sudo squid -NCd10
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
         messages will be sent to 'stderr'.
2009/08/28 23:29:39| WARNING: Closing open FD    2
2009/08/28 23:29:39| Starting Squid Cache version 2.6.STABLE18 for i386-debian-linux-gnu...
2009/08/28 23:29:39| Process ID 7794
2009/08/28 23:29:39| With 1024 file descriptors available
2009/08/28 23:29:39| Using epoll for the IO loop
2009/08/28 23:29:39| Performing DNS Tests...
2009/08/28 23:29:39| Successful DNS name lookup tests...
2009/08/28 23:29:39| DNS Socket created at 0.0.0.0, port 39762, FD 5
2009/08/28 23:29:39| Adding nameserver 195.112.96.34 from /etc/resolv.conf
2009/08/28 23:29:39| Adding nameserver 172.16.254.1 from /etc/resolv.conf
2009/08/28 23:29:39| User-Agent logging is disabled.
2009/08/28 23:29:39| Referer logging is disabled.
FATAL: Cannot open '/var/log/squid/access.log' for writing.
	The parent directory must be writeable by the
	user 'proxy', which is the cache_effective_user
	set in squid.conf.
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted

user "proxy" is the owner of parent directory

ProblemType: Bug
Architecture: i386
Date: Fri Aug 28 23:23:34 2009
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.13+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-19-generic i686

** Affects: squid (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug
-- 
squid stable permissions problems with log files
https://bugs.edge.launchpad.net/bugs/420729
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu.



More information about the Ubuntu-server-bugs mailing list