LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2002, 01:42 AM   #1
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
ORPHAN (no passwd entry)


Anybody knows what this is? I got it in the cron log file ...
 
Old 11-13-2002, 05:46 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Parent dies, child lives on.
 
Old 07-15-2003, 02:37 PM   #3
madmaxa
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Posts: 1

Rep: Reputation: 0
Lightbulb

In this case ORPHAN has nothing to do with processes!!!

I am also getting this weird error, however I checked passwd/shadow files and those users don't exist anymore. I also deleted their entries in /var/spool/cron/<user>. Any other ideas how to get rid of these?
 
Old 07-15-2003, 04:58 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Restart crond, and if you use nscd, after passwd account modifications?
 
Old 03-24-2010, 04:28 PM   #5
ezekieldas
Member
 
Registered: Mar 2010
Posts: 122

Rep: Reputation: 16
This thread is really old but is in top5 of google hits so...

This will occur if there's a file in the /var/spool/cron directory
that doesn't match up to a username and UID. So if you find /var/spool/cron/bob --you must be able to 'id bob' I found this as a result of creating a backup file for root /var/spool/cron/root.20100324 (today's date). Since there is no UID for user "root.20100324' then it's considered ORPHAN.

Make sense? Here's the code --this conditional has probably not changed for years...

if (strcmp(fname, "*system*") && !(pw = getpwnam(uname))) {
/* file doesn't have a user in passwd file.
*/
log_it(fname, getpid(), "ORPHAN", "no passwd entry");
goto next_crontab;
}
 
Old 03-24-2010, 08:21 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
The other dead giveaway is when you do an ls in the dir and it shows a uid instead of a username. ls automatically grabs the username from /etc/passwd (or wherever eg ldap) if it exists.
 
Old 08-19-2010, 08:57 AM   #7
allen@seas.wustl.edu
LQ Newbie
 
Registered: Aug 2010
Location: St. Louis MO
Distribution: CentOS, xubuntu
Posts: 2

Rep: Reputation: 0
orphans, cron, ldap

On our centos systems, we had to restart nscd, restart cron, (in that order). Cron needs needs it's own entry to check it's self to see if it's
lost contact with the ldap server.

Allen Rueter
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
orphan child process happy78 Programming 3 08-30-2005 01:40 AM
Samba failed to modify passwd entry GUIPenguin Linux - General 1 01-17-2005 10:39 AM
odd entry in /etc/passwd file globeTrotter Linux - Security 4 07-21-2004 09:27 PM
/etc/passwd entry secprovider Linux - Security 1 06-25-2004 10:55 AM
Orphan Processes LiquidPenguin Linux - Newbie 0 07-15-2003 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration