Report Creation Error
list Craig Whilding
Hi, Just built a new Hobbit server using the latest version off sourceforge as a demo implementation server. Everything is working fine apart from the availability reporting and snapshot report. Availability report gives this error: Could not generate report. Check that the /usr/local/hobbit/server/www/rep/ directory has permissions '-rwxrwxr-x' (775) and that is is set to group -1 Permissions for the directory have been set to 775. I've never had a problem with reporting with any previous version of Hobbit. Using RHEL3 running as user hobbit with apache running as 'nobody'. Log files are empty so no problems there. Is it a fault with my Apache config or just permissions, anyone else had this? Thanks, Craig Whilding
list Henrik Størner
▸
On Fri, Oct 21, 2005 at 06:38:52AM -0700, Whilding, Craig wrote:
Just built a new Hobbit server using the latest version off sourceforge as a demo implementation server. Everything is working fine apart from the availability reporting and snapshot report. Could not generate report. Check that the /usr/local/hobbit/server/www/rep/ directory has permissions '-rwxrwxr-x' (775) and that is is set to group -1
"group -1" means the report CGI script runs with group-id "-1".
▸
I've never had a problem with reporting with any previous version of Hobbit. Using RHEL3 running as user hobbit with apache running as 'nobody'. Log files are empty so no problems there.
OK, so group-id -1 is probably the "nobody" group. Do a "chgrp -1 /usr/local/hobbit/server/www/rep/" to get the ownership on the rep-directory right. Regards, Henrik
list Craig Whilding
Group nobody is at 99 and if I try to set ownership to -1 it will think this an option. I don't think I can have a group -1! I'm not really sure why it's trying to run with this. Thanks, Craig
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 21 October 2005 14:48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Report Creation Error
On Fri, Oct 21, 2005 at 06:38:52AM -0700, Whilding, Craig wrote:Just built a new Hobbit server using the latest version off sourceforge as a demo implementation server. Everything is working fine apart from the availability reporting and snapshot report. Could not generate report. Check that the /usr/local/hobbit/server/www/rep/ directory has permissions '-rwxrwxr-x' (775) and that is is set to group -1
"group -1" means the report CGI script runs with group-id "-1".
I've never had a problem with reporting with any previous version of Hobbit. Using RHEL3 running as user hobbit with apache running as 'nobody'. Log files are empty so no problems there.
OK, so group-id -1 is probably the "nobody" group. Do a "chgrp -1 /usr/local/hobbit/server/www/rep/" to get the ownership on the rep-directory right. Regards, Henrik
list Craig Whilding
Sorted it now, apache was running as user nobody but further down in the config file it had group -1 which my system didn't seem to like. Changed this to nobody and its working fine now. Sorry for confusion. Thanks, Craig
▸
-----Original Message-----
From: Whilding, Craig [mailto:user-9ce31bfa66c3@xymon.invalid]
Sent: 21 October 2005 15:06
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Report Creation Error
Group nobody is at 99 and if I try to set ownership to -1 it will think
this an option. I don't think I can have a group -1! I'm not really sure
why it's trying to run with this.
Thanks,
Craig
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 21 October 2005 14:48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Report Creation Error
On Fri, Oct 21, 2005 at 06:38:52AM -0700, Whilding, Craig wrote:Just built a new Hobbit server using the latest version off sourceforge as a demo implementation server. Everything is working fine apart from the availability reporting and snapshot report. Could not generate report. Check that the /usr/local/hobbit/server/www/rep/ directory has permissions '-rwxrwxr-x' (775) and that is is set to group -1
"group -1" means the report CGI script runs with group-id "-1".
I've never had a problem with reporting with any previous version of Hobbit. Using RHEL3 running as user hobbit with apache running as 'nobody'. Log files are empty so no problems there.
OK, so group-id -1 is probably the "nobody" group. Do a "chgrp -1 /usr/local/hobbit/server/www/rep/" to get the ownership on the rep-directory right. Regards, Henrik