LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-03-2010, 12:00 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
why does nscd need to be restarted daily?


I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: www.skyplayer.com
There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.
I have found that by restarting the dns cache everything works again:
/etc/init.d/nscd restart

Any ideas on the cause of the problem?
Problem is I never know quite when this will timeout so it is not very good for people accessing that site on the server.

Last edited by qwertyjjj; 02-03-2010 at 09:39 PM.
 
Old 02-04-2010, 11:33 AM   #2
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 138

Rep: Reputation: 27
Almost sounds like www.skyplayer.com is changing it's ip address everyday.
BUt I bet it's more like their cluster of servers/machines is redirecting you to a different node in their cluster everyday.

Hopefully someone will provide a more technical/informative answer than I.

--ET
 
Old 02-04-2010, 03:26 PM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
But their cluster of servers is back end isn't it? The DNS should point to only 1 skyplayer site?
Just happened again today. I restart nscd and all is okay.
Out of interest, will restarting nscd throw out any existing connections? I can use a temporary bodge to restart nscd every 2 hrs but I don't want to disconnect any existing squid users.

/etc/resolv.conf
nameserver 213.171.xxx.xxx
nameserver 213.171.xxx.xxx
search localdomain

Last edited by qwertyjjj; 02-04-2010 at 03:46 PM.
 
  


Reply



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
nscd streamlining htnakirs Linux - Software 1 08-03-2008 07:59 AM
NSCD and LDAP Rowley Linux - Software 9 07-31-2008 03:11 AM
Nscd... Aggravated SUSE / openSUSE 3 04-29-2007 03:12 AM
Advice? Best way to move files daily to a daily "date" named directory ziphem Linux - Newbie 2 04-15-2007 08:03 AM
nscd Loke Linux - General 1 01-18-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:28 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