nagios安装pnp、rrdtool报错总结

  1.安装rrdtool的时候报错:

   解决方法:yum -y install zlib zlib-devel

                       yum -y install libpng libpng-devel

                       yum -y install freetype freetype-devel

                      yum -y install libart_lgpl libart_lgpl-devel

                      yum -y install libxml2 libxml2-devel

                      yum -y install gd gd-devel

                      yum -y install cairo cairo-devel

                     yum -y install pango pango-devel

当然可能也会因为少一个安装软件而导致这样的错误,比如我安装的时候就报这个错:

很显然上面说找不到libxml2,那只需要yum -y install libxml2 libxml2-devel就可以了

2.第一访问pnp的时候报下面的错:

解决方法:yum -y install php-gd

你可能感兴趣的:(报错,nagios,rrdtool,pnp)