Issue with new Cacti 1.1.37

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

Moderators: Developers, Moderators

Post Reply
CiscoCertified
Posts: 3
Joined: Thu Apr 12, 2018 1:44 am

Issue with new Cacti 1.1.37

Post by CiscoCertified »

I am trying to install cacti 1.1.37 on new Windows 2012-R2 64bit server using:

- Apache 2.4.33 Win64
- PHP 7.2.4
- MySQL 5.7.21.0
- rrdtool-1.2.15

it never works with me, I have tried everything but with no luck. I reached very good place in installation of this tool till I got stuck :cry: . now I am able to add the device but no graphs template or data query appear to me.

I am attaching some picture to show what I have & hopping to find the solution here.


Thanks in advance for your support.
Attachments
Cacti-Paths.jpg
Cacti-Paths.jpg (262.96 KiB) Viewed 2407 times
Errors in Cacti logs.jpg
Errors in Cacti logs.jpg (556.1 KiB) Viewed 2407 times
Adding Device 2.jpg
Adding Device 2.jpg (223.72 KiB) Viewed 2407 times
Adding Device 1.jpg
Adding Device 1.jpg (381.3 KiB) Viewed 2407 times
cacti-pics.rar
Pictures shows you the error I got in logs & the configuration in cacti.
(910.01 KiB) Downloaded 108 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Issue with new Cacti 1.1.37

Post by netniV »

OK so not really sure about Cacti on Windows as I have never run it there. However, I will say that I can see a problem immediately with your CSRF in that it is trying to write to c:\temp and that folder either does not exist or the user that the website is running under does not have permissions to read/write/modify there.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
CiscoCertified
Posts: 3
Joined: Thu Apr 12, 2018 1:44 am

Re: Issue with new Cacti 1.1.37

Post by CiscoCertified »

Thanks netniV

the error message is cleared, but about graphs template and data query still there is no options there + the devices status it shows me Unknown
Attachments
Cacti.jpg
Cacti.jpg (216.47 KiB) Viewed 2398 times
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Issue with new Cacti 1.1.37

Post by camerabob »

I believe there will be no status until a graph is created. That was what I had experienced in the past.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Issue with new Cacti 1.1.37

Post by netniV »

It's normal for 'Unknown' until the Poller.php has been run and created the RRD files for the graphs. The graphs status and display is then read from the RRD files. I would check that your poller is indeed running and able to create the RRD files in the <cacti>/rra folder.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
CiscoCertified
Posts: 3
Joined: Thu Apr 12, 2018 1:44 am

Re: Issue with new Cacti 1.1.37

Post by CiscoCertified »

nothing in rra folder :roll:

I followed the same steps showing in this website. I think it will never work in windows server.
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Issue with new Cacti 1.1.37

Post by camerabob »

Try opening the write permissions in the folder to 'everyone' and see if that changes things. If you do get data, find the owner of the new files and limit the writing to that user.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Issue with new Cacti 1.1.37

Post by netniV »

As this is a windows box, camerabob's idea isn't a bad one. Once you know what user is creating them, you can remove the everyone permission and add the creator. You will still need to allow the website user permission to read though (generally users have read access to most folders under the C:\ drive).
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

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

Who is online

Users browsing this forum: No registered users and 0 guests