Install script : Cacti 0.8.7g, Spine, PA, Patches
Moderators: Developers, Moderators
I have noticed I can do the commands individually, just not the script for some reason. Also since I have a proxy, I need to preceed a wget command with wget -e http_proxy=http://myproxy.com:80 "http://www.site.file.tar.gz".
Is there a way to save this in the script. If you could help me do that it would be great. Doing it all by hand is very time consuming. That is what makes this such a great script. Just hope I can get it all working.
Is there a way to save this in the script. If you could help me do that it would be great. Doing it all by hand is very time consuming. That is what makes this such a great script. Just hope I can get it all working.
Tried everything I could think of.
root@wwb018-syslog01:~# dir
cacti_autoinstall_151.sh jcameron-key.asc
root@wwb018-syslog01:~# chmod a+x cacti_autoinstall_151.sh
root@wwb018-syslog01:~# ./cacti_autoinstall_151.sh
/bin/sh: Can't open
root@wwb018-syslog01:~# sudo ./cacti_autoinstall_151.sh
/bin/sh: Can't open
root@wwb018-syslog01:~# dir
cacti_autoinstall_151.sh jcameron-key.asc
root@wwb018-syslog01:~# sh cacti_autoinstall_151.sh
: not foundnstall_151.sh: 22:
: not foundnstall_151.sh: 30:
cacti_autoinstall_151.sh: 60: Syntax error: Unterminated quoted string
root@wwb018-syslog01:~#
root@wwb018-syslog01:~# dir
cacti_autoinstall_151.sh jcameron-key.asc
root@wwb018-syslog01:~# chmod a+x cacti_autoinstall_151.sh
root@wwb018-syslog01:~# ./cacti_autoinstall_151.sh
/bin/sh: Can't open
root@wwb018-syslog01:~# sudo ./cacti_autoinstall_151.sh
/bin/sh: Can't open
root@wwb018-syslog01:~# dir
cacti_autoinstall_151.sh jcameron-key.asc
root@wwb018-syslog01:~# sh cacti_autoinstall_151.sh
: not foundnstall_151.sh: 22:
: not foundnstall_151.sh: 30:
cacti_autoinstall_151.sh: 60: Syntax error: Unterminated quoted string
root@wwb018-syslog01:~#
Okay, some progress. I think the script must have got corrupted along the way. I downloaded it again, made my proxy, user, pswd etc changes and bingo. It installed !!! However, I did end up with a couple errors. Any thoughts would be much appreciated. See below.
cacti-plugin-arch/cacti-plugin-0.8.7g-PA-v2.8.diff
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
Hunk #6 FAILED at 1323.
1 out of 6 hunks FAILED -- saving rejects to file data_sources.php.rej
patching file graph_image.php
patching file graph.php
patching file graphs_new.php
patching file plugins.php
patching file poller.php
patching file user_admin.php
patching file utilities.php
ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
--2010-08-30 14:44:32-- http://docs.cacti.net/_media/plugin:settings-v0.7-1.tgz
Then when I point my web browser at Cacti I get the following. Any ideas is much appreciated.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
cacti-plugin-arch/cacti-plugin-0.8.7g-PA-v2.8.diff
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
Hunk #6 FAILED at 1323.
1 out of 6 hunks FAILED -- saving rejects to file data_sources.php.rej
patching file graph_image.php
patching file graph.php
patching file graphs_new.php
patching file plugins.php
patching file poller.php
patching file user_admin.php
patching file utilities.php
ERROR 1045 (28000): Access denied for user 'myuser'@'localhost' (using password: YES)
--2010-08-30 14:44:32-- http://docs.cacti.net/_media/plugin:settings-v0.7-1.tgz
Then when I point my web browser at Cacti I get the following. Any ideas is much appreciated.
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
Hey hammer. so sorry I took so much time to answer, I see you've finally managed to get it work congratulations
Today I'll issue a new version with the latest patches.
about the proxy as it's not related to the purpose of the script I'll think about it in a few days, for now you'd probably better consider using a wgetrc file instead of modifying the script.
regards,
Deel
Today I'll issue a new version with the latest patches.
about the proxy as it's not related to the purpose of the script I'll think about it in a few days, for now you'd probably better consider using a wgetrc file instead of modifying the script.
regards,
Deel
Hi,
V0.35 was supposed to include the latest cacti patches but since I couldn't get them to work with the PIAv2.8 they have been commented in the script and are not installed for the moment.
There were also 2 bugs with the new cycle plugin during install :
- the new archive is named cycle-[...] and used to be cycle_[...]
- the tar archive is making a "cycle" dir and used to make a "cycle_XXX" dir
both were fixed, I can't change the official file names but I'll force the untared dir names in the future.
I'm working on cacti patches, v0.35b should be available soon.
Regards,
Deel
V0.35 was supposed to include the latest cacti patches but since I couldn't get them to work with the PIAv2.8 they have been commented in the script and are not installed for the moment.
There were also 2 bugs with the new cycle plugin during install :
- the new archive is named cycle-[...] and used to be cycle_[...]
- the tar archive is making a "cycle" dir and used to make a "cycle_XXX" dir
both were fixed, I can't change the official file names but I'll force the untared dir names in the future.
I'm working on cacti patches, v0.35b should be available soon.
Regards,
Deel
Re: Install script : Cacti 0.8.7g, Spine, PA, Patches
Dear friend,
I want to install the latest cacti i.e. 0.8.7g with all plug ins. I tried hard but after installing plug in architecture , the cacti stopped working.
So I found your post while searching through google but I could not download the "cacti_autoinstall_208.sh" file. Would you please help me out.
Thanks in advance.
I want to install the latest cacti i.e. 0.8.7g with all plug ins. I tried hard but after installing plug in architecture , the cacti stopped working.
So I found your post while searching through google but I could not download the "cacti_autoinstall_208.sh" file. Would you please help me out.
Thanks in advance.
Re: Install script : Cacti 0.8.7g, Spine, PA, Patches
The script ran fine for me with my Debian Netinstall.
I had to open a command root console for some reason if I opened a normal console and used sudo or su it would not run
The only issue I have is I am not seeing the tabs for plugins I install. I can configure them and install the from Plugin management but they never show up on the main page ?
I had to open a command root console for some reason if I opened a normal console and used sudo or su it would not run
The only issue I have is I am not seeing the tabs for plugins I install. I can configure them and install the from Plugin management but they never show up on the main page ?
Re: Install script : Cacti 0.8.7g, Spine, PA, Patches
Thanks all for your feedback HAPPY NEW YEAR
V 0.36 is ready, nothing fancy, august patches of cacti were missing, plus an update of the PA.
EDIT : V0.37 is ready, mainly plugin additions: LoginMod, Monitor, Nectar, Spikekill and thold
Regards,
Deel
V 0.36 is ready, nothing fancy, august patches of cacti were missing, plus an update of the PA.
EDIT : V0.37 is ready, mainly plugin additions: LoginMod, Monitor, Nectar, Spikekill and thold
Regards,
Deel
Last edited by DeeL on Sun Jan 02, 2011 9:45 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 0 guests