LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2006, 09:50 AM   #1
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
nscd acting funny


I have a few questions... For some reason in RHEL4 I'm having nscd caching issues and in RHEL3 I'm having periodical dying after a day or 2... So I wrote a script to service nscd reload and then service nscd restart. My question is does reload just reload the database or does it 'by design' kill nscd so that the restart says 'Stopping [failed] and Starting [ok]'. I'm thinking of changing restart to start, even though this is a temporary fix, can anyone lend an ear to how I can trouble shoot why this is failing.... I started generating a /var/log/nscd.log by setup in /etc/nscd.conf but any help would be greatly appreciated. Thanks.
 
Old 04-20-2006, 06:03 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
I'm having nscd caching issues
Interesting. Could you be more verbose/specific, maybe add an example of what you detect/troubleshooted already?


So I wrote a script to service nscd reload and then service nscd restart. My question is does reload just reload the database or does it 'by design' kill nscd
It you look at the default initscript you'll see it does a $0 stop; $0 start on restart. Looks like a kill and not a kill -HUP.
 
Old 04-21-2006, 07:51 PM   #3
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Original Poster
Rep: Reputation: 15
Well a fellow coworker and myself found out with running a 'nscd -d' while the other guy reloaded nscd (service nscd reload) caused a segmentation fault when removing the entries, so we definitely have a bug on our hands that we are going to pass on to RHN. This was one of 2 problems we were having the other being the periodical dying of nscd which is going to be harder to diagnose. Unfortunately I can't be too specific with the setup we use at my location but we are going to see what our TAM representative has to say. Concerning the -HUP option I'm not sure if one of our staff members changed the default but ours is showing 'killproc /.../nscd -HUP' for a reload in /etc/init.d/nscd.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it just me or post acting a little funny? slantoflight General 8 01-03-2006 03:04 PM
Yast acting funny DFA SUSE / openSUSE 2 05-23-2005 04:33 PM
Virtual Host acting funny eckertc1 Linux - Newbie 4 03-06-2005 06:41 PM
sound acting funny madmax04 Fedora 6 10-19-2004 10:20 PM
Gnome acting very funny Stan the caddy Linux - Software 6 09-18-2004 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 PM.

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