wamp/logs/access.txt
Posted by: amarin (---.120.201.38.revip2.asianet.co.th)
Date: October 26, 2007 02:44AM

My apache won't start today because it can't access the wamp/logs/access.txt file.

[Fri Oct 26 07:23:31 2007] [error] (OS 32)The process cannot access the file because it is being used by another process. : could not open transfer log file C:/wamp/logs/access.log.
Unable to open logs

The file size is more than 90,000k. May I ask what this file is used for and can I delete or create a new one. On another server , also wamp, this file is 506,065k in size it's still working. Can I delete them? How do I get them working again?

Thanks,

Options: ReplyQuote
Re: wamp/logs/access.txt
Posted by: toivo (---.nsw.bigpond.net.au)
Date: October 26, 2007 10:12AM

Hi,

Usually one can just stop the Apache service from the icon in the system tray, rename the log file and restart Apache. Apache creates a new file when it starts.

You will need to identify the other process holding the log file open. A workaround is to configure a new, unique name for the log file in the httpd.conf file, or in the virtual hosts definitions in the folder c:\wamp\Apache2\conf\extras.

The access log contains a record of the http requests or hits your website gets, the status of each response or whether a page or a file was found or not and how long the response was. More information available from [httpd.apache.org]

Regards,



toivo
Sydney, Australia

Options: ReplyQuote
Re: wamp/logs/access.txt
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: October 26, 2007 04:42PM

apache puts all accesses to your webserver in the access log file, it puts all errors in the error file. apache needs these files to start since that is where all the logs go.



CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote
Re: wamp/logs/access.txt
Posted by: amarin (---.120.201.208.revip2.asianet.co.th)
Date: October 27, 2007 11:34AM

Thanks everyone
I did just that and it worked.

Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.