PHP has encountered a Stack overflow
Moderators: Developers, Moderators
PHP has encountered a Stack overflow
Hi everyone.
I followed windows installion guilde http://bsod2600.home.comcast.net/install_windows.html, after I access the website I got the PHP has encountered a Stack overflow error message. However my other php websites are running well, plz help.
Webserver: IIS6
OS: windows2003
cactid: 0.8.6f
cacti: 0.8.6h
MySQl: 4.1
PHP: 5.1
RRTool: 1.2
NetSNMP: 5.2
Cygwin: 1.51
site:http://www.iyip.com/cacti/install/index.php
I followed windows installion guilde http://bsod2600.home.comcast.net/install_windows.html, after I access the website I got the PHP has encountered a Stack overflow error message. However my other php websites are running well, plz help.
Webserver: IIS6
OS: windows2003
cactid: 0.8.6f
cacti: 0.8.6h
MySQl: 4.1
PHP: 5.1
RRTool: 1.2
NetSNMP: 5.2
Cygwin: 1.51
site:http://www.iyip.com/cacti/install/index.php
Searching Google, it appears a php stack overflow can be caused from not properly setting permissions.
1) Install the patches for cacti
2) Uncomment sql-mode from your mysql my.ini file and try again.
1) Install the patches for cacti
2) Uncomment sql-mode from your mysql my.ini file and try again.
| 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 |
Thanks for your replying and searching from google
First time, MySQL was stopped and I used firefox to access the website, it loaded 2 seconds after and displayed "PHP has encountered a Stack overflow", but it still loaded up to 130 seconds. Second Time, MySql was running and I used to access the website again, it only load 2seconds and display "PHP has encountered an Access Violation at 020582DF".
The following information is my setting, plz have a look and help. I was using four days to search the error from google and reinsatll the cacti with about Utilities more than 7 times. I have no idea what happen and I dont think the problem cause by IIS6 and PHP because my other websites are running well IIS6, PHP with MySql. Thanks a lot.
Please read the attach files, thanks a lot.
Hope you guys can for the solutions for me. Thank you very much.
First time, MySQL was stopped and I used firefox to access the website, it loaded 2 seconds after and displayed "PHP has encountered a Stack overflow", but it still loaded up to 130 seconds. Second Time, MySql was running and I used to access the website again, it only load 2seconds and display "PHP has encountered an Access Violation at 020582DF".
The following information is my setting, plz have a look and help. I was using four days to search the error from google and reinsatll the cacti with about Utilities more than 7 times. I have no idea what happen and I dont think the problem cause by IIS6 and PHP because my other websites are running well IIS6, PHP with MySql. Thanks a lot.
Please read the attach files, thanks a lot.
Hope you guys can for the solutions for me. Thank you very much.
1) Have you applied the patches for cacti 0.8.6h yet? Do that and then try to set up cacti again (including importing the cacti.sql file... so basically start fresh). Patching instructions: http://bsod2600.home.comcast.net/instal ... l#Patching
2) What are the exact versions of everything you're using?
2) What are the exact versions of everything you're using?
| 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 |
Stack overflow
I had the same problem.
the solution: wrong mysql permissions and some errors at the cacti.sql file import (I used the MYSQL Administrator). With an the "Ignor Errors" at the Import it works.
the solution: wrong mysql permissions and some errors at the cacti.sql file import (I used the MYSQL Administrator). With an the "Ignor Errors" at the Import it works.
Thanks for you guys helping
the solution: wrong mysql permissions and some errors at the cacti.sql file import (I used the MYSQL Administrator). With an the "Ignor Errors" at the Import it works.
What permission should I assign for Mysql and Mysql Data,
errors at the cacti.sql --> what should I have to change
can you explain detail, thanks a lot
the solution: wrong mysql permissions and some errors at the cacti.sql file import (I used the MYSQL Administrator). With an the "Ignor Errors" at the Import it works.
What permission should I assign for Mysql and Mysql Data,
errors at the cacti.sql --> what should I have to change
can you explain detail, thanks a lot
1) If you had installed the cacti patches as I suggested, one of them fixes the errors in cacti.sql.
2) As for your mysql data, your web user nor the account used for the scheduled task needs access to it. Since the MySQL service typically runs under the local system account, all you need to give is SYSTEM full control and then Users so they can see the directory/files (if you want).
2) As for your mysql data, your web user nor the account used for the scheduled task needs access to it. Since the MySQL service typically runs under the local system account, all you need to give is SYSTEM full control and then Users so they can see the directory/files (if you want).
| 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 |
Thanks for replying and helping
I try to update the per-patch files, the problem still there I cannot access the webiste for configutrating the following stesps
PHP Binary Path:
c:/php/php.exe
RRDTool Binary Path:
c:/rrdtool/rrdtool.exe
RRDTool Default Font Path:
c:/windows/fonts/arial.ttf
RRDTool Version:
Select the appropriate version
SNMPGET, SNMPWALK, SNMPBULKWALK, SNMPGETNEXT Paths:
c:/net-snmp/bin/snmpget.exe
c:/net-snmp/bin/snmpwalk.exe
c:/net-snmp/bin/snmpbulkwalk.exe
c:/net-snmp/bin/snmpgetnext.exe
Cacti Logfile Path:
c:/website/cacti/log/cacti.log
Cactid Path:
c:/cactid/cactid.exe
then I tried to run "C:\php\php.exe F:\cacti\poller.php" command from cmd mode. I got FATAL: erealloc(): Unable to allocate 207 bytes error message. I already setted all the folder permsssions.
Plz help and thanks for heppling and replying.
I try to update the per-patch files, the problem still there I cannot access the webiste for configutrating the following stesps
PHP Binary Path:
c:/php/php.exe
RRDTool Binary Path:
c:/rrdtool/rrdtool.exe
RRDTool Default Font Path:
c:/windows/fonts/arial.ttf
RRDTool Version:
Select the appropriate version
SNMPGET, SNMPWALK, SNMPBULKWALK, SNMPGETNEXT Paths:
c:/net-snmp/bin/snmpget.exe
c:/net-snmp/bin/snmpwalk.exe
c:/net-snmp/bin/snmpbulkwalk.exe
c:/net-snmp/bin/snmpgetnext.exe
Cacti Logfile Path:
c:/website/cacti/log/cacti.log
Cactid Path:
c:/cactid/cactid.exe
then I tried to run "C:\php\php.exe F:\cacti\poller.php" command from cmd mode. I got FATAL: erealloc(): Unable to allocate 207 bytes error message. I already setted all the folder permsssions.
Plz help and thanks for heppling and replying.
You've got underlaying issues with PHP, which are unrelated to Cacti. You using the latest version of php 5.1?
Create a file called info.php and put in the following:
When you try to access it on your website, does it work? save the html generated and upload it as an attachment.
Create a file called info.php and put in the following:
Code: Select all
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
| 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 |
Thanks for your helping and replying again.
The following link you can have a look
http://www.iyip.com/php.php
thanks a lot
The following link you can have a look
http://www.iyip.com/php.php
thanks a lot
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Upgrade to PHP 5.1.2 and then utilize the following home brewed php_snmp.dll. I am running in production with the following statistics:
I have no issues with Access Violations. If you encounter those problems after upgrade, you might want to look at your extensions. I am also on Windows 2003 Enterprise.
TheWitness
Code: Select all
01/21/2006 09:00:12 AM - SYSTEM STATS: Time:72.5847 Method:cactid Processes:4 Threads:25 Hosts:838 HostsPerProcess:210 DataSources:23836 RRDsProcessed:10042
Code: Select all
01/21/2006 03:10:08 AM - SYSTEM MACTRACK STATS: Time:2663.0531 ConcurrentProcesses:20 Devices:1634
TheWitness
- Attachments
-
- php_snmp.zip
- (132.85 KiB) Downloaded 382 times
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Thanks for your guys repling and helping
After upgrate I got
PHP has encountered an Access Violation at 020782DF error message
I searched from goolge, I cound not get any infomation about that.
Thanks
Can any one use VNC have a look for me
thanks
TheWitness wrote:Upgrade to PHP 5.1.2 and then utilize the following home brewed php_snmp.dll. I am running in production with the following statistics:
Code:
01/21/2006 09:00:12 AM - SYSTEM STATS: Time:72.5847 Method:cactid Processes:4 Threads:25 Hosts:838 HostsPerProcess:210 DataSources:23836 RRDsProcessed:10042
Code:
01/21/2006 03:10:08 AM - SYSTEM MACTRACK STATS: Time:2663.0531 ConcurrentProcesses:20 Devices:1634
I have no issues with Access Violations. If you encounter those problems after upgrade, you might want to look at your extensions. I am also on Windows 2003 Enterprise.
TheWitness
After upgrate I got
PHP has encountered an Access Violation at 020782DF error message
I searched from goolge, I cound not get any infomation about that.
Thanks
Can any one use VNC have a look for me
thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Online and VNC is fine for me. Now Saturday night.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests