Windows Installer [Cacti 1.2.7] [Updated 2019-11-02]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
LetsGo67
Posts: 9
Joined: Thu Aug 24, 2017 10:03 am

Re: Windows Installer [Cacti 1.1.17] [Updated 2017-08-17]

#931 Post by LetsGo67 » Thu Oct 26, 2017 10:30 pm

BSOD2600 wrote:
LetsGo67 wrote:installer don't complete process for install cacti, my compuer reboot before install is finished...
Nothing in the installer forces a reboot. sure you didnt have something else pending?

Tried running installer again?
Yes...

I'l have upgrade to windows 10...

1.1.26 installer:
Return value: error
Installing cacti.sql
Return value: error
Updating Cacti defaults...

localhost/cacti or http://192.168.1.15/cacti => HTTP ERROR 500
access.log:

Code: Select all

::1 - - [27/Oct/2017:05:40:03 +0200] "GET /cacti/index.php HTTP/1.1" 500 -
::1 - - [27/Oct/2017:05:41:13 +0200] "GET /cacti/index.php HTTP/1.1" 500 -
::1 - - [27/Oct/2017:05:41:17 +0200] "GET /cacti/ HTTP/1.1" 500 -
::1 - - [27/Oct/2017:05:43:39 +0200] "GET /cacti/ HTTP/1.1" 500 -
::1 - - [27/Oct/2017:05:44:13 +0200] "GET /cacti/ HTTP/1.1" 500 -
localhost return It Works!

error;log:

Code: Select all

[Fri Oct 27 05:24:13.052291 2017] [mpm_winnt:notice] [pid 5268:tid 632] AH00455: Apache/2.4.27 (Win64) configured -- resuming normal operations
[Fri Oct 27 05:24:13.053291 2017] [mpm_winnt:notice] [pid 5268:tid 632] AH00456: Apache Lounge VC15 Server built: Jul  7 2017 12:46:00
[Fri Oct 27 05:24:13.053291 2017] [core:notice] [pid 5268:tid 632] AH00094: Command line: 'B:\\Apache24\\bin\\httpd.exe -d B:/Apache24'
[Fri Oct 27 05:24:13.055291 2017] [mpm_winnt:notice] [pid 5268:tid 632] AH00418: Parent: Created child process 5488
[Fri Oct 27 05:24:13.974318 2017] [mpm_winnt:notice] [pid 5488:tid 672] AH00354: Child: Starting 64 worker threads.
[Fri Oct 27 05:30:05.521090 2017] [mpm_winnt:notice] [pid 5268:tid 632] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 27 05:30:07.537305 2017] [mpm_winnt:notice] [pid 5488:tid 672] AH00364: Child: All worker threads have exited.
[Fri Oct 27 05:30:07.559306 2017] [mpm_winnt:notice] [pid 5268:tid 632] AH00430: Parent: Child process 5488 exited successfully.
[Fri Oct 27 05:30:09.459757 2017] [mpm_winnt:notice] [pid 13116:tid 648] AH00455: Apache/2.4.27 (Win64) configured -- resuming normal operations
[Fri Oct 27 05:30:09.459757 2017] [mpm_winnt:notice] [pid 13116:tid 648] AH00456: Apache Lounge VC15 Server built: Jul  7 2017 12:46:00
[Fri Oct 27 05:30:09.459757 2017] [core:notice] [pid 13116:tid 648] AH00094: Command line: 'B:\\Apache24\\bin\\httpd.exe -d B:/Apache24'
[Fri Oct 27 05:30:09.460757 2017] [mpm_winnt:notice] [pid 13116:tid 648] AH00418: Parent: Created child process 13004
[Fri Oct 27 05:30:10.605739 2017] [mpm_winnt:notice] [pid 13004:tid 676] AH00354: Child: Starting 64 worker threads.
[Fri Oct 27 05:40:56.726990 2017] [mpm_winnt:notice] [pid 13116:tid 648] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 27 05:40:58.729165 2017] [mpm_winnt:notice] [pid 13004:tid 676] AH00364: Child: All worker threads have exited.
[Fri Oct 27 05:40:58.760415 2017] [mpm_winnt:notice] [pid 13116:tid 648] AH00430: Parent: Child process 13004 exited successfully.
[Fri Oct 27 05:41:00.089123 2017] [mpm_winnt:notice] [pid 4368:tid 748] AH00455: Apache/2.4.27 (Win64) configured -- resuming normal operations
[Fri Oct 27 05:41:00.089123 2017] [mpm_winnt:notice] [pid 4368:tid 748] AH00456: Apache Lounge VC15 Server built: Jul  7 2017 12:46:00
[Fri Oct 27 05:41:00.089123 2017] [core:notice] [pid 4368:tid 748] AH00094: Command line: 'B:\\Apache24\\bin\\httpd.exe -d B:/Apache24'
[Fri Oct 27 05:41:00.089123 2017] [mpm_winnt:notice] [pid 4368:tid 748] AH00418: Parent: Created child process 13000
[Fri Oct 27 05:41:00.914040 2017] [mpm_winnt:notice] [pid 13000:tid 644] AH00354: Child: Starting 64 worker threads.
[Fri Oct 27 05:41:07.993535 2017] [mpm_winnt:notice] [pid 4368:tid 748] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 27 05:41:09.995093 2017] [mpm_winnt:notice] [pid 13000:tid 644] AH00364: Child: All worker threads have exited.
[Fri Oct 27 05:41:10.018094 2017] [mpm_winnt:notice] [pid 4368:tid 748] AH00430: Parent: Child process 13000 exited successfully.
[Fri Oct 27 05:41:11.438409 2017] [mpm_winnt:notice] [pid 6896:tid 684] AH00455: Apache/2.4.27 (Win64) configured -- resuming normal operations
[Fri Oct 27 05:41:11.438409 2017] [mpm_winnt:notice] [pid 6896:tid 684] AH00456: Apache Lounge VC15 Server built: Jul  7 2017 12:46:00
[Fri Oct 27 05:41:11.438409 2017] [core:notice] [pid 6896:tid 684] AH00094: Command line: 'B:\\Apache24\\bin\\httpd.exe -d B:/Apache24'
[Fri Oct 27 05:41:11.438409 2017] [mpm_winnt:notice] [pid 6896:tid 684] AH00418: Parent: Created child process 9380
[Fri Oct 27 05:41:12.277184 2017] [mpm_winnt:notice] [pid 9380:tid 596] AH00354: Child: Starting 64 worker threads.
[Fri Oct 27 05:43:49.235591 2017] [mpm_winnt:notice] [pid 6896:tid 684] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 27 05:44:09.809365 2017] [mpm_winnt:notice] [pid 9380:tid 596] AH00364: Child: All worker threads have exited.
[Fri Oct 27 05:44:09.835365 2017] [mpm_winnt:notice] [pid 6896:tid 684] AH00430: Parent: Child process 9380 exited successfully.
[Fri Oct 27 05:44:10.874262 2017] [mpm_winnt:notice] [pid 6492:tid 788] AH00455: Apache/2.4.27 (Win64) configured -- resuming normal operations
[Fri Oct 27 05:44:10.874262 2017] [mpm_winnt:notice] [pid 6492:tid 788] AH00456: Apache Lounge VC15 Server built: Jul  7 2017 12:46:00
[Fri Oct 27 05:44:10.874262 2017] [core:notice] [pid 6492:tid 788] AH00094: Command line: 'B:\\Apache24\\bin\\httpd.exe -d B:/Apache24'
[Fri Oct 27 05:44:10.874262 2017] [mpm_winnt:notice] [pid 6492:tid 788] AH00418: Parent: Created child process 6400
[Fri Oct 27 05:44:11.695801 2017] [mpm_winnt:notice] [pid 6400:tid 708] AH00354: Child: Starting 64 worker threads.
Apache2 started...
Attachments
cacti-installer.txt
(151.85 KiB) Downloaded 284 times

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 1.1.26] [Updated 2017-10-17]

#932 Post by BSOD2600 » Sat Nov 04, 2017 12:13 pm

LetsGo67:
My guess is its something to do with the language of the OS and what's being passed at the commandline to the various installers, which is causing these issues. Do you have time to test another build for me?

LetsGo67
Posts: 9
Joined: Thu Aug 24, 2017 10:03 am

Re: Windows Installer [Cacti 1.1.26] [Updated 2017-10-17]

#933 Post by LetsGo67 » Sat Nov 04, 2017 8:02 pm

i can test but cacti is to complicated for me, i have choose munin on a VM...

areast
Cacti User
Posts: 105
Joined: Wed Oct 29, 2014 5:08 am

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#934 Post by areast » Tue Mar 06, 2018 1:45 am

Does anyone have my issue?
The install shown below error (using CACTI 1.1.36 windows .exe installer)
Beside this is clean OS on Window 2012 R2 64bits
Attachments
cacti-installer.txt
(154.69 KiB) Downloaded 114 times
Untitled.png
Untitled.png (5.48 KiB) Viewed 2033 times
Untitled.png
Untitled.png (18.14 KiB) Viewed 2033 times

areast
Cacti User
Posts: 105
Joined: Wed Oct 29, 2014 5:08 am

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#935 Post by areast » Wed Mar 07, 2018 9:10 pm

Here is the log for MySQL

MySQL installer exited with: 0
Installing MySQL 5.7.20...
=================== Start Initialization ===================
MySQL Installer is running in Community mode

Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 3/8/2018 10:05:09 AM
=================== End Initialization ===================

Failed!
MySQL Server 5.7.20 download failed. Will be skipped.
Product installations done.

Starting product configurations ...

Configuring MySQL Server 5.7.20
Stopping Server [if necessary] - Done!
Writing configuration file- - Done!
Updating firewall\|/-\|/ - Done!
Adjusting Windows service [if necessary] - Done!
Updating server - Done!
Initializing Database [if necessary] - Done!
-Starting Server - Error!
Configuration of MySQL Server 5.7.20 has completed unsuccessfully! (Check log for more details)
Finished configuring all selected products.
Configuring MySQL...
* FATAL ERROR *
Error reading MySQL install location
-----------------------------------------------------------------------------------------------
Attachments
Untitled.png
Untitled.png (8.84 KiB) Viewed 2029 times

netniV
Cacti Guru User
Posts: 2997
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#936 Post by netniV » Thu Mar 08, 2018 5:16 am

If MySQL is already installed, it must be fully working. If it is not fully working, then you have to either fix it, or uninstall it (assuming it's not used by something else).

neilg
Posts: 8
Joined: Mon Mar 13, 2017 3:35 am

Re: Windows Installer [Cacti 1.1.13] [Updated 2017-07-15]

#937 Post by neilg » Fri Mar 23, 2018 4:25 am

I have the exact same issue with the newest version and Windows 10
CACTI was installed fresh on a new Win 10 PC (i3/8GB RAM)
CACTI was working
Other software was added and CACTI continued working
Windows updates happened afterwards
then CACTI started getting very slow and adding new devices didn't work at times
removed CACTI completely and tried to install again but failed with the below error every time
Tried CACTI 1.1.16 and 1.1.36, exact same issue
timezone is set as I always do
Region and language is set as it's always been - English
--- noticed that on another Win10 PC running CACTI I have 2 English language packs installed
--- added the other language pack on this PC again and did package installation of CACTI 1.1.36 again

Still the same issue


BSOD2600 wrote:Surprised it worked, as there was some sort of error which caused the command to timeout. I dont know any other languages to be able reproduce in a VM and fix :(

Code: Select all

Installing Cacti DB
Output folder: C:\Users\tbriceno\AppData\Local\Temp\nsc514B.tmp
Extract: timezone_posix.sql... 100%
Installing timezone_posix.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
Return value: timeout
Installing cacti.sql
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
Return value: timeout

neilg
Posts: 8
Joined: Mon Mar 13, 2017 3:35 am

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#938 Post by neilg » Fri Mar 23, 2018 4:31 am

@ BSOD2600

the "new" installer packages do not include some software (so that you can keep the package smaller)
I fully understand and agree with that

I would like to make a suggestion
Can you compile your installation (which I use and greatly appreciate) to look in a folder for the software that it would normally download from the internet

for example c:\cacti_install
so we will see that software x,y,z will be needed to complete the installation
we can then manually download the software and place it in the folder from where the installation will be done

If the software is not in that folder then the installation package will connect to the internet and download the software

This will greatly help in places where internet access is not possible / allowed for the monitoring server.

neilg
Posts: 8
Joined: Mon Mar 13, 2017 3:35 am

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#939 Post by neilg » Fri Mar 23, 2018 4:49 am

Just installed 0.8.8h - working
will have to go with that for now

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#940 Post by BSOD2600 » Sun Apr 15, 2018 10:52 pm

areast wrote: MySQL Server 5.7.20 download failed. Will be skipped.

Configuration of MySQL Server 5.7.20 has completed unsuccessfully! (Check log for more details)
This is why the installation failed. Where you able to successfully download MySQL or does the server not have Internet access?

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Windows Installer [Cacti 1.1.36] [Updated 2018-02-25]

#941 Post by BSOD2600 » Sun Apr 15, 2018 11:04 pm

neilg wrote:the "new" installer packages do not include some software (so that you can keep the package smaller)
I fully understand and agree with that
Indeed it does. Primarily because the MySQL installer has grown crazy large and would bloat the installer by another 300+ MB (as it includes a lot of other software cacti doesn't need/use).

The problem with the installer folder binary idea is languages. The installer knows all the paths/binaries are in English. When this is done with another operating system local, these can change and then there is a LOT left up in the air (how to compensate for other languages; does the installer ask the user for the paths of all the required binaries?; what if the user specifies a version of installer which isnt supported/tested?; how to handle the deprecated or beta versions of software?) Plus, various versions of installers/software, have their own bugs or oddities, which much be worked around by this installer. There for, it this installer cannot simply accept any versions of PHP, MySQL, apache, or Cacti because the work effort to handle the vast number of versions of all the required software would be a massive under taking. Thus, it works with the current supported versions available at the time of release, and these are tested within VMs before publication.

I know, its certainly not ideal.... but then again, this is intended for the novice admin who doesn't have time to follow the installation guide and just needs something to work at first attempt. Seasoned admins should always perform the individual install/configs manually, so they're fully aware what changes are being made to their asset.

fuadmantale
Posts: 1
Joined: Sun Apr 22, 2018 5:51 am

Re: Windows Installer [Cacti 1.1.38] [Updated 2018-04-15]

#942 Post by fuadmantale » Mon Apr 23, 2018 12:23 am

please help my problem :cry: :cry: :cry:
Attachments
Capture.PNG
Capture.PNG (30.19 KiB) Viewed 1744 times

keithcla
Posts: 4
Joined: Fri May 25, 2018 12:38 pm

Re: Windows Installer [Cacti 1.1.38] [Updated 2018-04-15]

#943 Post by keithcla » Tue May 29, 2018 4:57 am

I'm experiencing the same issue the *FATAL ERROR* Error reading MySQL install location during the installation
Is there a fix ?
Attachments
sql errors.txt
(1.76 KiB) Downloaded 74 times

kmueller68
Posts: 1
Joined: Fri Jun 15, 2018 3:56 am

Re: Windows Installer [Cacti 1.1.38] [Updated 2018-04-15]

#944 Post by kmueller68 » Fri Jun 15, 2018 3:58 am

I used the installer on Windows Server 2016 an the MySQL section failed.

Hopefully anyone has an idea.

Thank you very much


MySQL Stopped
Output folder: C:\Users\muell_ka\AppData\Local\Temp\nsb97F4.tmp
Installing MySQL Installer...
Extract: mysql.msi... 100%
Execute: msiexec /i "C:\Users\muell_ka\AppData\Local\Temp\nsb97F4.tmp\mysql.msi" /qn USERNAME="Valued Cacti Customer"
MySQL installer exited with: 0
Installing MySQL 5.7.21...
=================== Start Initialization ===================
MySQL Installer is running in Community mode

Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 15.06.2018 09:36:46
=================== End Initialization ===================



Failed!
MySQL Server 5.7.21 download failed. Will be skipped.
Product installations done.

Starting product configurations ...

Configuring MySQL Server 5.7.21
Stopping Server [if necessary] - Done!
Writing configuration file - Done!
Updating firewall-\|/ - Done!
Adjusting Windows service [if necessary] - Done!
Initializing Database [if necessary] - Error!
Configuration of MySQL Server 5.7.21 has completed unsuccessfully! (Check log for more details)
Finished configuring all selected products.
Configuring MySQL...
* FATAL ERROR *
Error reading MySQL install location
-----------------------------------------------------------------------------------------------
Finishing up...
Created uninstaller: C:\Windows\cacti_uninstall.exe

netniV
Cacti Guru User
Posts: 2997
Joined: Sun Aug 27, 2017 12:05 am

Re: Windows Installer [Cacti 1.1.38] [Updated 2018-04-15]

#945 Post by netniV » Fri Jun 15, 2018 10:58 am

If this is a windows server, it may be that the IE configuration is locked down and that the site from which MySQL was attempted to be downloaded from isn't in the trusted sites. I take it you have the Enhanced Security Configuration enabled?

Post Reply