Re: Cacti Problem

2006-10-27 Thread Riemer Palstra
On Thu, Oct 26, 2006 at 12:19:20PM +0200, riccardo_diago wrote:
 An error occurred while loading http://server.com/cacti: Connection
 to host server.com is broken.

What do the error logs say? This could be anything from a simple
configuration mistake to (mod_)php segfaulting...

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cacti Problem

2006-10-26 Thread riccardo_diago
Hi guys,
I got a problem installing cacti on Freebsd 6.1 on sparc.
I did:
1. download and install from port net/cacti
2. check if mysql was running
3. I did all the steps u find in cacti/docs/INSTALL (except for the
default user that is 'cacti' and not 'cactiuser')
4. check permissions on rra and log dir
-BEGIN DUMP this is a dump of my cacti dir---


-rw-r--r--   1 root   wheel   15141 Oct 26 08:52 LICENSE
-rw-r--r--   1 root   wheel  71 Oct 26 08:52 README
-rw-r--r--   1 root   wheel5892 Oct 26 08:52 about.php
-rw-r--r--   1 root   wheel4773 Oct 26 08:52 auth_changepassword.php
-rw-r--r--   1 root   wheel6189 Oct 26 08:52 auth_login.php
-rw---   1 root   wheel  170643 Oct 26 08:52 cacti.sql
-rw-r--r--   1 root   wheel   13108 Oct 26 08:52 cdef.php
-rw-r--r--   1 root   wheel   16569 Oct 26 08:52 cmd.php
-rw-r--r--   1 root   wheel5917 Oct 26 08:52 color.php
-rw-r--r--   1 root   wheel2753 Oct 26 08:52 copy_cacti_user.php
-rw-r--r--   1 root   wheel   17536 Oct 26 08:52 data_input.php
-rw-r--r--   1 root   wheel   28164 Oct 26 08:52 data_queries.php
-rw-r--r--   1 root   wheel   44092 Oct 26 08:52 data_sources.php
-rw-r--r--   1 root   wheel   30344 Oct 26 08:52 data_templates.php
drwxr-xr-x   5 root   wheel 512 Oct 26 08:52 docs
-rw-r--r--   1 root   wheel6110 Oct 26 08:52 gprint_presets.php
-rw-r--r--   1 root   wheel   10498 Oct 26 08:52 graph.php
-rw-r--r--   1 root   wheel3423 Oct 26 08:52 graph_image.php
-rw-r--r--   1 root   wheel6319 Oct 26 08:52 graph_settings.php
-rw-r--r--   1 root   wheel   22578 Oct 26 08:52 graph_templates.php
-rw-r--r--   1 root   wheel   10097 Oct 26 08:52 graph_templates_inputs.php
-rw-r--r--   1 root   wheel   17367 Oct 26 08:52 graph_templates_items.php
-rw-r--r--   1 root   wheel   23122 Oct 26 08:52 graph_view.php
-rw-r--r--   1 root   wheel   46835 Oct 26 08:52 graphs.php
-rw-r--r--   1 root   wheel   11945 Oct 26 08:52 graphs_items.php
-rw-r--r--   1 root   wheel   30802 Oct 26 08:52 graphs_new.php
-rw-r--r--   1 root   wheel   33450 Oct 26 08:52 host.php
-rw-r--r--   1 root   wheel   14236 Oct 26 08:52 host_templates.php
drwxr-xr-x   2 root   wheel1536 Oct 26 08:52 images
drwxr-xr-x   5 root   wheel 512 Oct 26 08:52 include
-rw-r--r--   1 root   wheel2271 Oct 26 08:52 index.php
drwxr-xr-x   2 root   wheel 512 Oct 26 08:52 install
drwxr-xr-x   3 root   wheel1024 Oct 26 08:52 lib
drwxr-xr-x   2 cacti  cacti 512 Oct 26 08:52 log
-rw-r--r--   1 root   wheel1796 Oct 26 08:52 logout.php
drwxr-xr-x   2 root   wheel 512 Oct 26 08:52 plugins
-rw-r--r--   1 root   wheel9491 Oct 26 08:52 poller.php
-rw-r--r--   1 root   wheel4673 Oct 26 08:52 poller_commands.php
-rw-r--r--   1 root   wheel2325 Oct 26 08:52 poller_export.php
-rw-r--r--   1 root   wheel4343 Oct 26 08:52 poller_reindex_hosts.php
-rw-r--r--   1 root   wheel4170 Oct 26 08:52 rebuild_poller_cache.php
drwxr-xr-x   5 root   wheel 512 Oct 26 08:52 resource
drwxr-xr-x   2 cacti  cacti 512 Oct 26 08:52 rra
-rw-r--r--   1 root   wheel6622 Oct 26 08:52 rra.php
-rw-r--r--   1 root   wheel6760 Oct 26 08:52 script_server.php
-rw-r--r--   1 root   wheel 353 Oct 26 08:52 script_server.pl
drwxr-xr-x   2 root   wheel1024 Oct 26 08:52 scripts
-rw-r--r--   1 root   wheel4833 Oct 26 08:52 settings.php
-rw-r--r--   1 root   wheel6813 Oct 26 08:52 templates_export.php
-rw-r--r--   1 root   wheel5954 Oct 26 08:52 templates_import.php
-rw-r--r--   1 root   wheel   17463 Oct 26 08:52 tree.php
-rw-r--r--   1 root   wheel   27829 Oct 26 08:52 user_admin.php
-rw-r--r--   1 root   wheel   11480 Oct 26 08:52 utilities.php
END DUMP 

5. add these lines to Apache22:

Alias /cacti /usr/local/share/cacti/
DirectoryMatch /usr/local/share/cacti/

Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
IfModule mod_php4.c
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .

DirectoryIndex index.php
/IfModule
/DirectoryMatch

6. Finally I went to the web browser and I saw this message:

An error occurred while loading http://server.com/cacti:
Connection to host server.com is broken.

There is anybody can help me out w/ that?

thanks a lot in advance.

Rik.




signature.asc
Description: OpenPGP digital signature


Re: Cacti Problem

2006-10-26 Thread Andrew Pantyukhin

On 10/26/06, riccardo_diago [EMAIL PROTECTED] wrote:

An error occurred while loading http://server.com/cacti:
Connection to host server.com is broken.


This sounds like a problem with network and/or apache,
irrelevant to cacti.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]