| Summary: | After installation and init on RHEL 5, /var/log/pulp isn't writable by apache | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED NOTABUG | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | mmccune |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-19 20:11:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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