Problem with version 0.8.7 - segmentation fault

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
pengos
Posts: 7
Joined: Wed Apr 12, 2006 1:36 pm

Problem with version 0.8.7 - segmentation fault

Post by pengos »

I have FC6 64 bits running with:
httpd-2.2.4-2.fc6
php-5.1.6-3.7.fc6
rrdtool-1.2.23-5.fc6
mysql-5.0.27-1.fc6

The version 0.8.6.j is running without any problem.
I try to install the version 0.8.7 and I get "child pid 18015 exit signal Segmentation fault (11)" in the apache error.log file.

Has some one an idea why is this happening ?

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What is segfaulting? cactid? spine? ...
Reinhard
pengos
Posts: 7
Joined: Wed Apr 12, 2006 1:36 pm

Post by pengos »

The Segmentation fault is inside apache. The error is logged in the apache error file.
I can not see any install procedures.
If I do not put the correct user/pass for the mysql, show me the error.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I remember a similar issue. This one was related to a not correctly defines cacti MySQL database. Please make sure to create the database and to provide correct user/pw configuration.
Reinhard
pengos
Posts: 7
Joined: Wed Apr 12, 2006 1:36 pm

Post by pengos »

But I get the segmentation fault when I put the correct values of user/pass for mysql.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Your database is not initialized. You need to redo the installation instructions. If you just access the MySQL CLI and do a "show tables" on the Cacti database, you may find an empty set.

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?
pengos
Posts: 7
Joined: Wed Apr 12, 2006 1:36 pm

Post by pengos »

Thanks.
KPbIC
Posts: 29
Joined: Mon Mar 13, 2006 9:13 pm
Location: Russia

Post by KPbIC »

Hello

sorry for my english, but i have any problemm after instalation cacti 0.8.7 (whis spine) whis weathermap plugin. When i try add new node on map apache down whis error [Wed Nov 14 06:08:59 2007] [notice] child pid 4187 exit signal Segmentation fault (11).

database information:

b-internet:/usr/local/cacti/plugins/weathermap# mysql cacti -u cactiuser -p
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 305
Server version: 5.0.32-Debian_7etch1-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+---------------------------+
| Tables_in_cacti |
+---------------------------+
| cdef |
| cdef_items |
| colors |
| data_input |
| data_input_data |
| data_input_fields |
| data_local |
| data_template |
| data_template_data |
| data_template_data_rra |
| data_template_rrd |
| graph_local |
| graph_template_input |
| graph_template_input_defs |
| graph_templates |
| graph_templates_gprint |
| graph_templates_graph |
| graph_templates_item |
| graph_tree |
| graph_tree_items |
| host |
| host_graph |
| host_snmp_cache |
| host_snmp_query |
| host_template |
| host_template_graph |
| host_template_snmp_query |
| poller |
| poller_command |
| poller_item |
| poller_output |
| poller_reindex |
| poller_time |
| rra |
| rra_cf |
| settings |
| settings_graphs |
| settings_tree |
| snmp_query |
| snmp_query_graph |
| snmp_query_graph_rrd |
| snmp_query_graph_rrd_sv |
| snmp_query_graph_sv |
| user_auth |
| user_auth_perms |
| user_auth_realm |
| user_log |
| version |
| weathermap_auth |
| weathermap_maps |
+---------------------------+
50 rows in set (0.00 sec)

mysql> quit


PHP Information from /weathermap/check.php:

PHP Basics

This is the PHP version that is responsible for
The web-based editor
Building maps with Rebuild Now from Cacti

This is PHP Version 5.2.0-8+etch7 running on "Linux b-internet 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686" with a memory_limit of '64M'.

The php.ini file was /etc/php5/apache2/php.ini

The following additional ini files were read: /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini, /etc/php5/apache2/conf.d/snmp.ini

any minds ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please report this issue to the weathermap forum
Reinhard
KPbIC
Posts: 29
Joined: Mon Mar 13, 2006 9:13 pm
Location: Russia

Post by KPbIC »

ok
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests