This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trailing commandline arguments not allowed.


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]