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

Upgrade issue
http://forums.linhes.org/viewtopic.php?f=22&t=23725
Page 1 of 1

Author:  tophee [ Sat Mar 30, 2013 4:08 pm ]
Post subject:  Upgrade issue

I decided to upgrade my linhes box to version 8.
I downloaded the .iso and the checksum was good. burnt a disk, and followed the instructions here. Oh, I did the a database backup before I started and copied it off to my ubuntu lappy. I disconnected my data drive and did a clean install.

Now, instead of going through the full setup in myth_setup (as suggested on the guide), I exited and tried to reinstate the database. I am able to visit the webpage, but when I go to services>system health I do not get any information / options. Xymon doesn't seem to have started and I've given it a long time to come up... I know the guide says 10 min to get the webpage up but it's been hours.

What can I do to poke it appropriately?

Any advice will be gratefully received.

Thanks in advance

Author:  RacerX [ Sat Mar 30, 2013 6:13 pm ]
Post subject:  Re: Upgrade issue

I'd stick with the guide and a do a full install on the drive. Get R8 going and then restore your data. You have the backup on another drive right?

Make sure to use the same Host name is the same and ip if possible.
Then you should be able to install chromium with pacman
Go to to the web and make sure everything works properly

Then follow thru the guide with the restore

Author:  tophee [ Sun Mar 31, 2013 1:46 am ]
Post subject:  Re: Upgrade issue

Hi RacerX,

I was sticking with the guide, or so I thought. I'd done a backup of the db to my laptop, and unplugged the drive with my programmes on it.

After that, I burnt the image and done a fresh installation.
I gave the fresh install the same hostname as my previous R7 install and followed the on screen instructions to set up the network, the only thing I did different was give it a static ip address. I did not set mythtv up as instructed as the guide said this bit can be skipped. So from my laptop, I was able to go to the ip of my Linhes box. When I went to the >Services>System health I received the message "Xymon doesn't appear to be installed or started" and I could not upload the saved batabase. So I then waited for several hours, well actually I went off and put up a garden shed, but when I came back... the situation hadn't changed.

I then, reinstalled LinHes 8 and tried to complete all the setup. In myth-setup I was able to see the tuners had been auto detected, though when exploring their options and getting them tuned in I had real problems. Trying to go into the individual cards setup page was very slow, then tuning failed, repeatedly. Everything had been setup as far as I could see, apart from being able to find any channels and the box being very slow to respond. So exited Myth-setup, got the usual complained there were no channels (I selected "Yes, I know what I'm doing") and ended up at mythfrontend.

Back to the laptop, the linhes webpage was exactly the same... Xymon doesn't appear to be installed or started....

So, I am a bit stuck.

Author:  jams [ Sun Mar 31, 2013 8:13 am ]
Post subject:  Re: Upgrade issue

I would check that xymon is installed and running

pacman -Qs xymon

sv status xymon-server

ps -ef grep xymon


If it's not installed then something went wrong during R8 install. Either reinstall or try to install xymon with the command "install_supplemental_service.sh"


xymon log files are locate in /var/log/hobbit

Author:  tophee [ Sun Mar 31, 2013 11:09 am ]
Post subject:  Re: Upgrade issue

Thanks for the info jams, will look into that later. Much appreciated

Author:  tophee [ Mon Apr 01, 2013 5:34 am ]
Post subject:  Re: Upgrade issue

Hi Jams,

Tired the suggestions you made...

So xymon reports to be there.
pacman -Qs xymon gives me:

Quote:
local/xymonserver 4.3.5.-44
Hobit is a system monitoring service for networks.


When I as "sv status xymon-server" I receive run: xymon-server: (pid 703) 2027s in this instance.

ps -ef grep xymon complains. I see:

error: process ID list syntax error

When I try to reinstall via install_supplemental_service.sh I get
Quote:
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) upgrading supplemental-web [######################] 100%
warning: directory permissions differ on data/srv/httpd/htdocs/
filesystem: 775 package: 755
warning: directory permissions differ on etc/
filesystem: 775 package: 755
gen_light_conf: reading in lighttpd-supplement.conf
gen_light_conf: reading in ssl-inc.conf
gen_light_conf: reading in mythweb.conf
==> Forcing a re-read of lighttpd's configuration file.

certmaster is already present
funcd is already present
xymon-server is already present


Is this just a permission error?

Thanks again.

Author:  tophee [ Mon Apr 01, 2013 5:47 am ]
Post subject:  Re: Upgrade issue

I also just had a look in the logs:

alert.log shows:
Quote:
2013-04-01 11:54:45 Peer not up, flushing message queue


xymongen.log shows:
Quote:
2013-04-01 11:50:44 xymond status-board not available, code 0
2013-04-01 11:50:44 Failed to load current Xymon status, aborting page-update
2013-04-01 11:51:44 xymond status-board not available, code 0
2013-04-01 11:51:44 Failed to load current Xymon status, aborting page-update
2013-04-01 11:52:44 xymond status-board not available, code 0
2013-04-01 11:52:44 Failed to load current Xymon status, aborting page-update
2013-04-01 11:53:44 xymond status-board not available, code 0
2013-04-01 11:53:44 Failed to load current Xymon status, aborting page-update
2013-04-01 11:54:44 xymond status-board not available, code 0
2013-04-01 11:54:44 Failed to load current Xymon status, aborting page-update


xymonlaunch shows:
Quote:
2013-04-01 11:49:57 xymonlaunch starting
2013-04-01 11:49:57 Loading tasklist configuration from /home/xymon/server/etc/tasks.cfg
2013-04-01 11:49:58 Loading hostnames
2013-04-01 11:49:58 Loading saved state
2013-04-01 11:49:58 Cannot access checkpoint file /home/xymon/server/tmp/xymond.chk for restore
2013-04-01 11:49:58 Setting up network listener on 0.0.0.0:1984
2013-04-01 11:49:58 Setting up signal handlers
2013-04-01 11:49:58 Setting up xymond channels
2013-04-01 11:49:58 Setting up logfiles


Any help to identifying the cause?

Author:  jams [ Mon Apr 01, 2013 8:41 am ]
Post subject:  Re: Upgrade issue

So based on your previous reports, xymon is
1) installed
2) running
3) logging , and the logs don't have anything of note in them.

Does /data/srv/httpd/htdocs/xymon have an index.html or xymon.html file are are they owned by nobody?

Author:  tophee [ Mon Apr 01, 2013 9:53 am ]
Post subject:  Re: Upgrade issue

Tehy appear to be there and owned by 'nobody'
Quote:
[root@lust xymon]# ls -l
total 76
-rw-r--r-- 1 nobody nobody 4679 Apr 1 17:27 critical.html
drwxrwxr-x 2 nobody root 4096 Apr 1 13:06 gifs
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 gifs.orig
drwxr-xr-x 3 nobody root 4096 Jan 5 01:46 help
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 hobbit-cgi
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 hobbit-seccgi
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 html
lrwxrwxrwx 1 nobody nobody 10 Apr 1 17:27 index.html -> xymon.html
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 menu
-rw-r--r-- 1 nobody nobody 5194 Apr 1 17:27 nongreen.html
drwxrwxr-x 2 nobody root 4096 Apr 1 11:54 notes
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 rep
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 snap
drwxr-xr-x 2 nobody root 4096 Jan 5 01:46 wml
-rw-r--r-- 1 nobody nobody 12627 Apr 1 17:27 xymon.html

Author:  tophee [ Mon Apr 01, 2013 9:54 am ]
Post subject:  Re: Upgrade issue

um, I was just gathering the data (from my windows box via putty) and had a look at my linhes box via chrome and it all seems to be working now. I'll see if I can update my configuration....

Seems I can do this, however from chromium on my laptop it doesn't work, fortunately firefox does... go figure

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