[Xymon] Solaris Xymon WWW index file missing

Roland Soderstrom Rolands at logicaltech.com.au
Thu Aug 16 06:18:34 CEST 2012


Hi,

I changed my umask to 022 before configure and make (I deleted the whole compile dir first)
Now make install works fine with all the correct permissions.

Henrik: Maybe something to add in configure or some appropriate place.

- Roland

-----Original Message-----
From: Andersson Tomas [mailto:tomas.andersson at sca.com] 
Sent: Wednesday, 15 August 2012 9:27 PM
To: Roland Soderstrom; xymon at xymon.com
Subject: RE: [Xymon] Solaris Xymon WWW index file missing

OK thanks I'll check this out ...
And tell you the result ...


Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

Tel. +46 31 7460313
Mob. +46 703 610313


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Roland Soderstrom
Sent: den 15 augusti 2012 12:57
To: xymon at xymon.com
Subject: Re: [Xymon] Solaris Xymon WWW index file missing

Hi,

Could it simply be the same problem I had? (4.3.10 on Solaris 10 x86) My "make install" didn't set all the permissions right, had to do a lot of chmod and chown for it to start.
I had a very strict umask  so a lot of files/dirs ended up in rwx --- --- and some bins and dirs with owner root so no one other than root could do anything.
Watch out for chown -R as it will change user on some web files Apache2 needs to own.

- Roland
________________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] on behalf of Andersson Tomas [tomas.andersson at sca.com]
Sent: Wednesday, 15 August 2012 5:39 PM
To: Steven Carr; xymon at xymon.com
Subject: Re: [Xymon] Solaris Xymon WWW index file missing

Hi,

First thanks for replying ...

I cannot see anything in the xymond.log when trying to start the xymon 4.3.10 But  I see some strange stuff in:

Xymonlaunch.log:
----------------------

When trying to start  xymon 4.3.10

2012-08-13 14:06:15 xymonlaunch starting
2012-08-13 14:06:15 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg
2012-08-13 14:06:15 Cannot open directory /opt/xymon/server/etc/tasks.d                <------------------What is this ??? there is no such file or directory ...
2012-08-13 14:06:15 Loading hostnames
2012-08-13 14:06:15 Loading saved state
2012-08-13 14:06:22 Setting up network listener on 0.0.0.0:1984
2012-08-13 14:06:22 Setting up signal handlers
2012-08-13 14:06:22 Setting up xymond channels
2012-08-13 14:06:22 Setting up logfiles

Errors in xymongen.log
2012-08-13 14:06:20 Whoops ! Failed to send message (Connection failed)
2012-08-13 14:06:20 ->  connect to Xymon daemon at 10.240.42.21:1984 failed (Connection refused)
2012-08-13 14:06:20 ->  Recipient '10.240.42.21', timeout 15
2012-08-13 14:06:20 ->  1st line: 'xymondboard fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,disabletime
,sender,cookie,line1,acklist'
2012-08-13 14:06:20 xymond status-board not available, code 5
2012-08-13 14:06:20 Failed to load current Xymon status, aborting page-update

Errors in alert.log:
2012-08-13 14:03:34 Terminated by signal 15
2012-08-13 14:06:20 Could not get shm of size 5242880: No such file or directory
2012-08-13 14:06:20 Channel not available
2012-08-13 14:06:26 Peer not up, flushing message queue
2012-08-13 14:06:29 Peer not up, flushing message queue
2012-08-13 14:06:29 Peer not up, flushing message queue
2012-08-13 14:06:35 Peer not up, flushing message queue
2012-08-13 14:06:35 Peer not up, flushing message queue

Errors in hostdata.log:
2012-08-13 14:06:20 Could not get shm of size 5242880: No such file or directory
2012-08-13 14:06:20 Channel not available
2012-08-13 14:16:18 Peer not up, flushing message queue
2012-08-14 10:33:32 Peer not up, flushing message queue

Seems like the xymond does not start !



Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

Tel. +46 31 7460313
Mob. +46 703 610313

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Steven Carr
Sent: den 14 augusti 2012 19:32
To: xymon at xymon.com
Subject: Re: [Xymon] Solaris Xymon WWW index file missing

You said the webpage doesn't work, not that the actual Xymon processes are not starting.

Have you looked in the Xymon log files to work out why Xymon isn't starting up?

Steve


On 14 August 2012 09:20, Andersson Tomas <tomas.andersson at sca.com<mailto:tomas.andersson at sca.com>> wrote:
Hi Nick !

Ehh I am sorry I don't understand your question but yes it is a standalone machine.  Virtual machine  running on HPVM a64hpIntegrityBL860ci2 hardware.
The server  environment is: HP-UX B.11.31  ia64 2 CPU's and 5 GB memory assigned.

Xymon 4.3.7 server and also client running (obviously) currently.
This was compiled on in the machine's environment and apart from an error that was specific for HP-UX and fixed using the method below.
#ERRORS compiling xymon =< 4.3.7
#FIX:
#On 03/07/2011 02:19 AM, Anton Burkhalter wrote:
#> Replace CLOCK_MONOTONIC   with CLOCK_REALTIME in:
#>     timefunc.c
#>     test-clockgettime-librt.c

Otherwize all worked OK and installed beautifully.

But when I tried the newer versions xymon 4.3.8 and xymon 4.3.10 They both configured and compiled OK but when installed they did not run ... as I mentioned in the start of this post.


Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

Tel. +46 31 7460313
Mob. +46 703 610313



-----Original Message-----
From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>] On Behalf Of Nick Pettefar
Sent: den 13 augusti 2012 17:21
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Solaris Xymon WWW index file missing

This is a standalone machine, both server and client I guess.  Is there a different set-up required for that?

Regards,

Nick


On 13 August 2012 11:00,  <xymon-request at xymon.com<mailto:xymon-request at xymon.com>> wrote:
> Send Xymon mailing list submissions to
>         xymon at xymon.com<mailto:xymon at xymon.com>
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.xymon.com/mailman/listinfo/xymon
> or, via email, send a message with subject or body 'help' to
>         xymon-request at xymon.com<mailto:xymon-request at xymon.com>
>
> You can reach the person managing the list at
>         xymon-owner at xymon.com<mailto:xymon-owner at xymon.com>
>
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of Xymon digest..."
>
>
> Today's Topics:
>
>    1. Re: Solaris Xymon WWW index file missing (Jeremy Laidman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 13 Aug 2012 12:49:55 +1000
> From: Jeremy Laidman
> <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>>
> To: Henrik St?rner <henrik at hswn.dk<mailto:henrik at hswn.dk>>
> Cc: xymon at xymon.com<mailto:xymon at xymon.com>
> Subject: Re: [Xymon] Solaris Xymon WWW index file missing
> Message-ID:
>
> <CAAnki7DnjK7_BsM=-DoUKeNnbakxDE1rPrBsO0iH6GdZTKKkXQ at mail.gmail.com<ma
> ilto:DoUKeNnbakxDE1rPrBsO0iH6GdZTKKkXQ at mail.gmail.com>>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 11 August 2012 01:32, Henrik St?rner <henrik at hswn.dk<mailto:henrik at hswn.dk>> wrote:
>
>> On 10-08-2012 17:30, Nick Pettefar wrote:
>>
>>> There is no index.html or
>>> any other plain file in the /export/home/xymon/server/www/ 
>>> directory, should there be?
>>>
>>
>> They are generated when xymongen runs, once it has some data. Should 
>> show up a few minutes after you start Xymon.
>>
>
> This bit me once also.
>
> It might be a FAQ, but perhaps it would be helpful to have "make install"
> and package post-install scripts create initial files (if none exist), 
> that say "Data coming soon..." or similar.  I see no down-side to this.
>
> J
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL:
> <http://lists.xymon.com/pipermail/xymon/attachments/20120813/1a00a3ae/
> attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com<mailto:Xymon at xymon.com>
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
> End of Xymon Digest, Vol 19, Issue 12
> *************************************
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon
This message  may contain confidential, proprietary or legally privileged information and is intended for the addressee's use only. Any usage, disclosure, distribution, print or copying of any  part  of  this  message  is prohibited unless you are the intended  recipient.  If  you  receive  this message in error, please  delete it from any computer and notify the sender.  If you  suspect  that  this message may have been altered, please notify the sender. SCA has taken every  reasonable  precaution to ensure that this  e-mail and any attachments to this e-mail has  been  scanned for viruses. However,  SCA does  not accept liability for any damage caused by software viruses brought to you by this mail.
_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon


________________________________
This message may contain confidential, proprietary or legally privileged information and is intended for the addressee's use only. Any usage, disclosure, distribution, print or copying of any part of this message is prohibited unless you are the intended recipient. If you receive this message in error, please delete it from any computer and notify the sender. If you suspect that this message may have been altered, please notify the sender. SCA has taken every reasonable precaution to ensure that this e-mail and any attachments to this e-mail has been scanned for viruses. However, SCA does not accept liability for any damage caused by software viruses brought to you by this mail.
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon

This message  may contain confidential, proprietary or legally privileged information and is intended for the addressee's use only. Any usage, disclosure, distribution, print or copying of any  part  of  this  message  is prohibited unless you are the intended  recipient.  If  you  receive  this message in error, please  delete it from any computer and notify the sender.  If you  suspect  that  this message may have been altered, please notify the sender. SCA has taken every  reasonable  precaution to ensure that this  e-mail and any attachments to this e-mail has  been  scanned for viruses. However,  SCA does  not accept liability for any damage caused by software viruses brought to you by this mail.



More information about the Xymon mailing list