Mail Archives: cygwin/2004/03/22/08:19:12
On Mon, 22 Mar 2004, George Hester wrote:
> http.log
>
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
>
> Apachehttpd.log
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
> Apache.log
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
> Looks to me the change I made resulted in the loss of permissions. I
> have uninstalled and reinstalled and uninstalled and reinstalled and
> Apache. Still broke.
Right -- these files aren't created as part of the Apache install. Did
you try "chmod a+rw /var/log/apache/*"?
I suspect that what happened was: the files got created when you ran httpd
from the command line (with your userid as the owner); then, when you
installed it as a service, the logs didn't get re-created, and SYSTEM
couldn't write to them...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -