LinuxQuestions.org
Help answer threads with 0 replies.
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 01-26-2012, 06:43 AM   #1
pankajguptaspn
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Rep: Reputation: 0
NTP Server configure in local mode


Hi I want to configure my ntp server in local , mean I do not want to it will check date & Time from internet , It is own Date & Time & other clients will use this local server as a NTP server .
 
Old 01-26-2012, 06:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
There are some good tips here about fudging stratas within a LAN http://www.cameratim.com/computing/linux/time-serving but you may find it's more "fun" than expected as NTP tends to be pretty clever, and may well object to a time source that does not, in itself, sync to another higher source. If you can possibly make at least one server go off to pool.ntp.org or such like, then that would make things better in all sorts of ways.
 
1 members found this post helpful.
Old 01-26-2012, 07:17 AM   #3
pankajguptaspn
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Original Poster
Rep: Reputation: 0
but it is still not sync . with local ntp server 192.168.2.3


Client Ip 192.168.2.2

[root@omserver etc]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ntpserver.com .INIT. 16 u 1 64 0 0.000 0.000 0.000
LOCAL(0) .LOCL. 12 l 1 64 3 0.000 0.000 0.002
[root@omserver etc]# ntpdate -u 192.168.2.3
10 Nov 08:51:15 ntpdate[10783]: no server suitable for synchronization found
[root@omserver etc]#
 
Old 01-26-2012, 10:13 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Right, so you'd think that as there is a strata 12 server, it'd sync to it. my experiments with it didn't come to anything, but check out orphan mode http://support.ntp.org/bin/view/Support/OrphanMode Again it's trying to be a bit clever, which can be annoying, but this is the more modern way to formally run isolated instances.
 
Old 02-06-2012, 02:31 AM   #5
amitkvKNX
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
Hi,

Kindly help me in hosting NTP localhost server ... to which I need to connect a 3rd Party Unit - as Client which takes Time Setting information via network using NTP ....

Thanks in advance

AmitkvKNX
 
Old 02-06-2012, 02:36 AM   #6
amitkvKNX
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
To make NTP as localhost server on Red Hat Version3 (2.4.21-4.EL)

Host IP: 192.168.12.110

My "ntp.conf" reads:

server 127.0.0.1
restrict 192.168.12.0 mask 255.255.255.0
driftfile /var/lib/ntp/drift
broadcastdelay 0.008

==================================================

Kindly help ... whether the above Configuration satisfies the required server setting as localhost


Thanks in advance

AmitkvKNX
 
Old 02-06-2012, 03:53 AM   #7
amitkvKNX
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
IN addition to previous posts:

Screen throws following status on executing> ntpq -p

remoteId refId st t when poll reach delay offset jitter
==================================================================================
linuxServer 0.0.0.0 16 u - 64 0 0.000 0.000 4000.00


this means my NTP is not configured as Server or what????

Kindly help me in this regard its very urgent ....

amitkvKNX
 
Old 02-06-2012, 04:20 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please don't hijack other users threads. Your question = your own thread. ANd your requirements are not urgent for us in any way.
 
  


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
Can you host a local ntp server in linux? homer_3 Linux - General 7 09-28-2009 11:27 AM
Want to make local NTP server for Linux Debian SimonTHK Linux - Server 1 09-24-2009 06:13 AM
How to configure ntp server ? gaurav gupta Linux - Software 2 09-25-2007 01:12 AM
NTP Local Server Configuration saqis Red Hat 1 10-16-2006 05:45 AM
LOcal NTP server sawan Linux - Software 3 07-25-2005 12:08 AM

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

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