|
|
| Author |
Message |
pirapp
Joined: 28 Mar 2007 Posts: 12
|
Posted: Tue May 20, 2008 3:51 pm Post subject: Problems in Ubuntu Server 8 with gd library |
|
|
Hi.
I have installed the latest version of cacti with Ubuntu server 8. Cacti is running without a problem. But I can't make work Weathermap, because there is a problem with the GD library. I get an error in the Weathermap editor that the gd library isn't install.
I have already downloaded the libgd-xpm, php5-gd, libjpeg and the libpng, from aptitude.
I also downloaded the gd package from the site gd library site and compile it.
I'm run out of ideas.
Hope someone can help, please.
Thanks. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue May 20, 2008 5:38 pm Post subject: |
|
|
Be aware that on Debian and Ubuntu there are TWO different installs for php - one for command-line and one for the web server - and weathermap uses both. If you run check.php (in the weathermap folder) from the shell. you'll see that it uses /etc/php/cli/php.ini (or something like that), and if you go to http://www.yourserver.com/cacti/plugins/weathermap/check.php, you'll see that it uses /etc/php/httpd/php.ini.
I don't remember the exact paths, but check.php will tell you. Both of those need to have the extension= line, and the output from both check.php (web and shell) should show you no errors.
Also, run check-gd.php because some versions of Ubuntu have a buggy GD library too. Hopefully that is fixed in 8, but certainly Edgy (6) had this problem. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|