Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 93161 invoked from network); 12 Dec 2007 12:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2007 12:11:43 -0000 Received: (qmail 32386 invoked by uid 500); 12 Dec 2007 12:11:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 32367 invoked by uid 500); 12 Dec 2007 12:11:20 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 32356 invoked by uid 99); 12 Dec 2007 12:11:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 04:11:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sfreilly@roadrunner.com designates 68.168.78.199 as permitted sender) Received: from [68.168.78.199] (HELO mta9.adelphia.net) (68.168.78.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Dec 2007 12:10:57 +0000 Received: from [192.168.1.104] (really [74.74.98.164]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20071212121059.CZEK25362.mta9.adelphia.net@[192.168.1.104]> for ; Wed, 12 Dec 2007 07:10:59 -0500 Message-ID: <475FCFD3.5020706@roadrunner.com> Date: Wed, 12 Dec 2007 07:10:59 -0500 From: Steve Reilly User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: users@httpd.apache.org References: <475C7465.1090200@roadrunner.com> In-Reply-To: X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] access.log problem Staf Wagemakers wrote: > > > On Dec 10, 2007 12:04 AM, Steve Reilly > wrote: > > > I admit through fault of my own, the apache2 access logs were deleted. > My question is this, are these logs automagically regenerated on > their > own when apache2 is restarted?, and if they are, what can I do if > they > have not been regenerated by numerous apache2 restarts, and also > complete system reboots. > > > The access-log file is created automatically at a httpd server start > if it doesn't exists.. > > apache2ctl restart should do the trick > > -- > Staf Wagemakers - http://www.wagem I wish it was that easy lol, Ive been at this for days now. system restarts dont even cure the problem. All I did was remove all the log files (access.log through access.log.28) written by apache2 in /var/log/apache2/ directory thinking that an apache2 -k restart or apache2ctl restart would rewrite them but it did not. now Im screwed, because everything ive tried is not working. The reason why I did this is because for some reason beyond me apache was no longer writing to access.log.1 . it stopped one day and never continued. Webalizer showed no logs after like the middle of november, and if I did a tail -f /var/log/apache2/access.log.1 nothing showed no matter how many times I accessed any site of mine. I never messed with ownership of any directory in /var. error.log shows normal operations, which im curious about? if apache2 is not able to write logs, wouldnt it say something about it? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org