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

rrd_Configure.sh missing
http://forums.linhes.org/viewtopic.php?f=21&t=21202
Page 1 of 2

Author:  nbdwt73 [ Sat Jul 10, 2010 6:36 am ]
Post subject:  rrd_Configure.sh missing

I have a fresh install of 6.03 and went to enable rrd... the script is not on any of my machines. Is the rrd_Configure.sh script no longer included? I did not see an option to install or enable it (of course I could have missed something...).

Author:  tjc [ Sat Jul 10, 2010 7:53 am ]
Post subject: 

Have you checked the services menu? All the add-ons are supposed to be configurable from there...

Author:  nbdwt73 [ Sun Jul 11, 2010 4:48 am ]
Post subject: 

Yes, the rrd_stats is checked (in the linHES configuration menus). Whenever I hit the RRD screen from the web interface it says:
Quote:
RRD Tool
Is disabled by rrd_Configure.sh and may be re-enabled by running as root:
rrd_Configure.sh

rrd_Configure.sh is not on my machines. Did I miss something during setup?

Author:  goofee [ Sun Jul 11, 2010 11:18 am ]
Post subject: 

I've noticed on R6.03 that some RRD files have changed. The start page links to http://ipaddress/rrd/index.html which gives an error saying it's not configured. On my box, entering http://ipaddress/rrd/index-rrd.html works fine.

Author:  tjc [ Mon Jul 12, 2010 10:02 pm ]
Post subject: 

Best advice, use find (or it's lazy cousin locate) to look for any file whose name includes rrd and look for files in a bin directory

Say:
Code:
locate rrd | grep bin

If locate whinges about the database not being up to date run this instead:
Code:
find / -name '*rrd*' -print | grep bin

Author:  nbdwt73 [ Tue Jul 13, 2010 6:50 am ]
Post subject: 

Yep - did all that... Not there. Is the configure script installed as part of the install process (did I miss something during the build)?

Author:  tscholl [ Tue Jul 13, 2010 5:08 pm ]
Post subject: 

I installed from 6.02 and upgraded to 6.03
Code:
[root@mythtv ~]# locate rrd | grep bin
/usr/bin/rrdcgi
/usr/bin/rrdtool
/usr/bin/rrdupdate
/usr/share/doc/rrdtool-1.3.6/html/bin_dec_hex.html
/usr/share/doc/rrdtool-1.3.6/txt/bin_dec_hex.pod
/usr/share/doc/rrdtool-1.3.6/txt/bin_dec_hex.txt


Looks good here.
Guess they could have missed the files on the 6.03 build iso

Author:  tjc [ Tue Jul 13, 2010 7:34 pm ]
Post subject: 

You can also try reinstalling it with pacman, memory says that there is a force reinstall option that might do the trick.

Author:  copygod [ Sun Aug 01, 2010 7:26 pm ]
Post subject: 

same problem, i've tried force installing rrdtool (pacman -Sf rrdtool), and still nothing, not sure whats going on, and not really sure where to start to get it set up since all the scripts (rrd_cpu.pl, etc) that were installed on my previous installation aren't there (most likely created when running rrd_Configure.sh)...

i've rsynced my entire / partition (about 4G) as a backup for certain things after a completely new install for new hardware, but rrd_Configure.sh is nowhere to be found in that section either... (it was 6.02, updated to 6.03)

any ideas on where to go with this?

Author:  ed_tetz [ Thu Dec 02, 2010 7:38 am ]
Post subject: 

Well it has been two months. Has anyone had an answer on this one yet?

In the past, I think these scripts have been in /usr/local/bin; but currently this directory is empty. I have my old linhes backend and frontend running rrd; currently I am setting up my new backend and frontend, and would like to run rrd. Since my old backend was upgraded, there are no scripts there either.

I have tried updating linhes-scripts, hoping that these scripts were included, but no joy.

Does anyone have a copy of the script that they could post here or do you know where it can be downloaded individually. My next step would be to find my old linhes 6 CD and do an install to get these files and copy them off.

Any help is appreciated.

Author:  tjc [ Thu Dec 02, 2010 8:42 pm ]
Post subject: 

The scripts are now in /usr/bin and there doesn't seem to be a setup script. My guess is that something under the service menu takes care of it instead.

The package name seems to be "rrd_stats" and configuration seems to be in "/etc/rrdsettings.cfg"

Author:  nbdwt73 [ Fri Dec 03, 2010 4:49 pm ]
Post subject: 

I ended up reinstalling (for several reasons including rrd). I tried everything I could to get RRD to work with the original install (several posts here and other blogs confirmed similar problems). So I just bit the bullet.

That said - it was very easy. I did a backup, a reinstall and a restore... quick.

Author:  tjc [ Sun Dec 05, 2010 11:15 am ]
Post subject: 

Did you restore the old rrd scripts?

LineHES 6.03 has a VERY different RRD setup than KM5.5 did. Different scripts, different config, everything on a single page rather than than the different slices.

I've been tempted to try back porting my customizations and reimplement the old multi-page layout, but these days free time is rare and precious.

Author:  ed_tetz [ Mon Dec 06, 2010 1:10 am ]
Post subject: 

Well I found my answer. If you go to the rrdtool page, you get the message about it being disabled and you need to run rrd_configure.sh. Which is now missing. You need to go to the Service - Linhes Config - Advanced and choose to select rrd. Then you still get the error, since rrd is not installed. You then need to run pacman -Sy rrdtool.

Then is all loads like it did before.

Author:  tscholl [ Fri Dec 16, 2011 10:35 pm ]
Post subject: 

ed_tetz,

I just used your fix to get rrd working on LinHES 7.1 Thanks for posting.

Side note; you have to do it in order listed to get it to work ....

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