Xymon Mailing List Archive search

Can't access xymon web page on new install.

list Paul Ward
Thu, 11 Jun 2009 12:35:36 +1200
Message-Id: <user-f8cbf7a5d9da@xymon.invalid>

Unfortunatley I think I had to at that point, as the rpm would not
istall with the version of rrd installed at that time.
You can see my efforts below for the versions of hobbit I tried.

rpm -ivh hobbit-4.2.0-9.el3.re.i386.rpm
warning: hobbit-4.2.0-9.el3.re.i386.rpm: V3 DSA signature: NOKEY, key
ID ba7a4a9e
error: Failed dependencies:
        fedora-usermgmt is needed by hobbit-4.2.0-9.el3.re
        librrd.so.0 is needed by hobbit-4.2.0-9.el3.re


[root at unix xymon - install last]# rpm -ivh hobbit-4.2.0-7.el3.re.i386.rpm
warning: hobbit-4.2.0-7.el3.re.i386.rpm: V3 DSA signature: NOKEY, key
ID ba7a4a9e
error: Failed dependencies:
        librrd.so.0 is needed by hobbit-4.2.0-7.el3.re

[root at unix xymon - install last]# rpm -qa|grep rrd
perl-rrdtool-1.2.23-1.el3.rf
rrdtool-1.2.23-1.el3.rf
rrdtool-devel-1.2.23-1.el3.rf

[root at unix xymon - install last]# rpm -e perl-rrdtool-1.2.23-1.el3.rf
rrdtool-1.2.23-1.el3.rf rrdtool-devel-1.2.23-1.el3.rf


[root at unix install-together]# rpm -ivh *.rpm
warning: perl-rrdtool-1.0.50-3.el3.rf.i386.rpm: V3 DSA signature:
NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:rrdtool                ########################################### [ 33%]
   2:perl-rrdtool           ########################################### [ 67%]
   3:rrdtool-devel          ########################################### [100%]

[root at unix xymon - install last]# rpm -ivh hobbit-4.2.0-7.el3.re.i386.rpm
warning: hobbit-4.2.0-7.el3.re.i386.rpm: V3 DSA signature: NOKEY, key
ID ba7a4a9e
Preparing...                ########################################### [100%]
   1:hobbit                 ########################################### [100%]


2009/6/11 Galen Johnson <user-87f955643e3d@xymon.invalid>:
If you use RRDTool 1.0.50, I'm fairly certain that you lose some of the additional functionality of the graphs (like zooming in to a particular time).  This functionality came with rrdtool 1.2.x, IIRC.

=G=

-----Original Message-----
From: Paul Ward [mailto:user-0f18dc2f935b@xymon.invalid]
Sent: Wednesday, June 10, 2009 6:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Can't access xymon web page on new install.

In case any one else goes through this I found the fix as follows for
redhat 3 Rhel3

Looks like I got a crap rpm, do not download form the following url!!!
*** http://staff.telkomsa.net/packages/rhel3/xymon/i386/ ***

Instead follow this.

Install the following from http://dag.wieers.com/rpm/packages/rrdtool/

perl-rrdtool-1.0.50-3.el3.rf.i386.rpm
rrdtool-1.0.50-3.el3.rf.i386.rpm
rrdtool-devel-1.0.50-3.el3

Also install from dag:
fping-2.4-1.b2.1.el3.rf.i386.rpm
and
pcre-devel-3.9-3.i386.rpm

I also installed perl-Time-HiRes-1.9712-1.el3.rf.i386.rpm but not sure
if it is needed.

Finally I installed hobbit from:
ftp://ftp.pbone.net/mirror/rpm.razorsedge.org/centos-3/RE/hobbit-4.2.0-7.el3.re.i386.rpm

And it works.

Thanks guys for your suggestions.


2009/6/11 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
Restart the processes and look at anything in the logs?

If it were me I would just compile it, leaving defaults.  I've done it
with every version of CentOS since 4.2 with issues.

On 6/10/09, Paul Ward <user-0f18dc2f935b@xymon.invalid> wrote:
namei -m /usr/lib/xymon/server/www
f: /usr/lib/xymon/server/www
 drwxr-xr-x /
 drwxr-xr-x usr
 drwxr-xr-x lib
 drwxr-xr-x xymon
 drwxr-xr-x server
 lrwxrwxrwx www -> /var/lib/xymon/www
   drwxr-xr-x /
   drwxr-xr-x var
   drwxr-xr-x lib
   drwxr-xr-x xymon
   drwxrwxr-x www


2009/6/11 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
index.html should be a softlink to bb.html

Why those files aren't there after an RPM install is beyond me, but my
guess
is a permissions issue at this point.

Do a namei -m /usr/lib/xymon/server/www

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle


On Wed, Jun 10, 2009 at 4:51 PM, Paul Ward <user-0f18dc2f935b@xymon.invalid> wrote:
Hello,

Yes the services are running but I can not find the index.html.

[root at unix xymon]# ps -ef | grep xymon
xymon    25636     1  0 08:41 ?        00:00:00
/usr/lib/xymon/server/bin/hobbitlaunch
--config=/usr/lib/xymon/server/etc/hobbitlaunch.cfg
--env=/usr/lib/xymon/server/etc/hobbitserver.cfg
--log=/var/log/xymon/hobbitlaunch.log
--pidfile=/var/log/xymon/hobbitlaunch.pid
xymon    25637 25636  0 08:41 ?        00:00:00 hobbitd
--pidfile=/var/log/xymon/hobbitd.pid
--restart=/usr/lib/xymon/server/tmp/hobbitd.chk
--checkpoint-file=/usr/lib/xymon/server/tmp/hobbitd.chk
--checkpoint-interval=600 --log=/var/log/xymon/hobbitd.log
--admin-senders=127.0.0.1 127.0.0.1 --store-clientlogs=!msgs
root     25699 18362  0 08:48 pts/1    00:00:00 grep xymon

[root at unix xymon]# links --dump 127.0.0.1/xymon
                               Index of /xymon

 Icon Name                    Last modified      Size  Description


 [DIR] Parent Directory                             -
 [DIR] gifs/                   05-Dec-2009 16:28    -
 [DIR] help/                   05-Dec-2009 16:28    -
 [DIR] menu/                   05-Dec-2009 16:28    -
 [DIR] notes/                  26-Feb-2009 03:43    -
 [DIR] rep/                    26-Feb-2009 03:43    -
 [DIR] snap/                   26-Feb-2009 03:43    -


   Apache/2.0.46 (Red Hat) Server at 127.0.0.1 Port 80


2009/6/10 Buchan Milne <user-9b139aff4dec@xymon.invalid>:
On Wednesday 10 June 2009 06:55:24 Paul Ward wrote:
Hi,

I am kicking myself for not knowng this but I'll ask anyway.

Just completed an install of xymon on rhel3, no problems. I choose to
use the el3 xymon rpm.

After it installed I tried to access the web page via
http://localhost/xymon but I can only see the directories not the web
page.

what am I not doing.

Successfull install --->
rpm -ivh xymon-4.2.3-1.rhel3.i386.rpm
xymon-client-4.2.3-1.rhel3.i386.rpm
warning: xymon-4.2.3-1.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID
60d204a7 Preparing...
########################################### [100%] Adding user xymon
to
group adm
   1:xymon-client
###########################################
[
50%] 2:xymon
 ###########################################
[100%]
At this point, you should start xymon with:
# service xymon start
or similar
web page for localhost/xymon --->
bb.html, index.html etc. are created by the bbgen task of xymon ... and
those
only run if hobbitlaunch is running, which is (ultimately) started by
the
/etc/init.d/xymon script.

Regards,
Buchan
--

--

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle

--

-- 

email: user-0f18dc2f935b@xymon.invalid
website: http://www.pward.co.uk
MSN: user-a51fe8e4fa06@xymon.invalid
Skype: paul.n.ward