Cacti not working as webapp

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

Moderators: Developers, Moderators

Post Reply
Azizieh7
Posts: 2
Joined: Tue Dec 22, 2015 6:29 am

Cacti not working as webapp

Post by Azizieh7 »

Dears,

I have installed Cacti 0.8.8f over Apache on Windows 2008/R2, everything is ok but when I tried to open the cacti interface to proceed the configuration it opened as directory browsing not webapp.

I am attaching a screenshot.

Pleas advise,
Attachments
Cacti/Apache
Cacti/Apache
Cacti.PNG (35.04 KiB) Viewed 1617 times
blackbrayn
Posts: 7
Joined: Sun Apr 01, 2012 12:43 pm

Re: Cacti not working as webapp

Post by blackbrayn »

I think you are missing php engine:

http://windows.php.net/
Azizieh7
Posts: 2
Joined: Tue Dec 22, 2015 6:29 am

Re: Cacti not working as webapp

Post by Azizieh7 »

blackbrayn wrote:I think you are missing php engine:

http://windows.php.net/

@blackbrayn it is not PHP engine since it is downloaded, please find the screenshot below. however, I still believe it is a PHP issue.
Attachments
php.PNG
php.PNG (36.14 KiB) Viewed 1608 times
doiggl
Cacti User
Posts: 222
Joined: Wed Dec 16, 2009 6:32 am

Re: Cacti not working as webapp

Post by doiggl »

Is mysql running and cacti installed ?
- Using linux as example [not using Windows 2008/R2]


##running following commands:
mysql -u root < /home/cacti/01cacti-setup.sql
mysql -u cactiuser -ppassws -b cactidb < /home/cacti/02cacti-listing.sql
use mysql;
drop database if exists cactidb;
create database cactidb;
create user 'cactiuser'@'localhost' IDENTIFIED BY 'passws';
grant all on cactidb.* TO cactiuser@localhost IDENTIFIED BY 'passws';
flush privileges;
SELECT Host,User,Password FROM mysql.user;
SELECT Host,Db,User from db;
show databases;
select user,host from mysql.user;

#
show tables;
exit

#running cacti schema setup##
##finished running cacti schema setup##
#running cacti sql setup
##mysql -u cactiuser -ppassws -b cactidb < /srv/www/cacti/cacti.sql


After should be able to start cacti install.
- firefox http://127.0.0.1/cacti/install

Cheers
--Glenn
doiggl
Cacti User
Posts: 222
Joined: Wed Dec 16, 2009 6:32 am

Re: Cacti not working as webapp

Post by doiggl »

example to install cacti on linux using mysql
[It sets up the schema-structure]
##mysql -u cactiuser -ppassws -b cactidb < /srv/www/cacti/cacti.sql

Use to complete install [example]
# firefox http://127.0.0.1/cacti/install

Cheers
--Glenn
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cacti not working as webapp

Post by BSOD2600 »

Fresh install? should go with 0.8.8f - http://www.cacti.net/changelog.php or use the installer: http://forums.cacti.net/viewtopic.php?f=3&t=14946

if you want to go the manual route, follow the steps in the order listed: http://docs.cacti.net/manual:088:1_inst ... er_windows
Post Reply

Who is online

Users browsing this forum: Rno and 2 guests