Bug 479157

Summary: kernel-error.log: Couldn't create process pool: Couldn't create output dir /var/lib/nocpulse/NPkernel.out: Permission denied
Product: [Community] Spacewalk Reporter: Milan Zázrivec <mzazrivec>
Component: ServerAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.4CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:31:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456552    

Description Milan Zázrivec 2009-01-07 16:48:52 UTC
Description of problem:
* New Spacewalk 0.4 installation
* Enabled monitoring + monitoring scout
* /var/log/nocpulse/kernel-error.log full of error messages like this:

2009-01-07 17:42:21 Starting kernel
Couldn't create process pool: Couldn't create output dir /var/lib/nocpulse/NPker
nel.out: Permission denied

* # ls -l /var/log/nocpulse/
total 60
-rw-r--r-- 1 nocpulse nocpulse 13087 Jan  7 17:57 dequeue.log
-rw-r--r-- 1 root     root         0 Jan  7 17:42 Dequeuer-errors.log
-rw-r--r-- 1 nocpulse nocpulse  2802 Jan  7 17:56 generate_config.log
-rw-r--r-- 1 root     root     12870 Jan  7 17:56 kernel-error.log
-rw-r--r-- 1 nocpulse nocpulse  3240 Jan  7 17:56 kernel.log
-rw-rw-r-- 1 nocpulse nocpulse  1732 Jan  7 17:56 notif-escalator.log
-rw-rw-r-- 1 nocpulse nocpulse  1794 Jan  7 17:57 notifier.log
-rw-rw-r-- 1 nocpulse nocpulse  2622 Jan  7 17:57 notif-launcher.log
-rw-r--r-- 1 root     root         0 Jan  7 17:42 SputLite-errors.log
drwxr-xr-x 5 apache   apache    4096 Jan  7 17:43 TSDBLocalQueue
-rw-r--r-- 1 root     root       106 Jan  7 17:47 TSDBLocalQueue-errors.log

# ps uax|grep kernel
root      8342  0.0  0.4  15008  4232 ?        S    17:47   0:00 /usr/bin/perl /usr/bin/gogo.pl --fname=Dispatcher --user=nocpulse --hbfile=/var/log/nocpulse/kernel.log --hbfreq=300 --hbcheck=600 -- /usr/bin/kernel.pl --loglevel 1

Comment 1 Milan Zázrivec 2009-01-12 11:00:08 UTC
Fixed in 94633d179ed91f1f9ac62ceeb1725aca081a29ec

Comment 2 Miroslav Suchý 2009-01-15 13:22:58 UTC
[root@dhcp77-206 tmp]# grep NPkernel.out /var/log/nocpulse/kernel-error.log
[root@dhcp77-206 tmp]#
VERIFIED