[hobbit] Can't generate spreadsheet
Matthew Moldvan
mmoldvan at csc.com
Thu Apr 29 15:06:32 CEST 2010
Couldn't reproduce your error, but for what it's worth, check which user
your Apache processes are running as and make sure that user is either the
owner or in the group of your /rep folder.
You can change which user Apache runs as in /etc/httpd/conf/httpd.conf (or
equivalent) around line 227 of the file (see below).
Good luck!
Matt.
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group #-1 on these systems!
#
User xymon
Group xymon
i.e.
[root at somewhere /var/lib/xymon/www/rep]# ls -la
drwxrwxr-x 17 xymon apache 4096 Apr 29 09:02 .
[root at somewhere /var/lib/xymon/www/rep]# ps -fe | grep 'xymo.*http'
root 1509 32081 0 09:04 pts/3 00:00:00 grep xymo.*http
xymon 13315 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13316 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13317 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13318 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13319 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13320 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13321 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13322 656 0 04:02 ? 00:00:00 /usr/sbin/httpd
xymon 13504 656 0 04:03 ? 00:00:00 /usr/sbin/httpd
xymon 14567 656 0 06:27 ? 00:00:00 /usr/sbin/httpd
Unix System Administrator
Computer Science Corporation
General Dynamics Land Systems
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
From:
"Hermann-Josef Beckers" <hj.beckers at kreis-steinfurt.de>
To:
hobbit at hswn.dk
Date:
04/29/2010 08:59 AM
Subject:
[hobbit] Can't generate spreadsheet
When I try to generate a spreadsheet from a availability page I get the
followind error:
Could not generate report.
Check that the /home/xymon/server/www/rep/ directory has permissions
'-rwxrwxr-x' (775)
and that is is set to group 8
Permissions and group ownership are as requested. Generating the same
report
as HTML report works - it is written into the above mentioned directory.
Xymon version is 4.3.0-0.beta2 and operating system openSuSE 11.1.
Any hints?
hjb
This is an e-mail from General Dynamics Land Systems. It is for the
intended recipient only and may contain confidential and privileged
information. No one else may read, print, store, copy, forward or act in
reliance on it or its attachments. If you are not the intended recipient,
please return this message to the sender and delete the message and any
attachments from your computer. Your cooperation is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100429/17e493fe/attachment.html>
More information about the Xymon
mailing list