I've a problem with cmd.php.
Cacti 0.6.8 is on a RedHat 7.3 with
PHP 4.2.1 (with mysql / ucd-snmp)
Apache 1.3.24 (ssl / php / mysql)
rrdtool 1.0.37
mysql 3.23.49 with DBI, DBD, ShowTable, Dumper
php.ini has register_globals=On and register_argc_argv=On (file attribute 777)
log/rrd.log seems to be correct, in rra/ I've some rrd files but i obtain only empty graph.
Some ideas?
This is the output I got when i run cmd.php.
X-Powered-By: PHP/4.2.1
Content-type: text/html
PHP Notice: Undefined variable: database in /usr/local/apache/htdocs/cacti/include/database.php on line 17
PHP Notice: Undefined variable: do_not_read_config in /usr/local/apache/htdocs/cacti/include/config.php on line 38
PHP Notice: Undefined variable: database in /usr/local/apache/htdocs/cacti/include/database.php on line 17
PHP Notice: Undefined variable: do_not_read_config in /usr/local/apache/htdocs/cacti/include/config.php on line 38
PHP Notice: Undefined variable: database in /usr/local/apache/htdocs/cacti/include/database.php on line 17
PHP Notice: Undefined variable: do_not_read_config in /usr/local/apache/htdocs/cacti/include/config.php on line 38
cmd.php error
Moderators: Developers, Moderators
I tried but still don't work.... I've rebuilded php, i 've moved snmp mibs but nothing changed. (Sorry for my awful english)
It seems to be something wrong with php. All the variabiles in the files called after cmd.php result "undeclared".
I've txt mibs in /usr/share/snmp/mibs and in /usr/snmp/mibs
Running PHP 4.2.1
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
[PHP Modules]
xml
standard
snmp
session
posix
pcre
openssl
mysql
ctype
snmp
UCD-SNMP Support enabled
UCD-SNMP Version 4.2.4
I'm so stupid!
It seems to be something wrong with php. All the variabiles in the files called after cmd.php result "undeclared".
I've txt mibs in /usr/share/snmp/mibs and in /usr/snmp/mibs
Running PHP 4.2.1
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
[PHP Modules]
xml
standard
snmp
session
posix
pcre
openssl
mysql
ctype
snmp
UCD-SNMP Support enabled
UCD-SNMP Version 4.2.4
I'm so stupid!
Who is online
Users browsing this forum: No registered users and 1 guest