Not Loading
Moderators: Developers, Moderators
Not Loading
I installed Cacti and all of it's dependencies according to the how to at http://www.cacti.net/downloads/docs/con ... How-To.pdf but when I try and access Cacti, there is no page at http://localhost/cacti, but also no errors (eg firefox can find the site)
Any ideas?
Thanks
BobbyD
Any ideas?
Thanks
BobbyD
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Typically this is a apache configuration problem.
Confirm that the location of Cacti is configured in your apache configuration. Or move it into the root of your web server document root.
Confirm that the location of Cacti is configured in your apache configuration. Or move it into the root of your web server document root.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, that sir is a rather broad question.
Let's start with the basics, do you have php installed and enabled in apache?
Let's start with the basics, do you have php installed and enabled in apache?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Same Issue
i am experiencing the same issue. PHP files in the CACTI directory work OK, other tools on the system are able to use PHP.
Are there any specifiic CACTI.PHP requirements?
Thanks.
Are there any specifiic CACTI.PHP requirements?
Thanks.
also getting nothing on the page when loading browser
I also get a blank page when going to my cacti site. I can snmpwalk my server, but when I manually run poller it does nothing as well. I'm using php for other pages on the server and it works.
Also, if I comment out the include auth.php in index.php it does load the header, so php's working somewhat, just choking on auth.php or somewhere within there (config.php?)
--alex
Also, if I comment out the include auth.php in index.php it does load the header, so php's working somewhat, just choking on auth.php or somewhere within there (config.php?)
--alex
cacti homepage not loading, FC6
I'm also experiencing the same issue. I also installed from the "Lee Carter" document. I've built the server several different ways, all with the same result.
PHP is installed and working. I can access a phpinfo query, I can load the cacti documentation html files via the browser, no issues there.
I can log into mysql via the cacti user and dump the cactidb database.
I can snmpwalk any given device.
There's just no output on the screen for any cacti-specific .php document accessed via the browser. It is the same behavior on the cacti server iteself (localhost access) and remotely.
Here's some more specific information:
uname:
Linux 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux
PHP: 5.1.6, via system CD/build
Apache: 2.2.3: via system CD/build
Net-SNMP: 5.4 source build
rrdtool: 1.2.23 source build
mysql: 5.0.41 source build
I've been using Cacti for several years now and this is the first I've encountered this particular issue.
I'm willing to work with this. Can anyone shed some light on this behavior? It would appear that it is not isolated to just one user.
PHP is installed and working. I can access a phpinfo query, I can load the cacti documentation html files via the browser, no issues there.
I can log into mysql via the cacti user and dump the cactidb database.
I can snmpwalk any given device.
There's just no output on the screen for any cacti-specific .php document accessed via the browser. It is the same behavior on the cacti server iteself (localhost access) and remotely.
Here's some more specific information:
uname:
Linux 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux
PHP: 5.1.6, via system CD/build
Apache: 2.2.3: via system CD/build
Net-SNMP: 5.4 source build
rrdtool: 1.2.23 source build
mysql: 5.0.41 source build
I've been using Cacti for several years now and this is the first I've encountered this particular issue.
I'm willing to work with this. Can anyone shed some light on this behavior? It would appear that it is not isolated to just one user.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please take the lib/database.php from the SVN BRANCH_0_8_6 and install it in place of the existing, then refresh your page. See if you receive more informative information.
Also, how did you "all" install Cacti? Please post versions of everything:
Mysql
php
php-mysql
php-snmp
Apache
Cacti
Patches?
TheWitness
Also, how did you "all" install Cacti? Please post versions of everything:
Mysql
php
php-mysql
php-snmp
Apache
Cacti
Patches?
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
[resolved] not-updating, no cacti web pages appear
It would appear that the problem with no web pages being displayed/loaded for Cacti is the fact that when building from the FC6 disks (or likely any other FCx disks) depending on the build options selected, PHP is not built with MySQL support. This the default build behavior for PHP 5.x
"MySQL is not enabled by default, nor is the MySQL library bundled with PHP"
Links on the issue are here:
http://us.php.net/mysql
http://us.php.net/manual/en/faq.databas ... mysql.php5
I built a system a couple times to establish this behavior. For those having issues, create a file called phpinfo.php and save it into your web server DocumentRoot location. Include the following in the file:
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
When executed from the browser, you should see a list of build options for PHP. If you do not see the --wtih-mysql=/somepath option in the "configure command" field or if you see --without-mysql, then that is likely the reason why you are experiencing the problem.
A rebuild/recomple of PHP with the --with-mysql=/somepath option correctly configured resolved the issue for me.
In fact, I source-built a run-level 3-only (no X, Gnome/KDE) system from the FC6 CDs with no issues.
It's fairly straightforward and I can provide the details upon request.
Regards,
Bruce
"MySQL is not enabled by default, nor is the MySQL library bundled with PHP"
Links on the issue are here:
http://us.php.net/mysql
http://us.php.net/manual/en/faq.databas ... mysql.php5
I built a system a couple times to establish this behavior. For those having issues, create a file called phpinfo.php and save it into your web server DocumentRoot location. Include the following in the file:
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
When executed from the browser, you should see a list of build options for PHP. If you do not see the --wtih-mysql=/somepath option in the "configure command" field or if you see --without-mysql, then that is likely the reason why you are experiencing the problem.
A rebuild/recomple of PHP with the --with-mysql=/somepath option correctly configured resolved the issue for me.
In fact, I source-built a run-level 3-only (no X, Gnome/KDE) system from the FC6 CDs with no issues.
It's fairly straightforward and I can provide the details upon request.
Regards,
Bruce
Who is online
Users browsing this forum: No registered users and 6 guests