Problem with installation Weathermap on Debian

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
PiotrK
Posts: 2
Joined: Mon Mar 23, 2009 10:26 am

Problem with installation Weathermap on Debian

Post by PiotrK »

:cry:
Version 0.95b
OS: Debian 5.0

# pear list

I try to use Weathermap as stand alone.
but I have some problems witch php pear
Do anyone have any idea ?
:P

# pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Console_Getopt 1.2.3 stable
PEAR 1.7.1 stable
Structures_Graph 1.0.2 stable

# php ./check.php

----------------------------------------------------
Weathermap Pre-Install Checker

This script checks for some common problems with your PHP and server
environment that may stop Weathermap or the Editor from working.

NOTE: You should run this script as both a web page AND from the
command-line, as the environment can be different in each.

This is the PHP version that is responsible for
* creating maps from the Cacti poller
* the command-line weathermap tool

PHP Basics
----------
This is PHP Version 5.2.6-1+lenny2 running on "Linux debekB 2.6.26-1-686 #1
SMP Sat Jan 10 18:29:31 UTC 2009 i686" with a memory_limit of '32M'.

The php.ini file was /etc/php5/cli
The following additional ini files were read: /etc/php5/cli/conf.d/gd.ini,
/etc/php5/cli/conf.d/mysql.ini,
/etc/php5/cli/conf.d/mysqli.ini,
/etc/php5/cli/conf.d/pdo.ini,
/etc/php5/cli/conf.d/pdo_mysql.ini,
/etc/php5/cli/conf.d/snmp.ini


PHP Functions
-------------
Some parts of Weathermap need special support in your PHP
installation to work.

This PHP uses the system GD library, which MIGHT have alpha-blending bugs.
Check that you have at least GD 2.0.34 installed, if you see problems with
weathermap segfaulting.
You can test for this specific fault by running check-gdbug.php

The Console_Getopt PEAR module is not available. The CLI weathermap tool
will not run without it (that may not be a problem, if you only intend to
use Cacti).

imagepng YES
imagecreatetruecolor YES
imagealphablending YES
imageSaveAlpha YES
preg_match YES
imagecreatefrompng YES
imagecreatefromjpeg YES
imagecreatefromgif YES
imagejpeg YES
imagegif YES
imagefilter NO Non-Critical. This is required for colorizing
icons. It is a special function of the
PHP-supplied GD library ONLY (not the external GD
library that you are using).
imagecopyresampled YES
imagettfbbox YES
memory_get_usage YES

If these functions are not found, you may need to
* check that the 'extension=' line for that extension is uncommented in
your php.ini file (then restart your webserver), or
* install the extension, if it isn't installed already

The details of how this is done will depend on your operating system, and
on where you installed (or compiled) your PHP from originally. Usually, you
would install an RPM, or other package on Linux systems, a port on *BSD, or
a DLL on Windows. If you build PHP from source, you need to add extra
options to the './configure' line. Consult your PHP documention for more
information.

---------------------------------------------------------------------
Some features of Weathermap will not be available to you, due to lack of
support in your PHP installation. You can still proceed with Weathermap
though.
#
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Is there some ridiculous debian thing like pear-cli and pear-www? :roll:

If you run php -i and pear config-show does the PEAR directory from the second one match up with the PEAR directory in the include_path of the first one?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
PiotrK
Posts: 2
Joined: Mon Mar 23, 2009 10:26 am

Post by PiotrK »

Thank You
I'd change include_path
in /etc/php5/cli/php.ini

And Now Weathermap starts to WORK.

:D :D :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest