Solved

error in /var/log/messages..... kernel: application bug: miniperl(25680) has SIGCHLD set to SIG_IGN but calls wait().

Posted on 2004-09-27
6
363 Views
Last Modified: 2013-11-13
this error

kernel: application bug: miniperl(25680) has SIGCHLD set to SIG_IGN but calls wait().

 pops up in /var/log/messages on a node from my members cluster and my
authentication script no longer answers. it uses following modules from
cpan to talk to shared db on vpn for all nodes to auth against
force install DBI
force install DBD::mysql

0
Comment
Question by:xeon999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 4

Expert Comment

by:EinarTh
ID: 12159090
Thats pretty much what it says; an application bug.

Signals are a mechanism by which the kernel 'signals' a program that something has happened (see 'man 7 signal'). One of the signals is SIGCHLD which is sent to a process when a child process dies or exits.

Now, the program in question determines what to do with a signal; it e.g. ignore it by setting SIGCHLD to SIG_IGN. If a program does that, it will never receive a SIGCHLD signal.

On the other hand, the wait() and waitpid() functions wait for a sigchld signal to arrive, so if we've already said we're ignoring those, then calling wait is meaningless, and in fact dangerous programmins since those function will propably never return, which could cause the machine to 'hang'

What you do, is that you locate the program in question, and either make it handle sigchld, or don't call wait. It all depends on what the program is doing, and you need to know at least something about programming in general to mess around with code like that.

HTH

cheers
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12159506
By "force install DBI" do you mean that you could not do an ordinary 'rpm -i DBI' for some reason and used --force? That may be at the root of the problem.

What OS is this, which DBI & DBD-mysql packages did you use, and what where the errors that lead you to use --force?
0
 

Author Comment

by:xeon999
ID: 12165732
thnx  EinarTh....got my guys lookin at it
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13139761
PAQed with no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question