Couldn't add header/graph to existing tree

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

Moderators: Developers, Moderators

Post Reply
ANobbe
Posts: 3
Joined: Tue Oct 18, 2011 6:03 am

Couldn't add header/graph to existing tree

Post by ANobbe »

Hi,

strangly enough i couldn't add the above to an existing graph tree. But it's possible to add a tree via Web-Interface/CLI.
If i'm trying to add one of these via Web-Interface i'm getting an 324 error and the possible error rises up in my messages log:

Code: Select all

php[25024]: segfault at bf740ffc ip b6e42baa sp bf741000 error 6 in libmysqlclient_r.so.14.0.0[b6e0f000+39000]
If im trying to add it via CLI i'm getting:

Code: Select all

on the shell: Segmentation fault
in the logs: php[907]: segfault at bf1e3fe0 ip 081f8ffe sp bf1e3fd0 error 6 in php[8048000+27b000]
Anybody got an idea what this could be ?

Cacti Version: 0.8.7h
PHP 5.2.17 (cli) (built: Jan 12 2011 20:00:58)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Couldn't add header/graph to existing tree

Post by TheWitness »

Whats in /var/lib/mysql/*.err?

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?
ANobbe
Posts: 3
Joined: Tue Oct 18, 2011 6:03 am

Re: Couldn't add header/graph to existing tree

Post by ANobbe »

Hi,
thanks for your response in advance. I restarted the mysql (on QNAP NAS) to be sure i'm reading the right file, then after restarting trying to add a header, but same result. The log isn't showing any unexpected:

Code: Select all

111018 15:09:29  mysqld started
/opt/libexec/mysqld: ready for connections.
Version: '4.1.22'  socket: '/tmp/mysql.sock'  port: 3306  optware distribution 4.1.22-3
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Couldn't add header/graph to existing tree

Post by TheWitness »

It looks to be a build problem with the mysql api. Can you get either an updated API or updated PHP for this box?
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?
ANobbe
Posts: 3
Joined: Tue Oct 18, 2011 6:03 am

Re: Couldn't add header/graph to existing tree

Post by ANobbe »

Hi,

i've to confirm. That was the problem, after upgrading it's working now. Thanks for your help!!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests