httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46204] New: ErrorLog directive in httpd.conf not working, blocks httpd service
Date Thu, 13 Nov 2008 19:05:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46204

           Summary: ErrorLog directive in httpd.conf not working, blocks
                    httpd service
           Product: Apache httpd-2
           Version: 2.2.10
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: massimo.sala.71@gmail.com


Environment: Windows XP home, SP3.
I create a Windows user account "joomla", with restricted access.
Apache httpd.exe service runs under this account.
In httpd.conf I set
ErrorLog "D:\CMS\apache.log"
I start the httpd service: it fails.

I check the "D:\CMS\apache.log" file, it exists and this is its content:
--------------------------------------------------------
[Thu Nov 13 19:37:36 2008] [error] (OS 5)Accesso negato.  : could not open
transfer log file C:/Programmi/Apache Software
Foundation/Apache2.2/logs/access.log.
Unable to open logs
--------------------------------------------------------
("Accesso negato" is "access denied")

Why does Apache look at the installation path ?

I open the Windows Event Viewer, Applications, source:="Apache Server"
and there is only this error, not pertinent:
"Could not reliably determine the server's fully qualified domain name, using
192.168.1.10 for ServerName"

I check the access permissions on the file, the user "joomla" is present:
--------------------------------------------------------
AccessChk v4.02 - Check access of files, keys, objects, processes or services
Copyright (C) 2006-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
D:\CMS\apache.log
  RW BUILTIN\Administrators
  RW NT AUTHORITY\SYSTEM
  RW MYPC\joomla
  R  BUILTIN\Users
--------------------------------------------------------

If I set the user account "joomla" in the "Administrators", httpd starts fine
and the "D:\CMS\apache.log" file content is:
--------------------------------------------------------
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.10 for ServerName
[Thu Nov 13 19:53:41 2008] [notice] Apache/2.2.10 (Win32) PHP/5.2.6 configured
-- resuming normal operations
[Thu Nov 13 19:53:41 2008] [notice] Server built: Oct 10 2008 12:39:04
[Thu Nov 13 19:53:41 2008] [notice] Parent: Created child process 192
httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.10 for ServerName
...
--------------------------------------------------------

Does httpd need administrator rights to start ?
If yes, I think it will be useful to check the user account and warn the user.
Possible places to warn the user:
- ErrorLog file
- Windows Events Logs
- Apache Service Monitor

Massimo


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message