Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Problems in Ubuntu Server 8 with gd library

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
pirapp



Joined: 28 Mar 2007
Posts: 12

PostPosted: Tue May 20, 2008 3:51 pm    Post subject: Problems in Ubuntu Server 8 with gd library Reply with quote

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

PostPosted: Tue May 20, 2008 5:38 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group