Xymon Mailing List Archive search

Rebuilt server

3 messages in this thread

list Lars Ebeling · Fri, 27 Jan 2006 12:44:31 +0100 ·
Hi,

I was very silly, I thought that Windows didn't write to the files when using ntabackup. I have no working tapestation on my HP-UXserver, so I installed Samba and used ntbackup to backup my server. But Windows change a lot of long filenames. At least is that what I think happened. So almost everything stopped working.

But Samba was still running so I started to copy selected directories and config files to Windows. Since I think my mailserver is most critical I installed it on another HP-UXserver and got it to work

Now I have reinstalled HP_UX and all needed libraries, compilers and other software. I hope.

That's the background. 

I copied my Hobbit home directory back, and installed a new snapshot.  After some trial and error almost everything works. All datafiles are updated. Main view, All non green and NK view seems to work.

But when I click on History button I get: Cannot open history file. 
And no graphs are created.

It seems like the data-directory isn't accessible.

Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist
 "Never run after your own hat.  Others will be delighted to do it; why spoil their fun?"
-- Mark Twain
list Henrik Størner · Fri, 27 Jan 2006 14:07:03 +0100 ·
quoted from Lars Ebeling
On Fri, Jan 27, 2006 at 12:44:31PM +0100, lars ebeling wrote:
I copied my Hobbit home directory back, and installed a new snapshot.  After some trial and error almost everything works. All datafiles are updated. Main view, All non green and NK view seems to work.

But when I click on History button I get: Cannot open history file. And no graphs are created.
Check the permissions on the "data" directory and the directories/files
below. They must be accessible by the UID running your webserver, since
these requests are handled by CGI programs.

So directories should be mode 755, files mode 644 - all owned by hobbit.


Henrik
list Lars Ebeling · Fri, 27 Jan 2006 14:48:14 +0100 ·
I thought I had checked all the permissions, but obviously I hadn't:
Thanks Henrik.

Now all other software remain to be reinstalled:

Lars

----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, January 27, 2006 2:07 PM
Subject: Re: [hobbit] Rebuilt server
quoted from Lars Ebeling

On Fri, Jan 27, 2006 at 12:44:31PM +0100, lars ebeling wrote:
I copied my Hobbit home directory back, and installed a new snapshot.  After some trial and error almost everything works. All datafiles are updated. Main view, All non green and NK view seems to work.

But when I click on History button I get: Cannot open history file. And no graphs are created.
Check the permissions on the "data" directory and the directories/files
below. They must be accessible by the UID running your webserver, since
these requests are handled by CGI programs.

So directories should be mode 755, files mode 644 - all owned by hobbit.


Henrik