coredump solaris 8, php5.0.4, cacti 0.8.6c
Moderators: Developers, Moderators
coredump solaris 8, php5.0.4, cacti 0.8.6c
I am having core dump from this setup.
PHP 5.0.4
cacti 0.8.6.c
Apache 2.0.50
MySQL Client API 4.0.15
The core dump is not very regular but it is happening more often as I tried to add more and more machines for monitoring. The only way I can solve it is by rebooting the server.
Any help will be great.
-S
PHP 5.0.4
cacti 0.8.6.c
Apache 2.0.50
MySQL Client API 4.0.15
The core dump is not very regular but it is happening more often as I tried to add more and more machines for monitoring. The only way I can solve it is by rebooting the server.
Any help will be great.
-S
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Are you using cmd.php or cactid? If you system core dumping or is your web server. Please be more specific.
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?
The core dump was happening for the cronjob.
I am using pollar.php as it was mentioned in the upgrade doc. I was using cmd.php earlier with old version.
The problem looks like did not repeated in last 24 hrs after I modified my my.cnf for mysql. Now I am using example mysql config file for large systems that comes with mysql distrib.
I did this as I saw lot of mesgs. for mysql connections while doing strings to the core file.
Please let me know if you have any questions for me.
-Regards
S
I am using pollar.php as it was mentioned in the upgrade doc. I was using cmd.php earlier with old version.
The problem looks like did not repeated in last 24 hrs after I modified my my.cnf for mysql. Now I am using example mysql config file for large systems that comes with mysql distrib.
I did this as I saw lot of mesgs. for mysql connections while doing strings to the core file.
Please let me know if you have any questions for me.
-Regards
S
:(
Well the problem did not got solved. It reappered again and after reboot it will go away for few days and start again. After that I am using the crontab entry from 'cactiuser' instead of root and it also has samr problem of doing the core dump.
Any help will be great. If you need the core file(1834812 bytes) let me know
-s
Any help will be great. If you need the core file(1834812 bytes) let me know
-s
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Is your solaris 64bit?
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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Try building php without snmp support and use the net-snmp binaries instead. There was a bug JUST fixed to PHP where certain snmp information was being returned using the wrong size parameter, which can lead to segfaults.
If you use the latest patches to Cacti, the snmp.php patch will make it run pretty fast.
Alternatively, you can download the latest snmp.c from the PHP CVS if you are building from scratch and want to continue to utilize php_snmp module. You don't have to wait for PHP 5.0.5 to fix it.
TheWitness
If you use the latest patches to Cacti, the snmp.php patch will make it run pretty fast.
Alternatively, you can download the latest snmp.c from the PHP CVS if you are building from scratch and want to continue to utilize php_snmp module. You don't have to wait for PHP 5.0.5 to fix it.
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?
I used this to build my PHP (5.0.4) last time. But I am not sure what you want to change. Can you please direct me here.
At the same time I am getting the snmp.c from php5 cvs as you mentioned if it is still needed.
And for the cacti patch(snmp.php) do I need rebuild cacti as well ?
-Thanks for help.
Code: Select all
'./configure' '--with-mysql=/files/Mysql' '--with-apxs2=/files/http2/bin/apxs' '
--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib
-dir=/usr/local' '--with-snmp=/usr/local/net-snmp/' '--enable-ucd-snmp-hack' '--with-libxml-dir=/usr/local/lib'
And for the cacti patch(snmp.php) do I need rebuild cacti as well ?
-Thanks for help.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, the distribution of 5.0.4 also contained the snmp.c bug. So download the file and place it in the source/ext/snmp folder prior to making.
To patch cacti, you simply need to get the files from http://www.cacti.net/downloads/patches/ ... re-patched and copy them over your existing ones.
You also have to recreate the include/config.php to the new format.
TheWitness
To patch cacti, you simply need to get the files from http://www.cacti.net/downloads/patches/ ... re-patched and copy them over your existing ones.
You also have to recreate the include/config.php to the new format.
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: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Not this week unfortunately.
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 1 guest