Spine error Segmentation Fault
Moderators: Developers, Moderators
Spine error Segmentation Fault
Spine keeps giving me the Segmentation Fault. I am running Cacti version 0.8.7d on Windows 2003 with Spine .8.7c. Any tips on how I could go about troubleshooting what the problem is with Spine?
====================================
C:\Spine>spine.exe -V=5
SPINE: Using spine config file [spine.conf]
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is c:/Inetpub/wwwroot/
cacti/script_server.php
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is C:/Inetpub/wwwroot/ca
cti/log/cacti.log
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_php variable is C:/php/php.exe
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The script timeout is 25
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
06/04/2009 12:16:37 AM - SPINE: Poller[0] Version 0.8.7c starting
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
06/04/2009 12:16:37 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] SNMP Result: Host responded to SNMP
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for 'localhost'
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling T
hread Function
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
\06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[3] SNMP Result: Host responded to SNMP
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex ca
che for '10.23.39.254'
06/04/2009 12:16:37 AM - SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine threa
d)
====================================
C:\Spine>spine.exe -V=5
SPINE: Using spine config file [spine.conf]
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is c:/Inetpub/wwwroot/
cacti/script_server.php
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is C:/Inetpub/wwwroot/ca
cti/log/cacti.log
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The path_php variable is C:/php/php.exe
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The script timeout is 25
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
06/04/2009 12:16:37 AM - SPINE: Poller[0] Version 0.8.7c starting
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
06/04/2009 12:16:37 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] SNMP Result: Host responded to SNMP
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for 'localhost'
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling T
hread Function
06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
\06/04/2009 12:16:37 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[3] SNMP Result: Host responded to SNMP
06/04/2009 12:16:37 AM - SPINE: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex ca
che for '10.23.39.254'
06/04/2009 12:16:37 AM - SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine threa
d)
Try spine 0.8.7d in the announcement forum. If the issue still persists, post the segfault and file a bug: www.cacti.net/bugs.php.
No issues when using cmd.php?
No issues when using cmd.php?
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Posting just to keep myself informed. Spine 0.8.7d is stable.
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?
Much better results using Spine 0.8.7d, no more segmentation fault! The only problem I ran into was my latency_ping.pl, spine errored out "06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] ERROR: Empty result [34.23.39.254]: 'perl C:/Inetdub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254''. Other than that snmp traffic in/out works just fine with spine 0.8.7d.
I had another test Cacti box running Spine 0.8.7c and using the same ping-latency.pl script, spine 0.8.7c executes this ping-latency.pl fine on this box.
============================================
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '10.23.39.254'
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] NOTE: There are '4' Polling Items for this Host
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DEBUG: The POPEN returned the following File Descr
iptor 7
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] ERROR: Empty result [34.23.39.254]: 'perl C:/Inetp
ub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254'
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[12] SCRIPT: perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254, output: U
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[8] SNMP: v2: 34.23.39.254, dsname: traffic_in,
oid: .1.3.6.1.2.1.2.2.1.10.17, value: 831759131
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[8] SNMP: v2: 10.23.39.254, dsname: traffic_out,
I had another test Cacti box running Spine 0.8.7c and using the same ping-latency.pl script, spine 0.8.7c executes this ping-latency.pl fine on this box.
============================================
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '10.23.39.254'
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] NOTE: There are '4' Polling Items for this Host
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DEBUG: The POPEN returned the following File Descr
iptor 7
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] ERROR: Empty result [34.23.39.254]: 'perl C:/Inetp
ub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254'
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[12] SCRIPT: perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254, output: U
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[8] SNMP: v2: 34.23.39.254, dsname: traffic_in,
oid: .1.3.6.1.2.1.2.2.1.10.17, value: 831759131
06/04/2009 11:46:31 AM - SPINE: Poller[0] Host[3] DS[8] SNMP: v2: 10.23.39.254, dsname: traffic_out,
You need to specify the full path to perl. Clear the poller cache once you've done that.
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
100% correct.
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:
Forward slashes please.
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?
It gave me same error using forward slashes. so weird! It got to be my perl environment but I can't figure out where the problem lies.
Cacti.log:
06/04/2009 04:20:01 PM - SPINE: Poller[0] Host[3] ERROR: Empty result [10.23.39.254]: 'C:/Perl/bin/Perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254'
Additional output when I ran spine -v=5
06/04/2009 04:33:32 PM - SPINE: Poller[0] Host[3] DEBUG: The POPEN returned the following File Descr
iptor 7
06/04/2009 04:33:33 PM - SPINE: Poller[0] Host[5] ERROR: Empty result [10.34.248.2]: 'C:/Perl/bin/Perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.34.248.2'
06/04/2009 04:33:33 PM - SPINE: Poller[0] Host[5] DS[15] SCRIPT: C:/Perl/bin/Perl C:/Inetpub/wwwroot
/cacti/scripts/ping-latency.pl 10.34.248.2, output: U
Cacti.log:
06/04/2009 04:20:01 PM - SPINE: Poller[0] Host[3] ERROR: Empty result [10.23.39.254]: 'C:/Perl/bin/Perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.23.39.254'
Additional output when I ran spine -v=5
06/04/2009 04:33:32 PM - SPINE: Poller[0] Host[3] DEBUG: The POPEN returned the following File Descr
iptor 7
06/04/2009 04:33:33 PM - SPINE: Poller[0] Host[5] ERROR: Empty result [10.34.248.2]: 'C:/Perl/bin/Perl C:/Inetpub/wwwroot/cacti/scripts/ping-latency.pl 10.34.248.2'
06/04/2009 04:33:33 PM - SPINE: Poller[0] Host[5] DS[15] SCRIPT: C:/Perl/bin/Perl C:/Inetpub/wwwroot
/cacti/scripts/ping-latency.pl 10.34.248.2, output: U
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Change Perl to Perl.exe and make sure you have a good cygwin install. If you are simply using the binary distribution, make sure sh.exe is in the path.
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?
Hmm, I thought spine didn't require cygwin to be separately installed...
Does the spine package need newer/updated cygwin files distributed with it?
Does the spine package need newer/updated cygwin files distributed with it?
| 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 |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It still needs sh.exe in the release version. It needs to be in the path.
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