Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 12:25 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 987 posts ]  Go to page Previous  1 ... 62, 63, 64, 65, 66  Next
Author Message
 Post subject: Re: Windows Installer [Cacti 1.2.1] [Updated 2019-01-31]
PostPosted: Wed Feb 27, 2019 12:16 pm 
Offline

Joined: Thu Jun 19, 2014 3:49 pm
Posts: 7
BSOD2600,

Do you have a way to upgrade Apache 2.4.37 to 2.4.38 in your package installer?

Thanks,


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.1] [Updated 2019-01-31]
PostPosted: Tue Mar 05, 2019 12:53 pm 
Offline

Joined: Thu Feb 28, 2019 12:37 am
Posts: 16
Hi, I have tried this installer as I was not able to run the software successfully on Linux:

https://forums.cacti.net/viewtopic.php? ... 17#p277117

I was able to install everything correctly, with Apache on Windows 10, however, when trying to access graphs I get this:

Image

It must be permissions that are not set properly. Task Scheduler shows Cacti task runs succesfully.

My other thread on the Linux side has a similar error as well.

Any thoughts? :oops:


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.1] [Updated 2019-01-31]
PostPosted: Wed Mar 06, 2019 10:01 am 
Offline

Joined: Fri Oct 26, 2018 8:28 am
Posts: 4
Erudes1991 wrote:
Hi, I have tried this installer as I was not able to run the software successfully on Linux:

https://forums.cacti.net/viewtopic.php?f=21&t=59607&p=277117#p277117

I was able to install everything correctly, with Apache on Windows 10, however, when trying to access graphs I get this:

Image

It must be permissions that are not set properly. Task Scheduler shows Cacti task runs succesfully.

My other thread on the Linux side has a similar error as well.

Any thoughts? :oops:


Check this page for errors.
http://localhost/cacti/utilities.php?action=view_tech


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.1] [Updated 2019-01-31]
PostPosted: Thu Mar 07, 2019 4:18 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12160
Location: USA
nweibel wrote:
BSOD2600,
Do you have a way to upgrade Apache 2.4.37 to 2.4.38 in your package installer?
Thanks,

Stop apache service
Extract httpd-2.4.38-win64-VC15.zip contents into the current c:\Apache24\ folder.
start apache service.

_________________

| 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.2.1] [Updated 2019-01-31]
PostPosted: Thu Mar 07, 2019 4:19 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12160
Location: USA
Erudes1991 wrote:
I was able to install everything correctly, with Apache on Windows 10, however, when trying to access graphs I get this:

Enable graph debug on that screen. whats the rrdtool error?

_________________

| 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.2.2] [Updated 2019-03-07]
PostPosted: Fri Mar 08, 2019 7:01 am 
Offline

Joined: Fri Mar 08, 2019 6:36 am
Posts: 2
Hi
Yesterday I tested with version 1.2.1 and everything worked perfectly and plan to use it.

And today I found a new version 1.2.2 and tried to install it. It is not as easy to use as in version 1.2.1, which I know that the problem is that it cannot connect to the database And I can't fix it.

So I went back to install version 1.2.1 and it was not able to use as well as yesterday. And there was an error like version 1.2.2
I noticed that there was a problem, unable to connect to the database during the installation of the program.

Is there a simple solution for beginners?
I have tried many different methods in the post and have failed.

Thanks
****************************************************
Error Detail

Downloading MySQL Server 5.7.25......................Done!
[Install] MySQL Server 5.7.25 X86...................done!
Product installations done.

Starting product configurations ...

Configuring MySQL Server 5.7.25
-\Writing configuration file|/ - Error!
Configuration of MySQL Server 5.7.25 has completed unsuccessfully! (Check log for more details)
Finished configuring all selected products.
Configuring MySQL...
Stopping MySQL...
MySQL Stopped 0
Writing my.ini...
Starting MySQL...
MySQL Started 0
Installing Cacti DB
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp\nsc3F.tmp
Extract: timezone_posix.sql... 100%
Installing timezone_posix.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Installing cacti.sql
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Creating Cacti DB User
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Updating Cacti defaults...
-----------------------------------------------------------------------------------------------
Output folder: C:\Apache24\htdocs\cacti\resource\snmp_queries
Extract: RFC1213.xml... 100%
Output folder: C:\Apache24\htdocs\cacti\resource\snmp_queries
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp
Extract: cacti_data_query_rfc1213_statistics.xml... 100%
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp
Installing Protocol Statistics template...
Output folder: C:\Apache24\htdocs\cacti\cli
FATAL: Connection to Cacti database failed. Please ensure:

- the PHP MySQL module is installed and enabled.
- the database is running.
- the credentials in config.php are valid.


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Fri Mar 08, 2019 9:57 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
The problem seems to be that the username/password supplied isn't valid for MySQL.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 12:18 am 
Offline

Joined: Tue Mar 12, 2019 12:07 am
Posts: 3
I just can't seem to figure it out. Fresh install of Winodws 7 Ultimate with all updates installed. Regardless of whether I use IIS or Apache I can't get it to install. Windows Defender and Firewall disabled. It looks like the database file isn't being created.

Thanks,
Leo


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 12:22 am 
Offline

Joined: Tue Mar 12, 2019 12:07 am
Posts: 3
I have the same problem installing on Windows 7 Ultimate.

Leo

aufrommars wrote:
Hi
Yesterday I tested with version 1.2.1 and everything worked perfectly and plan to use it.

And today I found a new version 1.2.2 and tried to install it. It is not as easy to use as in version 1.2.1, which I know that the problem is that it cannot connect to the database And I can't fix it.

So I went back to install version 1.2.1 and it was not able to use as well as yesterday. And there was an error like version 1.2.2
I noticed that there was a problem, unable to connect to the database during the installation of the program.

Is there a simple solution for beginners?
I have tried many different methods in the post and have failed.

Thanks
****************************************************
Error Detail

Downloading MySQL Server 5.7.25......................Done!
[Install] MySQL Server 5.7.25 X86...................done!
Product installations done.

Starting product configurations ...

Configuring MySQL Server 5.7.25
-\Writing configuration file|/ - Error!
Configuration of MySQL Server 5.7.25 has completed unsuccessfully! (Check log for more details)
Finished configuring all selected products.
Configuring MySQL...
Stopping MySQL...
MySQL Stopped 0
Writing my.ini...
Starting MySQL...
MySQL Started 0
Installing Cacti DB
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp\nsc3F.tmp
Extract: timezone_posix.sql... 100%
Installing timezone_posix.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Installing cacti.sql
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Creating Cacti DB User
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Updating Cacti defaults...
-----------------------------------------------------------------------------------------------
Output folder: C:\Apache24\htdocs\cacti\resource\snmp_queries
Extract: RFC1213.xml... 100%
Output folder: C:\Apache24\htdocs\cacti\resource\snmp_queries
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp
Extract: cacti_data_query_rfc1213_statistics.xml... 100%
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp
Installing Protocol Statistics template...
Output folder: C:\Apache24\htdocs\cacti\cli
FATAL: Connection to Cacti database failed. Please ensure:

- the PHP MySQL module is installed and enabled.
- the database is running.
- the credentials in config.php are valid.


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 2:45 am 
Offline

Joined: Fri Mar 08, 2019 6:36 am
Posts: 2
Now on Windows 7, I used cacti version 0.8.8h and worked perfectly

lboyd wrote:
I just can't seem to figure it out. Fresh install of Winodws 7 Ultimate with all updates installed. Regardless of whether I use IIS or Apache I can't get it to install. Windows Defender and Firewall disabled. It looks like the database file isn't being created.

Thanks,
Leo


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 4:55 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Was the MySQL service installed and running?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 11:17 am 
Offline

Joined: Tue Mar 12, 2019 12:07 am
Posts: 3
MySQL is installed, but when the installed tries to start it there's a service doesn't exist error.

Leo


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 8:01 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Does it appear in your services list? Run services.msc to get to it quickly.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Windows Installer [Cacti 1.2.2] [Updated 2019-03-07]
PostPosted: Tue Mar 12, 2019 9:56 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12160
Location: USA
The error is actually occurring within the MySQL installer itself. Unfortunately, this is not the first time this issue has been encountered (if one looks on the MySQL forum, you'll find hints of this for months). Their latest web installer (which is what the cacti windows installer uses) downloads the latest code and has a bug.

Looks like I'll need to embed the previous full mysql installer for remediation. Will post when its been done and tested.

_________________

| 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.2.2] [Updated 2019-03-07]
PostPosted: Wed Mar 13, 2019 4:25 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
One other thing, I noticed that another user had an issue where their MySQL was listening only on IPv6, make sure that your setup is listening correctly and that your connection details are definitely using the correct address (ie, if it's IPv6, the host should be ::1 with port 3306, if it's ipv6 it's host 127.0.0.1 with port 3306)

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 987 posts ]  Go to page Previous  1 ... 62, 63, 64, 65, 66  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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