1 |
On Sun, May 1, 2011 at 1:39 AM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
|
3 |
> On Sat, 30 Apr 2011 23:04:35 -0700, Kevin O'Gorman wrote: |
4 |
> |
5 |
> > I just noticed a failure in a dynamic web page that I haven't touched |
6 |
> > in years. So I looked in |
7 |
> > /var/log/apache2 and found that no files have been touched since |
8 |
> > February. |
9 |
> |
10 |
> Are permissions correct for the apache user to created and write to |
11 |
> files? Does syslog show any messages from Apache? |
12 |
> |
13 |
> Permissions are generous: |
14 |
|
15 |
treat apache2 # ls -lad /var |
16 |
drwxr-xr-x 17 root root 4096 Apr 30 23:06 /var |
17 |
treat apache2 # ls -lad /var/log |
18 |
drwxr-xr-x 17 root root 4096 May 2 03:14 /var/log |
19 |
treat apache2 # ls -lad /var/log/apache2 |
20 |
drwxrwxrwx 2 apache apache 4096 Apr 30 22:16 /var/log/apache2 |
21 |
treat apache2 # ls -l /var/log/apache2 |
22 |
total 1584 |
23 |
-rw-rw-rw- 1 apache apache 0 Feb 4 03:10 access_log |
24 |
-rw-rw-rw- 1 apache apache 191438 Jun 15 2009 access_log.1.gz |
25 |
-rw-rw-rw- 1 apache apache 111538 Dec 26 03:10 access_log-20101226.gz |
26 |
-rw-rw-rw- 1 apache apache 15152 Jan 18 03:10 access_log-20110118.gz |
27 |
-rw-rw-rw- 1 apache apache 179611 Jan 25 03:10 access_log-20110125.gz |
28 |
-rw-rw-rw- 1 apache apache 16844 Feb 4 03:10 access_log-20110204.gz |
29 |
-rw-rw-rw- 1 apache apache 234663 Jun 8 2009 access_log.2.gz |
30 |
-rw-rw-rw- 1 apache apache 270349 Jun 1 2009 access_log.3.gz |
31 |
-rw-rw-rw- 1 apache apache 277761 May 25 2009 access_log.4.gz |
32 |
-rw-rw-rw- 1 apache apache 0 Feb 4 03:10 error_log |
33 |
-rw-rw-rw- 1 apache apache 117611 Jun 15 2009 error_log.1.gz.out |
34 |
-rw-rw-rw- 1 apache apache 33793 Dec 26 03:10 error_log-20101226.gz |
35 |
-rw-rw-rw- 1 apache apache 3729 Jan 18 03:10 error_log-20110118.gz |
36 |
-rw-rw-rw- 1 apache apache 34184 Jan 25 03:10 error_log-20110125.gz |
37 |
-rw-rw-rw- 1 apache apache 4350 Feb 4 03:10 error_log-20110204.gz |
38 |
-rw-rw-rw- 1 apache apache 5706 Jun 8 2009 error_log.2.gz |
39 |
-rw-rw-rw- 1 apache apache 5628 Jun 1 2009 error_log.3.gz |
40 |
-rw-rw-rw- 1 apache apache 6344 May 25 2009 error_log.4.gz |
41 |
-rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_access_log |
42 |
-rw-rw-rw- 1 apache apache 89 Dec 31 03:10 ssl_access_log-20101231.gz |
43 |
-rw-rw-rw- 1 apache apache 137 Jan 22 03:10 ssl_access_log-20110122.gz |
44 |
-rw-rw-rw- 1 apache apache 182 Jan 30 03:10 ssl_access_log-20110130.gz |
45 |
-rw-rw-rw- 1 apache apache 89 Feb 6 03:10 ssl_access_log-20110206.gz |
46 |
-rw-rw-rw- 1 apache apache 0 Feb 7 03:10 ssl_error_log |
47 |
-rw-rw-rw- 1 apache apache 122 Dec 20 03:10 ssl_error_log-20101220.gz |
48 |
-rw-rw-rw- 1 apache apache 122 Jan 18 03:10 ssl_error_log-20110118.gz |
49 |
-rw-rw-rw- 1 apache apache 208 Jan 30 03:10 ssl_error_log-20110130.gz |
50 |
-rw-rw-rw- 1 apache apache 203 Feb 7 03:10 ssl_error_log-20110207.gz |
51 |
-rw-rw-rw- 1 apache apache 0 Feb 6 03:10 ssl_request_log |
52 |
-rw-rw-rw- 1 apache apache 102 Dec 31 03:10 ssl_request_log-20101231.gz |
53 |
-rw-rw-rw- 1 apache apache 158 Jan 22 03:10 ssl_request_log-20110122.gz |
54 |
-rw-rw-rw- 1 apache apache 197 Jan 30 03:10 ssl_request_log-20110130.gz |
55 |
-rw-rw-rw- 1 apache apache 103 Feb 6 03:10 ssl_request_log-20110206.gz |
56 |
treat apache2 # |
57 |
|
58 |
There is one syslog entry for apache in the last 7 days: |
59 |
May 1 08:44:13 treat named[5150]: error (unexpected RCODE SERVFAIL) |
60 |
resolving 'maven.apache.org/A/IN': 199.19.57.1#53 |
61 |
|
62 |
This does not seem to have anything to do with the problem, which is that my |
63 |
CGI script associated with hex.kosmanor.com/hex/bin/newdump was failing. |
64 |
|
65 |
In the meanwhile, I'll be opening a different thread because things got lots |
66 |
worse when I did a --depclean, which deleted the one copy of python that |
67 |
everything seems to use: my CGI scripts are now the least of my problems. I |
68 |
can no longer run portage, vim or even untar my extensive collection of |
69 |
binary packages. |
70 |
|
71 |
-- |
72 |
Kevin O'Gorman, PhD |