LinHES Forums
http://forums.linhes.org/

xymon not running after 8.1-8.2 update
http://forums.linhes.org/viewtopic.php?f=21&t=24087
Page 1 of 1

Author:  mythedoff [ Thu Nov 06, 2014 12:17 pm ]
Post subject:  xymon not running after 8.1-8.2 update

Thanks for work on LinHES. The upgrade failed from the script but succeeded with the iso.
Browsers returns: Xymon does not appear to be installed.
If Xymon was just installed/started it will take a few minutes before this page populates.

/var/log/hobbit is empty

This returns nothing:
Code:
su nobody /home/xymon/server/xymon.sh start


Found this error message:
Code:
myth_mtc.log:Warning: /home/xymon/server/etc/mythdot:11: syntax error in line 11 near '-'


Code:
sed -n '11p'  /home/xymon/server/etc/mythdot

11 FENDmbe-fe[ label="frontend \n mbe-fe" ,shapefile="/data/srv/httpd/htdoc     11 s/xymon/gifs/tv.png" , fontcolor="white" , imagescale="true"  color="gol     11 d2" ]


mbe-fe is my backend/frontend and xymon was working in R8.1

Thanks again

Author:  brfransen [ Thu Nov 06, 2014 1:14 pm ]
Post subject:  Re: xymon not running after 8.1-8.2 update

Check to see if xymon is installed:
Code:
pacman -Ss xymon


xymon is controlled by runit.
Code:
sudo sv status xymon-server
Replace status with start/stop/restart as desired. Depending on which xymon is installed, xymon-server or xymon-client.

Author:  mythedoff [ Thu Nov 06, 2014 3:37 pm ]
Post subject:  Re: xymon not running after 8.1-8.2 update

OK, thanks, here's what shows:

Code:
$ sudo pacman -Ss xymon
core/xymonclient 4.3.17-9
    Xymon is a system for monitoring of hosts and networks
core/xymonserver 4.3.17-9 [installed]
    Xymon is a system for monitoring of hosts and networks


Code:
$ sudo sv start xymon-server
fail: xymon-server: unable to change to service directory: file does not exist



Code:
$ which xymon-server
which: no xymon-server in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/LH/bin:/usr/MythVantage/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)


Code:
$ sudo locate -ir xymon*server
/data/srv/httpd/htdocs/xymon/help/manpages/man5/xymonserver.cfg.5.html
/data/storage/ST31000528AS_9VP58VYA/pacman/pkg/xymonserver-4.3.17-9-x86_64.pkg.tar.xz
/data/storage/ST31000528AS_9VP58VYA/pacman/pkg/xymonserver-4.3.5-49-x86_64.pkg.tar.xz
/data/storage/ST31000528AS_9VP58VYA/pacman/pkg/xymonserver-4.3.5-55-x86_64.pkg.tar.xz
/data/storage/disk0/pacman/pkg/xymonserver-4.3.17-9-x86_64.pkg.tar.xz
/data/storage/disk0/pacman/pkg/xymonserver-4.3.5-49-x86_64.pkg.tar.xz
/data/storage/disk0/pacman/pkg/xymonserver-4.3.5-55-x86_64.pkg.tar.xz
/home/xymon/etc/xymonserver.cfg
/usr/share/man/man5/xymonserver.cfg.5.gz

Author:  brfransen [ Thu Nov 06, 2014 3:49 pm ]
Post subject:  Re: xymon not running after 8.1-8.2 update

mythedoff wrote:
Code:
$ sudo sv start xymon-server
fail: xymon-server: unable to change to service directory: file does not exist
Odd, runit isn't managing it.
Code:
sudo add_service.sh xymon-server
sudo sv start xymon-server

Author:  mythedoff [ Fri Nov 07, 2014 11:14 am ]
Post subject:  Re: xymon not running after 8.1-8.2 update

Working. Thank you.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/