CLI

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
tzelenka
Posts: 3
Joined: Mon Jul 27, 2020 3:12 am

CLI

Post by tzelenka »

Hello,
I try install the CACTI, but i have error with CLI installation. Please see the picture.
I don't know how to install it. It is running on windows
Could some one help me?

Thank you
Attachments
cacti-cli.jpg
cacti-cli.jpg (76.9 KiB) Viewed 727 times
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: CLI

Post by bmfmancini »

which OS ?

I will assume Linux ( Because why would you use anything else :) )

What webserver ? ( I will assume apache)

try the following

systemctl restart apache2 for ubuntu/debian
systemctl restart httpd for centos/rhel

then click the refresh button on the top right to see if the install finds the packages

let us know if that worked
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
tzelenka
Posts: 3
Joined: Mon Jul 27, 2020 3:12 am

Re: CLI

Post by tzelenka »

Hello,
It is running on Windows10 on Apache
I can try some Linux, but I have not experience with this
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: CLI

Post by bmfmancini »

Hey there

I have actually never installed cacti on windows

but if you want I have a vm appliance for cacti based on linux

viewtopic.php?f=2&t=60893&p=282629&hili ... ce#p282629
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: CLI

Post by netniV »

This error appears becuase your PHP could not be located automatically or you already have it defined in the DB. If it is in the DB, it will be used even if it's invalid.
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
tzelenka
Posts: 3
Joined: Mon Jul 27, 2020 3:12 am

Re: CLI

Post by tzelenka »

netniV wrote: Fri Jul 31, 2020 8:01 pm This error appears becuase your PHP could not be located automatically or you already have it defined in the DB. If it is in the DB, it will be used even if it's invalid.
Hello,
Could you please advise me how to fix it? In DB I have this record: path_php_binary c:/php/php.exe
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: CLI

Post by netniV »

As this is windows based, I'm not sure that is wrong. I would need to spin up a windows test system to verify.
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 3 guests