PHP Process hanging
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is radical, the HostResourceMib is completely missing. What is the make and manufacturer of your box. Does it include any management agents already pre-installed? Some addons such as Compaq, now HP's, Insight manager does remove the HostMib.
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?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hmm, also, check this setting:
snmpbulkwalk -c <your_communit> -v 2c -Cc <your_host>
TheWitness
snmpbulkwalk -c <your_communit> -v 2c -Cc <your_host>
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?
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Attached are the logs from two PCs. Your on the money about the compaq machine. Any idea how to re-enable the hostmib?
The second machine though is a dell, and I still get the hanging process if I try to Add SNMP Processor Information for that machine.
The second machine though is a dell, and I still get the hanging process if I try to Add SNMP Processor Information for that machine.
- Attachments
-
- Drive_C.zip
- (26.58 KiB) Downloaded 65 times
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Forgot to mention.. for some reason snmpbulkwalk falls over (consistantly) against swocmpq01 :
......
UDP-MIB::udpLocalPort.127.0.0.1.4926 = INTEGER: 4926
UDP-MIB::udpLocalPort.135.86.80.4.88 = INTEGER: 88
UDP-MIB::udpLocalPort.135.86.80.4.123 = INTEGER: 123
Error in packet.
Reason: (genError) A general failure occured
Failed object: UDP-MIB::udpLocalPort.135.86.80.4.123
......
UDP-MIB::udpLocalPort.127.0.0.1.4926 = INTEGER: 4926
UDP-MIB::udpLocalPort.135.86.80.4.88 = INTEGER: 88
UDP-MIB::udpLocalPort.135.86.80.4.123 = INTEGER: 123
Error in packet.
Reason: (genError) A general failure occured
Failed object: UDP-MIB::udpLocalPort.135.86.80.4.123
You got all that Compaq insite manager, snmp, and other crap they bundle with their computers installed? Very good chance that stuff is causing the problems.
| 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 |
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Ok, So testing some more I have:
SWOCMPQ01 - W2KSP4, With HP software
SWODELL04 - W2KSP4 with Microsoft SNMP
SWODELL05 - W2KSP4 with Net-SNMP
They ALL cause a php process hang when I try "SNMP Process (or partition) inofrmation"
So it has to be the .php script. IS there anyway I can debug those (eg, put in marker lines to create flagfiles as it runs, so I can see what is going on inside the .php file) ??
For the net-snmp file, heres my snmpd.conf file: Is there anything more needed in it to enable the host mib ?
syslocation swindon
syscontact "uk utran lab"
rocommunity public
disk c:\
SWOCMPQ01 - W2KSP4, With HP software
SWODELL04 - W2KSP4 with Microsoft SNMP
SWODELL05 - W2KSP4 with Net-SNMP
They ALL cause a php process hang when I try "SNMP Process (or partition) inofrmation"
So it has to be the .php script. IS there anyway I can debug those (eg, put in marker lines to create flagfiles as it runs, so I can see what is going on inside the .php file) ??
For the net-snmp file, heres my snmpd.conf file: Is there anything more needed in it to enable the host mib ?
syslocation swindon
syscontact "uk utran lab"
rocommunity public
disk c:\
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Well, TheWitness was a great help and managed to get me up and running...
It appears I had php installed slightly wrong... I'm still not sure why, but this is what he changed:
backed up c:\php\php.exe
copied c:\php\cli\php.exe to c:\php
copied php4isapi.dll to c:\php
updated iis to use php4isapi.dll instead of php.exe
Since that was done, now:
- Logout works
- Cacti doesn't crash against SNMP Processor Info/Disk Info
I've still a few issues to sort out (now that disk/CPU doesn't crash, but I don't get a lot of info especially for disks..) but those are another topic.
It appears I had php installed slightly wrong... I'm still not sure why, but this is what he changed:
backed up c:\php\php.exe
copied c:\php\cli\php.exe to c:\php
copied php4isapi.dll to c:\php
updated iis to use php4isapi.dll instead of php.exe
Since that was done, now:
- Logout works
- Cacti doesn't crash against SNMP Processor Info/Disk Info
I've still a few issues to sort out (now that disk/CPU doesn't crash, but I don't get a lot of info especially for disks..) but those are another topic.
Hmmm, sounds like someone didn't follow the install instructions properly
| 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 |
- adrianmarsh
- Cacti User
- Posts: 437
- Joined: Wed Aug 17, 2005 8:51 am
- Location: UK
Who is online
Users browsing this forum: No registered users and 1 guest