www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Mueller <K.Muel...@intershop.de>
Subject RE: mod_proxy/3640: Could not GC proxy directory; Permission deni ed
Date Mon, 11 Jan 1999 14:16:23 GMT
> -----Original Message-----
> From: apbugs@hyperreal.org [mailto:apbugs@hyperreal.org]
> Sent: Monday, January 11, 1999 2:30 PM
> To: k.mueller@intershop.de
> Subject: Re: mod_proxy/3640: Could not GC proxy directory; Permission
> denied
> 
> 
> Thank you very much for your problem report.
> It has the internal identification `mod_proxy/3640'.
> The individual assigned to look at your
> report is: apache. 
> 
> >Category:       mod_proxy
> >Responsible:    apache
> >Synopsis:       Could not GC proxy directory; Permission denied
> >Arrival-Date:   Mon Jan 11 05:30:00 PST 1999
> 

Problem code seem's to be in proxy_cache.c in function sub_garbage_coll:
-----
/* read the file */
	fd = open(filename, O_RDONLY | O_BINARY);
	if (fd == -1) {
	    if (errno != ENOENT)
		ap_log_error(APLOG_MARK, APLOG_ERR, r->server,
			     "proxy gc: open(%s)", filename);
	    continue;
	}
	if (fstat(fd, &buf) == -1) {
	    ap_log_error(APLOG_MARK, APLOG_ERR, r->server,
			 "proxy gc: fstat(%s)", filename);
	    close(fd);
	    continue;
	}
-----

open try to open a directory. I think this doesn't work.

Klaus

Mime
View raw message