I have a RedHat 7.3 box, using the latest RedHat errata rpms for php, apache, and mysql:
php:
php-mysql-4.1.2-7.3.4
php-manual-4.1.2-7.3.4
php-4.1.2-7.3.4
php-snmp-4.1.2-7.3.4
php-devel-4.1.2-7.3.4
apache:
apache-devel-1.3.23-14
apache-1.3.23-14
apache-manual-1.3.23-14
MySQL:
mysql-3.23.49-3
mysqlclient9-3.23.22-6
mysql-devel-3.23.49-3
mysql-server-3.23.49-3
My problem is:
I installed cacti, and the php scripts will not run, going to the cacti dir in the brower outputs:
raXnet cacti (about)"); DrawMatrixRowEnd(); DrawMatrixTableEnd(); include_once ("include/bottom_footer.php"); ?>
I am using other php applications (phpmyadmin, ACID, phplot, jpgraph) without problems. I also ran a phpinfo(); from within the cacti dir to make sure php would run in the dir, and it worked fine.
I also tried running /usr/bin/php /var/www/html/cacti/cmd.php, and the output was:
X-Powered-By: PHP/4.1.2
Content-type: text/html
<?/*
+-------------------------------------------------------------------------+
| Copyright (C) 2002 Ian Berry
.....and the rest of the cmd.php script.
What is going on here? I figure there is a php config problem or something?
Nicholas
Wierd error with Cacti 0.6.8a and RH7.3
Moderators: Developers, Moderators
Wierd error with Cacti 0.6.8a and RH7.3
Network Administrator
Lake Forest College
Lake Forest College
Update
I downgraded to a lower version of Cacti, and still had the same problem.
I have run Cacti on RH 7.3 in the past without problems...so I am quite puzzled.
Nicholas
I have run Cacti on RH 7.3 in the past without problems...so I am quite puzzled.
Nicholas
Network Administrator
Lake Forest College
Lake Forest College
Another interesting thing....
I was checking my apache error log, and found an entry:
File does not exist: /var/www/html/cacti/images/install_<
When I searched install.php, I found the following at line 286:
<p align="right"><input type="image" src="ima\
ges/install_<?if ($step==TOTAL_STEPS){?>finish<?}else{?>next<?}?>.gif" alt="<?if ($step==TOTA\
L_STEPS){?>Finish<?}else{?>Next<?}?>"></p>
Although I do not know why, it looks like the file is garbled. If this file is garbled, who knows what is wrong with any of the other files.
The thing is, I have downloaded and installed source code for other apps in the exact same way, and not had any problems.
Any ideas?
File does not exist: /var/www/html/cacti/images/install_<
When I searched install.php, I found the following at line 286:
<p align="right"><input type="image" src="ima\
ges/install_<?if ($step==TOTAL_STEPS){?>finish<?}else{?>next<?}?>.gif" alt="<?if ($step==TOTA\
L_STEPS){?>Finish<?}else{?>Next<?}?>"></p>
Although I do not know why, it looks like the file is garbled. If this file is garbled, who knows what is wrong with any of the other files.
The thing is, I have downloaded and installed source code for other apps in the exact same way, and not had any problems.
Any ideas?
Network Administrator
Lake Forest College
Lake Forest College
corruption
I have redownloaded and decompressed cacti, and still fine the same problem with file corruption.
I am doing 'tar -zxvf cacti-0.6.8.tar.gz' to decompress the archive.....
something realy funky is going one here/......
ug....
I am doing 'tar -zxvf cacti-0.6.8.tar.gz' to decompress the archive.....
something realy funky is going one here/......
ug....
Network Administrator
Lake Forest College
Lake Forest College
GPG Sig?
Hey Rax-
Can you MD5 sign the cacti downloads? I figure this will help to identify where the file corruption is occuring.
Nicholas
Can you MD5 sign the cacti downloads? I figure this will help to identify where the file corruption is occuring.
Nicholas
Network Administrator
Lake Forest College
Lake Forest College
FIXED! thanx bulek
That setting in php.ini fixed the problem, it was Off, so setting it to on and restarting apache fixed it.
Thanks Bulek.
Nicholas
Thanks Bulek.
Nicholas
Network Administrator
Lake Forest College
Lake Forest College
Who is online
Users browsing this forum: No registered users and 7 guests