Xymon Mailing List Archive search

4.2.0 problem with "Snapshot Report"

list Gary Baluha
Fri, 8 Jun 2007 10:35:53 -0400
Message-Id: <user-38366d598ddd@xymon.invalid>

Ahh, thanks.  The directory existed, but the group permissions where set to
"hobbit" instead of "apache".  I think I selected "nobody" when compiling
and installing Hobbit; could this be why the group permissions were wrong?

On 6/6/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Wed, Jun 06, 2007 at 03:41:21PM -0400, Gary Baluha wrote:
I've been trying to get the "Snapshot Report" feature to work correctly,
but
no matter what date I use for the report, when I click on "Generate
Report",
I get a blank page with only "Cannot create output directory" as its
contents.  I checked the apache logs and can't find any information
about
this.  Any ideas?
Make sure there's a "snap" directory below the Hobbit "www" directory,
with access rights so that the webserver userid has write access.
Typically this will be in ~hobbit/server/www/ with group-write access,
and the group set to the webserver group-id. E.g.

$ cd ~hobbit/server/www; ls -l
total 18
-rw-r--r-- 1 hobbit users    2749 2007-05-25 09:11 bb2.html
-rw-r--r-- 1 hobbit users    8191 2007-05-25 09:11 bb.html
-rw-r--r-- 1 hobbit users    2269 2007-05-25 09:11 bbnk.html
drwxr-xr-x 2 hobbit users    1168 2007-05-07 14:19 gifs
drwxr-xr-x 3 hobbit users    1280 2007-05-07 14:19 help
drwxr-xr-x 2 hobbit users      48 2007-05-07 14:19 html
lrwxrwxrwx 1 hobbit users       7 2007-05-07 14:25 index.html -> bb.html
drwxr-xr-x 2 hobbit users     184 2007-05-07 14:19 menu
drwxr-xr-x 2 hobbit users      48 2007-05-07 14:19 notes
drwxrwxr-x 2 hobbit www-data   48 2007-05-07 14:19 rep
drwxrwxr-x 2 hobbit www-data   48 2007-05-07 14:19 snap
drwxr-xr-x 2 hobbit users      48 2007-05-07 14:19 wml


Regards,
Henrik