2.設置mysql create database cacti; grant all privileges on cacti.* to cacti identified by 'taiyu'; grant all privileges on cacti.* to cacti@localhost identified by 'taiyu';
這裡的測試,不知道怎麼會事,正常的在下面,我應該怎麼解決呢? # php /var/www/html/cacti/poller.php No log handling enabled - turning on stderr logging Cannot find module (NONE): At line 0 in (none) 04/30/2008 01:51:18 PM - SYSTEM STATS: Time:1.0568 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:5 RRDsProcessed:5 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 OK u:0.00 s:0.00 r:1.01 No log handling enabled - turning on stderr logging Cannot find module (NONE): At line 0 in (none) No log handling enabled - turning on stderr logging Cannot find module (NONE): At line 0 in (none)
下面的是正常的 No log handling enabled - turning on stderr logging Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) OK u:0.00 s:0.02 r:1.10 Cannot find module (NONE): At line 0 in (none) OK u:0.00 s:0.03 r:1.15 OK u:0.00 s:0.03 r:1.15 OK u:0.00 s:0.03 r:1.15 OK u:0.00 s:0.03 r:1.16 OK u:0.00 s:0.03 r:1.16 OK u:0.00 s:0.04 r:1.16 OK u:0.00 s:0.04 r:1.16 OK u:0.00 s:0.04 r:1.17 OK u:0.00 s:0.04 r:1.17 Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) Cannot find module (NONE): At line 0 in (none) OK u:0.00 s:0.04 r:2.13 OK u:0.00 s:0.04 r:2.13 OK u:0.00 s:0.05 r:2.15 OK u:0.00 s:0.05 r:2.15 OK u:0.00 s:0.05 r:2.17 OK u:0.00 s:0.05 r:2.17 OK u:0.00 s:0.05 r:2.18 OK u:0.00 s:0.05 r:2.18 OK u:0.00 s:0.05 r:2.20 OK u:0.00 s:0.05 r:2.20 OK u:0.00 s:0.05 r:2.21 OK u:0.00 s:0.06 r:2.21 OK u:0.00 s:0.06 r:2.23 OK u:0.00 s:0.06 r:2.23 OK u:0.00 s:0.06 r:2.24 OK u:0.00 s:0.06 r:2.24 OK u:0.01 s:0.06 r:2.26 OK u:0.01 s:0.06 r:2.26 OK u:0.01 s:0.06 r:2.27 OK u:0.01 s:0.06 r:2.27 Content-type: text/html X-Powered-By: PHP/4.3.9