On Mon, May 2, 2011 at 9:36 AM, Kevin O'Gorman <kogor...@gmail.com> wrote:

>
>
> On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick <n...@digimed.co.uk> 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
>> > February.
>>
>> Are permissions correct for the apache user to created and write to
>> files? Does syslog show any messages from Apache?
>>
>> Permissions are generous:
>
> treat apache2 # ls -lad /var
> drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var
> treat apache2 # ls -lad /var/log
> drwxr-xr-x 17 root root 4096 May  2 03:14 /var/log
> treat apache2 # ls -lad /var/log/apache2
> drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2
> treat apache2 # ls -l /var/log/apache2
> total 1584
> -rw-rw-rw- 1 apache apache      0 Feb  4 03:10 access_log
> -rw-rw-rw- 1 apache apache 191438 Jun 15  2009 access_log.1.gz
> -rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz
> -rw-rw-rw- 1 apache apache  15152 Jan 18 03:10 access_log-20110118.gz
> -rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz
> -rw-rw-rw- 1 apache apache  16844 Feb  4 03:10 access_log-20110204.gz
> -rw-rw-rw- 1 apache apache 234663 Jun  8  2009 access_log.2.gz
> -rw-rw-rw- 1 apache apache 270349 Jun  1  2009 access_log.3.gz
> -rw-rw-rw- 1 apache apache 277761 May 25  2009 access_log.4.gz
> -rw-rw-rw- 1 apache apache      0 Feb  4 03:10 error_log
> -rw-rw-rw- 1 apache apache 117611 Jun 15  2009 error_log.1.gz.out
> -rw-rw-rw- 1 apache apache  33793 Dec 26 03:10 error_log-20101226.gz
> -rw-rw-rw- 1 apache apache   3729 Jan 18 03:10 error_log-20110118.gz
> -rw-rw-rw- 1 apache apache  34184 Jan 25 03:10 error_log-20110125.gz
> -rw-rw-rw- 1 apache apache   4350 Feb  4 03:10 error_log-20110204.gz
> -rw-rw-rw- 1 apache apache   5706 Jun  8  2009 error_log.2.gz
> -rw-rw-rw- 1 apache apache   5628 Jun  1  2009 error_log.3.gz
> -rw-rw-rw- 1 apache apache   6344 May 25  2009 error_log.4.gz
> -rw-rw-rw- 1 apache apache      0 Feb  6 03:10 ssl_access_log
> -rw-rw-rw- 1 apache apache     89 Dec 31 03:10 ssl_access_log-20101231.gz
> -rw-rw-rw- 1 apache apache    137 Jan 22 03:10 ssl_access_log-20110122.gz
> -rw-rw-rw- 1 apache apache    182 Jan 30 03:10 ssl_access_log-20110130.gz
> -rw-rw-rw- 1 apache apache     89 Feb  6 03:10 ssl_access_log-20110206.gz
> -rw-rw-rw- 1 apache apache      0 Feb  7 03:10 ssl_error_log
> -rw-rw-rw- 1 apache apache    122 Dec 20 03:10 ssl_error_log-20101220.gz
> -rw-rw-rw- 1 apache apache    122 Jan 18 03:10 ssl_error_log-20110118.gz
> -rw-rw-rw- 1 apache apache    208 Jan 30 03:10 ssl_error_log-20110130.gz
> -rw-rw-rw- 1 apache apache    203 Feb  7 03:10 ssl_error_log-20110207.gz
> -rw-rw-rw- 1 apache apache      0 Feb  6 03:10 ssl_request_log
> -rw-rw-rw- 1 apache apache    102 Dec 31 03:10 ssl_request_log-20101231.gz
> -rw-rw-rw- 1 apache apache    158 Jan 22 03:10 ssl_request_log-20110122.gz
> -rw-rw-rw- 1 apache apache    197 Jan 30 03:10 ssl_request_log-20110130.gz
> -rw-rw-rw- 1 apache apache    103 Feb  6 03:10 ssl_request_log-20110206.gz
> treat apache2 #
>
> There is one syslog entry for apache in the last 7 days:
> May  1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL)
> resolving 'maven.apache.org/A/IN': 199.19.57.1#53
>
> This does not seem to have anything to do with the problem, which is that
> my CGI script associated with hex.kosmanor.com/hex/bin/newdump was
> failing.
>
> In the meanwhile, I'll be opening a different thread because things got
> lots worse when I did a --depclean, which deleted the one copy of python
> that everything seems to use: my CGI scripts are now the least of my
> problems.  I can no longer run portage, vim or even untar my extensive
> collection of binary packages.
>
> --
> Kevin O'Gorman, PhD
>
> Okay, there was already a thread about that, and my Python problem seems
solved.  I still have no log entries.


-- 
Kevin O'Gorman, PhD

Reply via email to