Chinaunix首页 | 论坛 | 博客
  • 博客访问: 236026
  • 博文数量: 57
  • 博客积分: 1149
  • 博客等级: 少尉
  • 技术积分: 584
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-29 11:35
文章分类

全部博文(57)

文章存档

2016年(1)

2014年(1)

2013年(2)

2012年(27)

2011年(26)

分类: LINUX

2011-11-01 13:30:44

错误安装之后没有图像,进入rra目录发现根本没有生成rra文件,而且rra目录的权限是正确的。

那么php poller.php根本就没有生效,google了以下,老外建议使用debug查看原因

/usr/local/php5/bin/php -q /usr/share/cacti/poller.php --force --debug

我这里的报错是

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/dbase.so' - /etc/php.d/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/mysql.so' - /etc/php.d/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/mysqli.so' - /etc/php.d/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo.so' - /etc/php.d/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_mysql.so' - /etc/php.d/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_sqlite.so' - /etc/php.d/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0

08/10/2011 03:56:30 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/usr/share/cacti/cmd.php" 1 1]

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/dbase.so' - /etc/php.d/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/mysql.so' - /etc/php.d/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/mysqli.so' - /etc/php.d/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo.so' - /etc/php.d/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_mysql.so' - /etc/php.d/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_sqlite.so' - /etc/php.d/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0

 

 

证明php的so文件没有加载成功。我将/usr/lib64/php/modules下的文件全部拷贝到了/etc/php.d下就可以使用了

阅读(2215) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~