Re: [users@httpd] Please Help: could not open error log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what I would do is get filemon from sysinternals (http://www.sysinternals.com/ntw2k/source/filemon.shtml) and filter it to check just for apache.exe.
 
Does it try to access the file at all? 
Do you get an error if it does access the file?
 
also, how do you start apache, if it installed as a service under the system account, doing a "net start apache" or from a command prompt running it directly?
 
ed

Josh Graves <jgraves@xxxxxxxxxxxxxxxxx> wrote:
On Mar 16, 2005 10:33 AM, Josh Graves wrote:

> I am receiving the error:
>
> "Apache.exe: could not open error log file " when
> trying
> to start Apache 1.3.33 on a Windows 2K SP4 server.
>
> If the log file does not exist when apache.exe is executed, it gets
> created,
> but I still get the "could not open" error.
>
> I confirmed that the user apache is running as has full
> read/list/write/create/delete/modify access to the log directory,
> which is
> located on the same Win 2K box that Apache is running (or trying to
> run) on.
> In fact, since this box is behind a firewall and not available to the
> public, yet, I opened up the log directory to give everyone full
> access to
> it and still received the error.
>
> I made several attempts to find info on this error in Google Groups,
> Yahoo
> Groups, the mailing list archives, and the web in general, but they
> were all
> fruitless.

I am still receiving this error when I try to run Apache 1.3.33.

At this point I've tried it on a Windows 2K SP4 server and on a Windows
2003 server and with version 1.3.31, but still receive the same error.
Unfortunately, because of some modules I need to include, I have to use
a pre-2.0 version of Apache and I have to use Windows. If I use the
precompiled version for Win32, it works fine. But, I need to compile it
with specific modules for my back-end CRM application. (For those of you
wondering, I also receive the error when I compile Apache without the
CRM modules.)

The exact message is:
-----
fopen: No error
Apache.exe: could not open error log file
d:/inetpub/wwwroot/logs/error.log.
-----

I have confirmed that, at the moment, everyone has full access to the
logs directory, so I do not believe permissions are an issue. To
reaffirm that belief, if the error.log file does not exist in the logs
directory when Apache.exe is executed, it gets created there. That alone
would indicate to me that the process has write access to the directory
and that apache is looking in the right place for the error log file.

I'm stuck here. Any help would be greatly appreciated.

Thank you.

Josh Graves
Systems Administrator
Duluth Trading Company
http://www.duluthtrading.com
BEGIN:VCARD
VERSION:2.1
N:Graves;Josh;;Systems Administrator
FN:Josh Graves
ORG:Duluth Trading Co.;I.T.
NOTE:
TEL;WORK;VOICE:608-424-1544 ext.1256
TEL;CELL;VOICE:608-219-0439
TEL;PAGER;VOICE:
TEL;WORK;FAX:608-424-1765
ADR;WORK:;;170 Countryside Dr.;Belleville;WI;53508;US
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:170 Countryside Dr.=0D=0ABelleville, WI 53508=0D=0AD
URL;WORK:http://www.duluthtrading.com
EMAIL;PREF;INTERNET:jgraves@xxxxxxxxxxxxxxxxx
MAILER:SuSE Linux Openexchange Server 4
END:VCARD

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

Send instant messages to your online friends http://uk.messenger.yahoo.com


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux