delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <loom DOT 20080305T142334-449 AT post DOT gmane DOT org> |
Subject: | RE: Starting http2: Win32 error 1062 |
Date: | Wed, 5 Mar 2008 15:07:45 -0000 |
Message-ID: | <000401c87ed2$ab7ac1c0$2708a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <loom.20080305T142334-449@post.gmane.org> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 05 March 2008 14:30, Marc Girod wrote: > I installed now apache2, Saying "I installed it" tells us very very little. What matters is *how* you installed it, *what* you did, and what *happened* as a result. Did you run the proper install script? Did you try and do it all manually by hand? Did you install it as a service? Did you run it manually from the commandline? (There is no need to answer those questions now, fortunately your cygcheck had the answer; I just wanted to show what kind of information is missing in such a plain unelaborated statement). > /var/log/httpd2.log contains records such as: > > (13)Permission denied: httpd2: could not open error log file > /var/log/apache2/error_log. Unable to open logs > > I cannot see what would be wrong with /var/log/apache2: That error message does not say that anything is wrong with /var/log/apache2. It says that something is wrong with /var/log/apache2/error_log. > -rw-r--r-- 1 emagiro Domain Users 4788 Mar 3 12:01 error_log And that is probably what is wrong with it: only you have write perms, no other user. Looking at your cygcheck output: Service : cygserver Display name : CYGWIN cygserver Current State : Running Controls Accepted : Stop Command : /usr/sbin/cygserver stdin path : /dev/null stdout path : /var/log/cygserver.log stderr path : /var/log/cygserver.log Process Type : Own Process Startup : Automatic Account : LocalSystem ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ you have installed it to run as the LocalSystem user. LocalSystem does not have write permission for that file because LocalSystem is not you. This probably happened because you probably manually ran apache2 under your own user id while doing the installation - this is why we really need to know exactly what you did and every step on the way - and it was the first time it had ever been run, which means that it created the files for the logs for the first time because they didn't exists yet, which means it was running as you and created them only with perms for you. You chould 'chown' the log files so LocalSystem owns them, or you could delete them and let apache2 recreate them next time it runs. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |