[gentoo-user] Apache is running but its log is not

2011-04-30 Thread Kevin O'Gorman
I just noticed a failure in a dynamic web page that I haven't touched in years. So I looked in /var/log/apache2 and found that no files have been touched since February. I've rebooted and kept the system current by regular emerges, so it's been restarted, but until now I did not notice a failure

Re: [gentoo-user] Apache is running but its log is not

2011-04-30 Thread Adam Carter
> How do I find out where/if Apache thinks its logging things? > > In /etc/apache check httpd.conf and modules.d/00_mod_log_config.conf

Re: [gentoo-user] Apache is running but its log is not

2011-05-01 Thread Neil Bothwick
On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: > I just noticed a failure in a dynamic web page that I haven't touched > in years. So I looked in > /var/log/apache2 and found that no files have been touched since > February. Are permissions correct for the apache user to created and w

Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Sat, Apr 30, 2011 at 11:37 PM, Adam Carter wrote: > > How do I find out where/if Apache thinks its logging things? >> >> > In /etc/apache check httpd.conf and modules.d/00_mod_log_config.conf > in /etc/apache2, I find ServerRoot "/usr/lib/apache2" but no log files, and no special logfile p

Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick wrote: > On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: > > > I just noticed a failure in a dynamic web page that I haven't touched > > in years. So I looked in > > /var/log/apache2 and found that no files have been touched since > > Febru

Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 9:36 AM, Kevin O'Gorman wrote: > > > On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick wrote: > >> On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: >> >> > I just noticed a failure in a dynamic web page that I haven't touched >> > in years. So I looked in >> > /var/l

Re: [gentoo-user] Apache is running but its log is not

2011-05-02 Thread Adam Carter
> >> Okay, there was already a thread about that, and my Python problem seems > solved. I still have no log entries. > > Ok, as root, try lsof | grep apache and see if there are any open log files. You may need to emerge lsof first if you dont already have it. IIRC apache fails to start if it can

Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Kevin O'Gorman
On Mon, May 2, 2011 at 8:30 PM, Adam Carter wrote: > > >>> Okay, there was already a thread about that, and my Python problem seems >> solved. I still have no log entries. >> >> > Ok, as root, try lsof | grep apache and see if there are any open log > files. You may need to emerge lsof first if

Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Kevin O'Gorman
On Tue, May 3, 2011 at 8:19 PM, Kevin O'Gorman wrote: > On Mon, May 2, 2011 at 8:30 PM, Adam Carter wrote: > >> >> Okay, there was already a thread about that, and my Python problem seems >>> solved. I still have no log entries. >>> >>> >> Ok, as root, try lsof | grep apache and see if the

Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Adam Carter
> > > Well, 2.2.17 is indeed my server, but I decided to stop it and start it > again. Current log files showed up. > Problem solved, by brute force again, and without any epiphanies of > understanding. > > Last guess - logrotate is managing the log files but not reloading apache afterwards. Check

Re: [gentoo-user] Apache is running but its log is not

2011-05-03 Thread Joost Roeleveld
On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: > > Well, 2.2.17 is indeed my server, but I decided to stop it and start it > > again. Current log files showed up. > > Problem solved, by brute force again, and without any epiphanies of > > understanding. > > Last guess - logrotate is managin

Re: [gentoo-user] Apache is running but its log is not

2011-05-04 Thread Kevin O'Gorman
On Tue, May 3, 2011 at 11:15 PM, Joost Roeleveld wrote: > On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: > > > Well, 2.2.17 is indeed my server, but I decided to stop it and start it > > > again. Current log files showed up. > > > Problem solved, by brute force again, and without any epiph

Re: [gentoo-user] Apache is running but its log is not

2011-05-04 Thread Alan McKinnon
Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost Roeleveld did opine thusly: > On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: > > > Well, 2.2.17 is indeed my server, but I decided to stop it and start it > > > again. Current log files showed up. > > > Problem solved, b

Re: [gentoo-user] Apache is running but its log is not

2011-05-04 Thread kashani
On 5/4/2011 7:38 AM, Alan McKinnon wrote: Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost Roeleveld did opine thusly: On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: Well, 2.2.17 is indeed my server, but I decided to stop it and start it again. Current log files sho

Re: [gentoo-user] Apache is running but its log is not

2011-05-04 Thread Mick
On Wednesday 04 May 2011 18:14:49 kashani wrote: > On 5/4/2011 7:38 AM, Alan McKinnon wrote: > > Apparently, though unproven, at 08:15 on Wednesday 04 May 2011, Joost > > > > Roeleveld did opine thusly: > >> On Wednesday 04 May 2011 13:48:48 Adam Carter wrote: > Well, 2.2.17 is indeed my serv