[solved] Manuall installlation of Cacti 0.8.8h - Blank page

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tripex2k
Posts: 1
Joined: Wed Jun 15, 2016 9:49 am

[solved] Manuall installlation of Cacti 0.8.8h - Blank page

Post by tripex2k »

Hi there,

I already searched the forums and read all the threads referencing the problem, but found no solution yet.

I did a manual installation of Cacti on Ubuntu 16.04, since the apt-get version is 0.8.8f with some things not working.

Infos:
apache 2, php7, mysql 5.7, snmp, snmpd and rrdtools 1.5.x installed with apt-get.
Followed the installationguide from cacti website. Installpath is /var/www/html/cacti

Skipped the database user step and used the mysql root user for connection to cacti database. Imported the cacti.sql without any problems after I fixed the sql-mode bug.

Now when I call the http://localhost/cacti there is only an empty page with no html source.

Did I miss anything?

EDIT:
Apache2 access log throws this

Code: Select all

127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET / HTTP/1.1" 500 364 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET /favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
Apache2 error.log brings up this:

Code: Select all

[Wed Jun 15 19:58:42.022393 2016] [:error] [pid 1568] [client 127.0.0.1:43918] PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /var/www/html/cacti/lib/adodb/adodb.inc.php on line 866
EDIT2:

Okay, solution was to downgrade PHP from 7.0 down to 5.6. I used this guide: http://askubuntu.com/questions/109404/h ... -supported

Be sure to uninstall PHP and PHP7 completly before you install the 5.6 version or you have to play around a bit before everything works.

Now I have another problem: No graphs, File not found, but I may find a solution for that or not. :)
mamiro
Posts: 4
Joined: Mon Aug 15, 2016 7:56 am

Re: [solved] Manuall installlation of Cacti 0.8.8h - Blank p

Post by mamiro »

I have the same problem here but downgrading to php 5.5 did not help.
After I uninstalled php I try to access Cacti and it worked... well not the visual but still.
Have you applied a specific configuration to PHP or just did an "apt-get install" ?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests