From owner-freebsd-questions@FreeBSD.ORG Thu Oct 26 10:19:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A25AC16A4D1 for ; Thu, 26 Oct 2006 10:19:31 +0000 (UTC) (envelope-from riccardo.diago@pharmaidea.com) Received: from ph-mailbox.pharmaidea.com (81-208-118-135.ip.fastwebnet.it [81.208.118.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECFFB43D4C for ; Thu, 26 Oct 2006 10:19:30 +0000 (GMT) (envelope-from riccardo.diago@pharmaidea.com) Received: from [192.168.2.50] (helo=[192.168.2.50]) by ph-mailbox.pharmaidea.com with esmtp (Exim 4.43) id 1Gd2Kj-0001qJ-Bw for freebsd-questions@freebsd.org; Thu, 26 Oct 2006 12:19:33 +0200 Message-ID: <45408BA8.90908@pharmaidea.com> Date: Thu, 26 Oct 2006 12:19:20 +0200 From: riccardo_diago User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060725) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: freebsd-questions X-Enigmail-Version: 0.92.1.0 OpenPGP: id=1323FB83 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBA2408AA67EE8DE5717CE37A" X-SA-Exim-Connect-IP: 192.168.2.50 X-SA-Exim-Mail-From: riccardo.diago@pharmaidea.com X-SA-Exim-Scanned: No (on ph-mailbox.pharmaidea.com); SAEximRunCond expanded to false Subject: Cacti Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 10:19:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBA2408AA67EE8DE5717CE37A Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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 wheel 5892 Oct 26 08:52 about.php -rw-r--r-- 1 root wheel 4773 Oct 26 08:52 auth_changepassword.php -rw-r--r-- 1 root wheel 6189 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 wheel 5917 Oct 26 08:52 color.php -rw-r--r-- 1 root wheel 2753 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 wheel 6110 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 wheel 3423 Oct 26 08:52 graph_image.php -rw-r--r-- 1 root wheel 6319 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 wheel 1536 Oct 26 08:52 images drwxr-xr-x 5 root wheel 512 Oct 26 08:52 include -rw-r--r-- 1 root wheel 2271 Oct 26 08:52 index.php drwxr-xr-x 2 root wheel 512 Oct 26 08:52 install drwxr-xr-x 3 root wheel 1024 Oct 26 08:52 lib drwxr-xr-x 2 cacti cacti 512 Oct 26 08:52 log -rw-r--r-- 1 root wheel 1796 Oct 26 08:52 logout.php drwxr-xr-x 2 root wheel 512 Oct 26 08:52 plugins -rw-r--r-- 1 root wheel 9491 Oct 26 08:52 poller.php -rw-r--r-- 1 root wheel 4673 Oct 26 08:52 poller_commands.php -rw-r--r-- 1 root wheel 2325 Oct 26 08:52 poller_export.php -rw-r--r-- 1 root wheel 4343 Oct 26 08:52 poller_reindex_hosts.php -rw-r--r-- 1 root wheel 4170 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 wheel 6622 Oct 26 08:52 rra.php -rw-r--r-- 1 root wheel 6760 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 wheel 1024 Oct 26 08:52 scripts -rw-r--r-- 1 root wheel 4833 Oct 26 08:52 settings.php -rw-r--r-- 1 root wheel 6813 Oct 26 08:52 templates_export.php -rw-r--r-- 1 root wheel 5954 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/" Options +FollowSymLinks AllowOverride None order allow,deny allow from all 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 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. --------------enigBA2408AA67EE8DE5717CE37A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFFQIuwxr1SyxMj+4MRAoeZAJ4qJzG2cejDN3DxyF0ueYyUAk59+gCdETr0 jC9dU0UO9e0RQL+6BQiS2Dw= =rrWQ -----END PGP SIGNATURE----- --------------enigBA2408AA67EE8DE5717CE37A--