New Linux Install. Blank screen after install

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

Moderators: Developers, Moderators

Post Reply
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

New Linux Install. Blank screen after install

Post by apperrault »

Hi all,
I am setting up a new Linux install, and I think i am close to getting this to work. But for some reason, when i go to http://SERVER/cacti/ all i get is a blank page. I reviewed the information here: http://forums.cacti.net/viewtopic.php?t=28593 and it looks like we are having the same problem. Here is the info i gathered, based on what savagehobo provided.

OS: RHEL4
Cacti Location: /var/www/cacti
Apache Location: /var/www

[root@vm-rh-cacti ~]# ls -alF /var/www/
total 64
drwxr-xr-x 8 root root 4096 Sep 25 08:16 ./
drwxr-xr-x 17 root root 4096 Sep 22 16:19 ../
drwxr-xr-x 12 apache apache 4096 Sep 30 13:44 cacti/
drwxr-xr-x 2 root root 4096 May 9 02:56 cgi-bin/
drwxr-xr-x 3 root root 4096 Sep 22 16:19 error/
drwxr-xr-x 2 root root 4096 May 9 02:56 html/
drwxr-xr-x 3 root root 4096 Sep 22 16:20 icons/
drwxr-xr-x 2 root root 4096 Sep 22 16:19 mrtg/

[root@vm-rh-cacti ~]# ls -alF /var/www/cacti/
total 1112
drwxr-xr-x 12 apache apache 4096 Sep 30 13:44 ./
drwxr-xr-x 8 root root 4096 Sep 25 08:16 ../
-rw-r--r-- 1 apache apache 6387 Feb 11 2008 about.php
-rw-r--r-- 1 apache apache 4612 Feb 11 2008 auth_changepassword.php
-rw-r--r-- 1 apache apache 11498 Feb 11 2008 auth_login.php
-rw-r--r-- 1 apache apache 124294 Feb 11 2008 cacti.sql
-rw-r--r-- 1 apache apache 12960 Feb 11 2008 cdef.php
drwxr-xr-x 2 apache apache 4096 Sep 25 08:16 cli/
-rw-r--r-- 1 apache apache 18369 Feb 11 2008 cmd.php
-rw-r--r-- 1 apache apache 5765 Feb 11 2008 color.php
-rw-r--r-- 1 apache apache 23279 Feb 11 2008 data_input.php
-rw-r--r-- 1 apache apache 33923 Feb 11 2008 data_queries.php
-rw-r--r-- 1 apache apache 49265 Feb 11 2008 data_sources.php
-rw-r--r-- 1 apache apache 31304 Feb 11 2008 data_templates.php
drwxr-xr-x 4 apache apache 4096 Sep 25 08:16 docs/
-rw-r--r-- 1 apache apache 5958 Feb 11 2008 gprint_presets.php
-rw-r--r-- 1 apache apache 3404 Feb 11 2008 graph_image.php
-rw-r--r-- 1 apache apache 11550 Feb 11 2008 graph.php
-rw-r--r-- 1 apache apache 7716 Feb 11 2008 graph_settings.php
-rw-r--r-- 1 apache apache 13828 Feb 11 2008 graphs_items.php
-rw-r--r-- 1 apache apache 37125 Feb 11 2008 graphs_new.php
-rw-r--r-- 1 apache apache 50544 Feb 11 2008 graphs.php
-rw-r--r-- 1 apache apache 9945 Feb 11 2008 graph_templates_inputs.php
-rw-r--r-- 1 apache apache 18482 Feb 11 2008 graph_templates_items.php
-rw-r--r-- 1 apache apache 25042 Feb 11 2008 graph_templates.php
-rw-r--r-- 1 apache apache 29052 Feb 11 2008 graph_view.php
-rw-r--r-- 1 apache apache 5758 Feb 11 2008 graph_xport.php
-rw-r--r-- 1 apache apache 50228 Feb 11 2008 host.php
-rw-r--r-- 1 apache apache 18045 Feb 11 2008 host_templates.php
drwxr-xr-x 2 apache apache 4096 Sep 25 08:16 images/
drwxr-xr-x 5 apache apache 4096 Sep 30 13:58 include/
-rw-r--r-- 1 apache apache 2242 Feb 11 2008 index.php
drwxr-xr-x 2 apache apache 4096 Sep 25 08:16 install/
drwxr-xr-x 3 apache apache 4096 Sep 25 08:16 lib/
drwxr-xr-x 2 cactiuser apache 4096 Sep 25 08:16 log/
-rw-r--r-- 1 apache apache 2451 Feb 11 2008 logout.php
-rw-r--r-- 1 apache apache 4306 Feb 11 2008 poller_commands.php
-rw-r--r-- 1 apache apache 2243 Feb 11 2008 poller_export.php
-rw-r--r-- 1 apache apache 14960 Feb 11 2008 poller.php
drwxr-xr-x 5 apache apache 4096 Sep 25 08:16 resource/
drwxr-xr-x 2 cactiuser apache 4096 Sep 25 08:16 rra/
-rw-r--r-- 1 apache apache 7084 Feb 11 2008 rra.php
drwxr-xr-x 2 apache apache 4096 Sep 25 08:16 scripts/
-rw-r--r-- 1 apache apache 7304 Feb 11 2008 script_server.php
-rw-r--r-- 1 apache apache 4996 Feb 11 2008 settings.php
-rw-r--r-- 1 apache apache 6667 Feb 11 2008 templates_export.php
-rw-r--r-- 1 apache apache 6524 Feb 11 2008 templates_import.php
-rw-r--r-- 1 apache apache 20 Sep 30 13:44 test.php
-rw-r--r-- 1 apache apache 17835 Feb 11 2008 tree.php
-rw-r--r-- 1 apache apache 41776 Feb 11 2008 user_admin.php
-rw-r--r-- 1 apache apache 48852 Feb 11 2008 utilities.php

When I have created a test.php file and it looks as though PHP is working. I can view that from my web browser, but none of the cacti pages are working. Anyone have any thoughts?

Thanks much
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Never mind. I fixed it. I had pointed to the wrong location for the php files. All is good now. Now i need to install PIA!!!

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

OK, another problem. i installed PIA and changed the owner on all of the files, to what i thought it should be and i am now getting access denied on any cacti page. i have tried CHOWNing to Root, Apache and Cactiuser, but i get the same results every time.

Any thoughts?

app
Ateo
Posts: 26
Joined: Fri Sep 26, 2008 1:07 pm
Location: http://reno.nevada.u$

Post by Ateo »

Maybe the users you've tried isn't the user that owns the apache service (when running). Check your httpd.conf file and make sure your user/group matches the actual owners.

On ubuntu systems, the apache user/group is www-data, while on Gentoo, the default apache user/group is apache. Other distros might make the same apache change to use a different username/groupname.

Just a thought.
virtuoz
Posts: 2
Joined: Fri Feb 20, 2009 4:39 am

Post by virtuoz »

apperrault wrote:Never mind. I fixed it. I had pointed to the wrong location for the php files. All is good now. Now i need to install PIA!!!

app
Can you say the details how you solved this problem with blank page ?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests