Bug 670966 - After installation and init on RHEL 5, /var/log/pulp isn't writable by apache
Summary: After installation and init on RHEL 5, /var/log/pulp isn't writable by apache
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-19 19:17 UTC by Jay Dobies
Modified: 2014-03-31 01:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-19 20:11:53 UTC


Attachments (Terms of Use)

Description Jay Dobies 2011-01-19 19:17:20 UTC
That's causing everything the server to do to error out. I thought we solved this, but after looking around pulp.spec, I don't see where it would be.


[Wed Jan 19 14:15:23 2011] [error] Traceback (most recent call last):
[Wed Jan 19 14:15:23 2011] [error]   File "/srv/pulp/bootstrap.wsgi", line 24, in ?
[Wed Jan 19 14:15:23 2011] [error]     start_logging()
[Wed Jan 19 14:15:23 2011] [error]   File "/usr/lib/python2.4/site-packages/pulp/server/logs.py", line 129, in start_logging
[Wed Jan 19 14:15:23 2011] [error]     configure_pulp_grinder_logging()
[Wed Jan 19 14:15:23 2011] [error]   File "/usr/lib/python2.4/site-packages/pulp/server/logs.py", line 54, in configure_pulp_grinder_logging
[Wed Jan 19 14:15:23 2011] [error]     check_log_file(pulp_file)
[Wed Jan 19 14:15:23 2011] [error]   File "/usr/lib/python2.4/site-packages/pulp/server/logs.py", line 31, in check_log_file
[Wed Jan 19 14:15:23 2011] [error]     raise RuntimeError('Cannot write to log file: %s' % file_path)
[Wed Jan 19 14:15:23 2011] [error] RuntimeError: Cannot write to log file: /var/log/pulp/pulp.log
no crontab for apache



[root@rhel55-64 httpd]# ll -al /var/log/pulp/
total 40
drwxrwsr-t  2 apache apache 4096 Jan 19 13:03 .
drwxr-xr-x 18 root   root   4096 Jan 19 10:21 ..
-rw-r--r--  1 root   apache    0 Jan 19 10:13 client.log
-rw-r--r--  1 root   apache   86 Jan 19 10:11 db.log
-rw-r--r--  1 root   apache    0 Jan 19 13:03 events.log
-rw-r--r--  1 root   apache    0 Jan 19 13:03 grinder.log
-rw-r--r--  1 root   apache    0 Jan 19 13:03 pulp.log

Comment 1 Jay Dobies 2011-01-19 20:11:53 UTC
Closing as not a bug. I just did a fresh installation and it doesn't seem to be an issue, so chalk this instance up to something wonky while I was debugging pulp on RHEL5 issues.

[root@localhost conf.d]# ll -al /var/log/pulp/
total 20
drwxrwsr-t  2 apache apache 4096 Jan 19 20:10 .
drwxr-xr-x 13 root   root   4096 Jan 19 20:07 ..
-rw-r--r--  1 root   apache    0 Jan 19 20:08 client.log
-rw-r--r--  1 root   apache   86 Jan 19 20:07 db.log
-rw-r--r--  1 apache apache  940 Jan 19 20:10 events.log
-rw-r--r--  1 apache apache    0 Jan 19 20:10 grinder.log
-rw-r--r--  1 apache apache    0 Jan 19 20:10 pulp.log


Note You need to log in before you can comment on or make changes to this bug.