Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
probably your time is too different. ntp only makes small adjustments, not big ones. try setting your time manually then check if ntp can then sync it.
why NTP synchronized: no?. how i fix this problem and what is mean that ?
Code:
timedatectl | grep NTP
NTP enabled: yes
NTP synchronized: no
You don't provide us any details, such as version/distro of Linux, or tell us anything about your current NTP configuration; we can't guess. If you provide details we can try to help. You may not have an NTP pool set up, your firewall is blocking it, or your internal time source is down. Again, you provide no details.
And if you don't know what NTP is, or even what the problem means, why are you trying to fix it?? Your administrator can help you.
why NTP synchronized: no?. how i fix this problem and what is mean that ?
Code:
timedatectl | grep NTP
NTP enabled: yes
NTP synchronized: no
Posting the same thing again doesn't tell us anything new.
Quote:
I am using CentOS 7 minimal version and using the command line in MobaXtream. please help to solve this problem. i was trying so many time. but NTP synchronize is always NO. please help me
You posted settings on a WINDOWS Machine....not Linux. Again, we need to know how you have the LINUX system configured if you want help with Linux. Again, as you were advised before, if your time settings are vastly different than the NTP server, things won't sync initially.
...which has complete instructions. If you're not going to read the answers you get or post responses to questions, there isn't going to be anything folks will be able to help you with. Read the LQ Rules and "Question Guidelines"
what should i do?
my time-server not synchronize and I am also not configure my NTP please help me
Sorry, but are you not reading or understanding what you're being told and asked??? Posting screenshots of your Windows system is pointless, since you are AGAIN asking about Linux. And again, posting the same things over and over saying "help me" is also pointless.
Again:
Is your firewall blocking NTP access to the servers?
Can you actually use those servers on your Windows system??
How far is the date/time from the actual time and have you tried manually syncing it??
Have you actually opened/read/understood the simple step-by-step guide that was looked up for you and given to you???
You say you've been working on this for a long time...which is very hard to believe since you can't tell us any answers to any of the questions that would have come up if you have been working on it and doing any research.
Again: answer the questions asked. Don't post screen-shots, and posting ANYTHING about your Windows system is meaningless, since *YOU ARE ASKING ABOUT LINUX NOT WINDOWS*
The last screenshot shows a Windows machine running an instance of CentOS 7 in VMware.
Looks to me like the OP is trying to get the CentOS instance to synchronise with NTP.
I would have thought that the simplest approach would be to let Windows handle the time synchronisation and get the VMware instance to use the time from the local machine.
Still dunno why OP is concerned about ntp sync either. Maybe just having a timezone issue? Or virtual machine may be the UTC thing; virtualbox has a checkbox "hardware clock in UTC time"; vmware probably has something similar, maybe got the check wrong.
The last screenshot shows a Windows machine running an instance of CentOS 7 in VMware. Looks to me like the OP is trying to get the CentOS instance to synchronise with NTP. I would have thought that the simplest approach would be to let Windows handle the time synchronisation and get the VMware instance to use the time from the local machine.
Agreed, but they may be doing this as an exercise, or have a specific need; no information from the OP either way. To me, the only ways that NTP is going to fail are:
No connection to a time reference source (typically an Internet pool).
Time on server is too skewed to make an adjustment to NTP
So either it's a networking issue, or the time on the server is too far off. From the screen-shot posted, it says they're using an Internet pool, and if they tried a simple diagnostic of just pinging that time pool, they could know if it was reachable or not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.