child pid xxxx exit signal Segmentation fault (11)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

child pid xxxx exit signal Segmentation fault (11)

Post by dleon »

Hi,

Cacti Version 0.8.7e + RHEL5 64 bits + nagios 3.2.1 + ndoutils 1.4b7 + npc 2.0.4 + php 5.1.6 work wonderfull, congrats for the tools.

My proble is when I try view graphs or maphs graphs, I got this error.

Help will be apreciated.

Best Regards Dario.
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Please

Post by dleon »

Have anybody the same problem, please?

Divagater???
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I do get those when using a non-thread safe version of the sourceguardian module ( not relevant to npc ... )

I would think of a php module not working properly in the 64 bit environment. Did you already try to update the base components ( php, apache ... -> yum update ) ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

script '/var/www/html/graph_image.php' not found or unable

Post by dleon »

phalek thanks a lot for your help,

I have solved this using json.so for 32 bits, symbolic link, I have pointed the json.so of 32 bits to /usr/lib/php/modules and the put that on json.ini.

On services I now can watch all services but graphs not show nothing, I got this error on httpd log
script '/var/www/html/graph_image.php' not found or unable to stat

Some idea?

Yhanks a lot agian for your replay.

Best regards

Dario.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

did you put the cacti files to /var/www/html or /var/www/html/cacti ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

/var/www/html/cacti is wrong?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Never mind. Do RRD files actually exist in the rra directory ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

yes, RRD files actually exist in the rra directory.

Thanks a lot again for your help.

Dario.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

what happens of you do a

Code: Select all

 php graph_image.php
in the /var/www/html directory ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

I got this:
<html>
<head>
<title>Login to Cacti</title>
<STYLE TYPE="text/css">
<!--
BODY, TABLE, TR, TD {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
A {text-decoration: none;}
A:active { text-decoration: none;}
A:hover {text-decoration: underline; color: #333333;}
A:visited {color: Blue;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" onload="document.login.login_username.focus()">
<form name="login" method="post" action="graph_image.php">
<input type="hidden" name="action" value="login">
<table align="center">
<tr>
<td colspan="2"><center><img src="/cacti/images/auth_login.gif" border="0" alt=""></center></td>
</tr>

<tr height="10"><td></td></tr>
<tr>
<td colspan="2">Please enter your Cacti user name and password below:</td>
</tr>
<tr height="10"><td></td></tr>
<tr>
<td>User Name:</td>
<td><input type="text" name="login_username" size="40" style="width: 295px;" value=""></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="login_password" size="40" style="width: 295px;"></td>
</tr>
<tr height="10"><td></td></tr>
<tr>
<td><input type="submit" value="Login"></td>
</tr>
</table>
</form>
</body>
</html>
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

I have 38 equipment monitoring with nagios, but i can see only a lot of these on services on npc, some idea.

Best regards.

Dario
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

i can see can I press maph graph this information on httpd/error.log

[error] [client 10.48.1.160] script '/var/www/html/graph_image.php' not found or unable to stat, referer: http://10.48.0.70:8081/cacti/plugins/np ... drawLayout


do you phalek any update or idea jejeje :D ??

Thanks a lot for your help.

Best regards.
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

I had put on /etc/httpd/conf/httpd.conf

/var/www/html/cacti on /var/www/html this change solved that I can view maph graphs and view graphs.

I now have the issue on service on npc I can see 40 service of 137.

Someone had any idea of what is the problem

Best regards Dario.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests