Why do characters mising in some graph?
Moderators: Developers, Moderators
Why do characters mising in some graph?
Operating System: win2003 std sp1
Webserver: apache 2.0.58
Cacti: 0.8.6j
Cactid:0.8.6f
MySQL: 4.1
PHP: 4.4.2
RRDTool (Cygwin or Win32 version): 1.2.13
Net-SNMP: 5.3.0.1
Cygwin (cygwin1.dll version): 1.5.19
the graph has post in
http://forums.cacti.net/viewtopic.php?p=109149#109149
Webserver: apache 2.0.58
Cacti: 0.8.6j
Cactid:0.8.6f
MySQL: 4.1
PHP: 4.4.2
RRDTool (Cygwin or Win32 version): 1.2.13
Net-SNMP: 5.3.0.1
Cygwin (cygwin1.dll version): 1.5.19
the graph has post in
http://forums.cacti.net/viewtopic.php?p=109149#109149
This is a problem I've experienced with older php versions. Upgrade to 5.2.3.
As for your permission problems, read my FAQ -- you need to reset NTFS security on your cacti files.
As for your permission problems, read my FAQ -- you need to reset NTFS security on your cacti files.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
i upgrade php to 5.2.3,the characters is ok.
but there is a new problem.
i can't get new data,graph can't display new data,i can create new graph,rrdtool says ok,but no data can upgrade
i find the cmdphp's time in log is not corrected.
but there is a new problem.
i can't get new data,graph can't display new data,i can create new graph,rrdtool says ok,but no data can upgrade
i find the cmdphp's time in log is not corrected.
- Attachments
-
- 111.GIF (16.34 KiB) Viewed 3194 times
-
- new graph
- 222.GIF (19.77 KiB) Viewed 3194 times
-
- svchost.txt
- php c:\windows\system32\svchost.exe display
- (5.42 KiB) Downloaded 341 times
-
- cactilog.txt
- cacti debug log
- (114.27 KiB) Downloaded 233 times
read through http://forums.cacti.net/viewtopic.php?t=11747
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1) how did you upgrade php?
2) read my faq (link in signature) on how to fix the cmd.php logic bug.
2) read my faq (link in signature) on how to fix the cmd.php logic bug.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1.rename c:\php to c:\php4
2.upzip php-5.2.3-Win32.zip to c:\php
3.MIBDIRS=c:\php\extras\mibs
4.rename c:\php\php.ini.dist to php.ini
5.add/uncomment
extension_dir = c:\php\ext
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
cgi.force_redirect = 0
6.copy php.ini to c:\windows
7.Edit the httpd.conf file,del LoadModule php4_module c:\php\sapi\php4apache2.dll,past LoadModule php5_module c:\php\php5apache2.dll
8.restart apache
today
1.i add
register_argc_argv = On
safe_mode = Off
cgi.force_redirect = 0
upload_tmp_dir = "C:\PHP\Uploadtemp"
session.save_path="C:\PHP\Session"
to php.ini,and Change NTFS permissions on C:\PHP\Uploadtemp and C:\PHP\Session to grant Modify rights to the Users for only files in the directory.
2.i update cactid to 0.8.6i,rrdtool to 1.2.15
Cacti Version 0.8.6j
Plugin Architecture 1.1
Poller Type Cactid v0.8.6i
Server Info Windows NT 5.2
Web Server Apache/2.0.58 (Win32) PHP/5.2.3
PHP Version 5.2.3
PHP Extensions bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, gd, mysql, snmp, sockets
MySQL Version 4.1.20-community-nt
RRDTool Version 1.2.15
3.use Cacti-Security script to reset NTFS permissions.
4.change cmd.php line49 to if (version_compare("5.2.0", PHP_VERSION, ">=")) {
the problem is still no solved.
i find my debug log,\,there is a lot of "EBUG: SQL Exec: "delete from poller_output where....",is it correctly?
the cmdphp's time and cactid's time is not match,is it correctly?
thanks for your help!BSOD
2.upzip php-5.2.3-Win32.zip to c:\php
3.MIBDIRS=c:\php\extras\mibs
4.rename c:\php\php.ini.dist to php.ini
5.add/uncomment
extension_dir = c:\php\ext
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
cgi.force_redirect = 0
6.copy php.ini to c:\windows
7.Edit the httpd.conf file,del LoadModule php4_module c:\php\sapi\php4apache2.dll,past LoadModule php5_module c:\php\php5apache2.dll
8.restart apache
today
1.i add
register_argc_argv = On
safe_mode = Off
cgi.force_redirect = 0
upload_tmp_dir = "C:\PHP\Uploadtemp"
session.save_path="C:\PHP\Session"
to php.ini,and Change NTFS permissions on C:\PHP\Uploadtemp and C:\PHP\Session to grant Modify rights to the Users for only files in the directory.
2.i update cactid to 0.8.6i,rrdtool to 1.2.15
Cacti Version 0.8.6j
Plugin Architecture 1.1
Poller Type Cactid v0.8.6i
Server Info Windows NT 5.2
Web Server Apache/2.0.58 (Win32) PHP/5.2.3
PHP Version 5.2.3
PHP Extensions bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, gd, mysql, snmp, sockets
MySQL Version 4.1.20-community-nt
RRDTool Version 1.2.15
3.use Cacti-Security script to reset NTFS permissions.
4.change cmd.php line49 to if (version_compare("5.2.0", PHP_VERSION, ">=")) {
the problem is still no solved.
i find my debug log,\,there is a lot of "EBUG: SQL Exec: "delete from poller_output where....",is it correctly?
the cmdphp's time and cactid's time is not match,is it correctly?
thanks for your help!BSOD
- Attachments
-
- cacti2.txt
- debug log
- (151.31 KiB) Downloaded 326 times
1) Have you patched cacti yet? If not, you must do so
2) Read through my installation guide (in signature).
3) run: php -m and paste the output.
4) Keep php.ini in your c:\php directory. remove all other instances of php.ini (and other php files) from your system. Looks like you told apache to use the php 4 dll?
5) I strongly suggest you use cmd.php until you get everything working -- then switch to cactid.
2) Read through my installation guide (in signature).
3) run: php -m and paste the output.
4) Keep php.ini in your c:\php directory. remove all other instances of php.ini (and other php files) from your system. Looks like you told apache to use the php 4 dll?
5) I strongly suggest you use cmd.php until you get everything working -- then switch to cactid.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1.i have patched cacti
2.i have read your installation guide,and check my configration
3.php -m
C:\Documents and Settings\Administrator>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
4.i have not pasted php 4 dll to windows folder,and i have remove php4 folder.
5.if i use cmd.php,the graph is still not correctly.
2.i have read your installation guide,and check my configration
3.php -m
C:\Documents and Settings\Administrator>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
4.i have not pasted php 4 dll to windows folder,and i have remove php4 folder.
5.if i use cmd.php,the graph is still not correctly.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests