Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Apache is running but its log is not Adam Carter <adamcarter3@×××××.com>