473,396 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to configure local NTP server in centOS

I follw the below steps to configure the ntp server but it is not working:

[root@VivTimeServer ~]# vim /etc/ntp.conf

restrict default kod nomodify notrap nopeer noquery

restrict 127.0.0.1

server 127.127.1.0

fudge 127.127.1.0 stratum 10

driftfile /var/lib/ntp/drift

keys /etc/ntp/keys

server 127.0.0.1
restrict 10.10.2.0 mask 255.255.255.0 nomodify notrap noquery

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

[root@Client1 ~]# vim /etc/ntp.conf

driftfile /var/lib/ntp/drift

restrict default kod nomodify notrap nopeer noquery

restrict -6 default kod nomodify notrap nopeer noquery

restrict 127.0.0.1

restrict -6 ::1

includefile /etc/ntp/crypto/pw

keys /etc/ntp/keys

server 10.10.2.42
restrict 10.10.2.0 mask 255.255.255.0 nomodify notrap noquery

================================================== ======
OS = CentOS-6.4
But When i Try to sync it give below message
ntpdate -u 10.10.2.43
12 Nov 15:08:51 ntpdate[2743]: no server suitable for synchronization found

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

Guide me how I can resolove this
================================================== =====
Nov 12 '13 #1
1 2182
sicarie
4,677 Expert Mod 4TB
I searched "centos configure ntp" and none of the configuration guides mentioned editing the config files. I'm assuming you've already installed the package as you have the files on the server, so have you run the following command?

Expand|Select|Wrap|Line Numbers
  1. ntpdate pool.ntp.org
Nov 13 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ref | last post by:
Hi I am new with Replication I develop Now the Microsoft Server 2000 Replication And I chose Snapshot type for replication All I need to copy Part of db from Publisher via distributor to...
1
by: BGuy | last post by:
When I am attempting to connect to SQL Server 2000 on my local server, I get the following error: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection" My...
0
by: Mr. Land | last post by:
Hello. I'm having trouble creating a new Web project using VS .NET 2003 on the local default web. I've done a lot of research about this and found a lot of suggestions, but none of them seem to...
5
by: Christopher | last post by:
Can anyone please guide me how to configure SQL Server session state. I have configured upto an extent, but it is giving error. -- Christopher
4
by: Nathaniel Sherman | last post by:
Alright, folks, here's the deal... I'm working on migrating a classic ASP website to an ASP.NET codebase. At the heart of the site is a MySQL database. To make sure an "in-process" program...
5
by: ljlevend2 | last post by:
Is there any way to create a local server during runtime? For example, if you add an existing Web Site to a Solution from within Visual Studio (by right clicking the solution in the Solution...
1
by: sadaiyan | last post by:
hello ppl, i have installed sql server 2005.After that when initialize server connection the server name is not be available there. In that connection menu there are three fields namely server...
1
by: Adrienne Boswell | last post by:
This is the strangest thing. On my local beta server (WinXP Pro SP3, PHP 5.2.3), I am getting an unexpected $end. On the production server, I am not. The files are identical. Just for shits and...
2
nicebasic
by: nicebasic | last post by:
I'm new to PHP. To be honest, I know nothing about PHP. I can only code in ASP Classic. Since my server runs on Linux, it cannot support ASP Classic. That's why I need a piece of code to copy a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.