Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue May 23, 2017 9:22 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 908 posts ]  Go to page Previous  1 ... 57, 58, 59, 60, 61  Next
Author Message
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Mon Apr 17, 2017 10:10 pm 
Offline

Joined: Wed Nov 23, 2016 2:42 am
Posts: 42
BSOD2600 wrote:
zetoo:
your issue is not with the installer. per the OP, create a separate post and outline your errors/details. it would appear the device is not correctly configured for snmp or a firewall possible blocking the traffic.


BSOD2600 :

Is this the right way to create graph ?

New Graphs > Choose Graph from Graph Templates (Create : Select a graph type to create) > Save

I just want to make sure from basic way since my 0.8.8f is working perfectly without any extra configuration unlike update 1.0.x and 1.x.x which currently stuck me in no graph automation (even though poller is working when I tried to generate Used Space graphs from Data Query).


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Wed Apr 19, 2017 10:02 pm 
Offline

Joined: Wed Nov 23, 2016 2:42 am
Posts: 42
Anyone have spine 1.1.2 for windows?


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Thu Apr 20, 2017 7:01 am 
Offline

Joined: Thu Mar 16, 2017 6:20 am
Posts: 4
omeKOS wrote:
after some testing and checking logfiles: there's a work around:

Run the Cacti installer, in my case the Cacti-1.1.2-3.2.0.0.exe
The installer runs until [Initializing Databse [if necessary] and wait until the mySQL db is available > so waiting forever :-|

to continue the installation:
1) delete the content in C:\ProgramData\MySQL\MySQL Server 5.7\Data
2) remove (place # in front of if) of all lines starting with innodbcluster in the configfile C:\ProgramData\MySQL\MySQL Server 5.7\my.ini
3) run (CMD) the following command again : "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
4) start manually the mysql service

... and the installer continues and finish :-)

usefull log: C:\ProgramData\MySQL\MySQL Installer for Windows\Logs\Administrator installer.log


I have just tried the installer on a clean Windows Server 2016 / IIS with this workaround and the installer seems to complete successfully but then when I go to access Cacti :

Quote:
Fatal Error - Cacti Database Not Initialized
The Cacti Database has not been initialized. Please initilize it before continuing.

To initilize the Cacti database, issue the following commands either as root or using a valid account.

mysqladmin -uroot -p create cacti

mysql -uroot -p -e "grant all on cacti.* to 'someuser'@'localhost' identified by 'somepassword'"

mysql -uroot -p -e "grant select on mysql.time_zone_name to 'someuser'@'localhost' identified by 'somepassword'"

mysql -uroot -p cacti < /pathcacti/cacti.sql

Where /pathcacti/ is the path to your Cacti install location.

Change someuser and somepassword to match your site preferences. The defaults are cactiuser for both user and password.

NOTE: When installing a remote poller, the config.php file must be writable by the Web Server account, and must include valid connection information to the main Cacti server. The file should be changed to read only after the install is completed.


I did try the steps suggested in the error but it just complains the Cacti database already exists so fails


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Thu Apr 20, 2017 1:15 pm 
Offline

Joined: Wed Apr 08, 2009 12:22 pm
Posts: 3
I'm trying to upgrade an installation I created using your installer quite some time ago; since your installer isn't designed to upgrade an existing installation, would you consider making your binary builds and installation source available publicly?

Do you have any interest in modifying your installer to make it more "upgrade" friendly?

Thanks &
Cheers,

Toby


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Fri Apr 21, 2017 12:15 am 
Offline

Joined: Fri Mar 17, 2017 8:59 am
Posts: 5
Hi,

Tried to install the latest windows installer on windows 2012 servers however it stuck during MYSQL installation process. Attaching the installation logs, Please help


Attachments:
Cacti-Installer logs.txt [147.07 KiB]
Downloaded 30 times
Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Fri Apr 21, 2017 2:49 am 
Offline

Joined: Tue Apr 11, 2017 12:21 pm
Posts: 3
@RaviKant

after the installer "waits forever" follow the steps i mentioned in a upper post (let the installer open!).
when you start the mySQL service you're see the installer completes


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Sat Apr 22, 2017 9:23 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12115
Location: USA
omeKOS wrote:
to continue the installation:
1) delete the content in C:\ProgramData\MySQL\MySQL Server 5.7\Data

The installer should've detected this on launch and asked if you wanted to delete it. Did that not occur? This is one of the several reason why this installer is only meant for new installations....

omeKOS wrote:
usefull log: C:\ProgramData\MySQL\MySQL Installer for Windows\Logs\Administrator installer.log

can you attach or paste the small relevant sections for why the MySQL installer was hanging?

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Sat Apr 22, 2017 9:34 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12115
Location: USA
tsimmons wrote:
I'm trying to upgrade an installation I created using your installer quite some time ago; since your installer isn't designed to upgrade an existing installation, would you consider making your binary builds and installation source available publicly?

Yea, I could. Although the cygwin build process really is quite easy and there aren't any real gotchas...

tsimmons wrote:
Do you have any interest in modifying your installer to make it more "upgrade" friendly?

Big life changes so not a lot of time these days for enhancements. There are a LOT of additional gotcha one would need to handle if performing an upgrade, since cacti relies on so many different components, which many users have changed configurations over time. Thinking out loud...
- Should upgrades only be allowed if the installer was originally used or for any system?
- Should an upgrade also upgrade mysql/php/rrdtool/spine or just cacti?
- Does a user really want (or need) to download a 200 MB installer instead of a 10 MB zip and overwriting the existing cacti files manually? Nope...
- Whats the best method for reliably detecting where the Cacti files reside on both IIS and Apache installs? User input is not reliable.
- mysql upgrades can be tricky especially if there are major version changes, clustered instances, or hosted remotely.
- php upgrades can be tricky especially if there are major version changes or core php files scattered around the system (as some other installers/users do).

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Sun Apr 23, 2017 7:52 am 
Offline

Joined: Wed Apr 08, 2009 12:22 pm
Posts: 3
BSOD2600 wrote:
Yea, I could. Although the cygwin build process really is quite easy and there aren't any real gotchas...

That would be cool; The biggest thing to me was getting Spine upgraded with Cacti each time there is a new release; there was a lot of trial and error getting Spine working properly (as per my PM);

BSOD2600 wrote:
tsimmons wrote:
Do you have any interest in modifying your installer to make it more "upgrade" friendly?

Big life changes so not a lot of time these days for enhancements. There are a LOT of additional gotcha one would need to handle if performing an upgrade, since cacti relies on so many different components, which many users have changed configurations over time. Thinking out loud...
- Should upgrades only be allowed if the installer was originally used or for any system?
- Should an upgrade also upgrade mysql/php/rrdtool/spine or just cacti?
- Does a user really want (or need) to download a 200 MB installer instead of a 10 MB zip and overwriting the existing cacti files manually? Nope...
- Whats the best method for reliably detecting where the Cacti files reside on both IIS and Apache installs? User input is not reliable.
- mysql upgrades can be tricky especially if there are major version changes, clustered instances, or hosted remotely.
- php upgrades can be tricky especially if there are major version changes or core php files scattered around the system (as some other installers/users do).

Yeah, I really hadn't considered all the ancillary parts which vastly complicate the issue. I was really just looking for Spine and Cacti to be upgraded in place, but it doesn't really make sense to only upgrade those, probably not worth the effort. Cacti itself is easy enough to upgrade, so being able to get the complete Spine was probably all I was looking for and can probably do myself now that I've dug into it.

Thanks!


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Sun Apr 23, 2017 7:54 am 
Offline

Joined: Wed Apr 08, 2009 12:22 pm
Posts: 3
Actually, would you care to share you build process for Spine? I see you get both the 32-bit and 64-bit in the installer, are you using two cygwin installs to build the two versions?


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Mon Apr 24, 2017 12:07 am 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12115
Location: USA
tsimmons wrote:
BSOD2600 wrote:
Yea, I could. Although the cygwin build process really is quite easy and there aren't any real gotchas...

That would be cool; The biggest thing to me was getting Spine upgraded with Cacti each time there is a new release; there was a lot of trial and error getting Spine working properly (as per my PM);

Ok, here you go: http://www.cacti.net/downloads/packages/Windows/

tsimmons wrote:
Actually, would you care to share you build process for Spine? I see you get both the 32-bit and 64-bit in the installer, are you using two cygwin installs to build the two versions?

Yup, two side by side cygwin installs.
There really isnt much else to whats documented in \spine\README.md under the Windows section. One exception (possibly a local issue) is I need to first run:
dos2unix ./bootstrap
then the rest is standard
./bootstrap
./configure
make
make install

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Mon Apr 24, 2017 5:12 am 
Offline

Joined: Mon Apr 24, 2017 4:01 am
Posts: 4
BSOD2600 wrote:
tsimmons wrote:
BSOD2600 wrote:
Yea, I could. Although the cygwin build process really is quite easy and there aren't any real gotchas...

That would be cool; The biggest thing to me was getting Spine upgraded with Cacti each time there is a new release; there was a lot of trial and error getting Spine working properly (as per my PM);

Ok, here you go: http://www.cacti.net/downloads/packages/Windows/

[quote="tsimmons"]


didnt see 1.1.4 spine.


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Mon Apr 24, 2017 3:18 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12115
Location: USA
Kaisim wrote:
didnt see 1.1.4 spine.

Almost nothing has changed in the Spine releases: https://github.com/Cacti/spine/blob/develop/ChangeLog

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Tue Apr 25, 2017 4:36 am 
Offline

Joined: Wed Nov 23, 2016 2:42 am
Posts: 42
Hey BSOD2600, may I ask which version of cacti that can be used normally ?
Since version 1.x.x, I got zero graph automation from graph template.

Before this I installed 0.8.8f and it works fine for me.

PS : I did not change any configuration since 0.8.8f


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.1.2] [Updated 2017-04-05]
PostPosted: Tue Apr 25, 2017 12:04 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12115
Location: USA
zetoo:
This has nothing to do with the installer. please create a new thread in the general forum. graph automation is now built into cacti... but users still need to configure it.

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 908 posts ]  Go to page Previous  1 ... 57, 58, 59, 60, 61  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group