What is the apple time server

OsX Network Time Server | YOSEMITE

Setting up Time servers on Os X (servers) for the Os X clients of your network.

time.euro.apple.com as the source ntp Server.

Make sure your DNS are Ok and if needed Add Aliases records

On the Servers you want to deliver Network Time to your Computers, 2 would be a good choice.

Server hostname DNS Alias
srv1.example.com ntp1.example.com
srv2.example.com ntp2.example.com

I’ll consider you’ve setup the Time in System Preferences.

See below for commandline.

We’ll do as follow on the Servers :

Server hostname ntp server 0 ntp server 1
srv1.example.com time.euro.apple.com ntp2.example.com
srv2.example.com time.euro.apple.com ntp1.example.com

We’ll do as follow on the Clients :

Server hostname ntp server 0 ntp server 1
client1.example.com ntp1.example.com ntp2.example.com
clientn.example.com ntp1.example.com ntp2.example.com

Server Setup

Unload the ntpd service :

Two ntp Servers as source (time.euro.apple.com + other internal Server)

/etc/ntp.conf

Edit the file /etc/ntp.conf and add iburst at the end of the line of the ‘primary’ ntp server. iburst option will cause ntpd to synchronize right upon startup and not waiting too long. We only put it on the apple ntp server.

Srv1.example.com :

Srv2.example.com :

/etc/ntp-restrict.conf

Remove the noquery switch. Restrict to your Subnets only.

Srv1.example.com & Srv2.example.com:

N.B. : edit subnets according to your needs.

Reload the ntpd service :

Test the Time from a Client or a Server.

On any client (or on the server with 127.0.0.1 as IP) run :

Configure the clients

If you need to find out your timezone :

Stop ntpd

Set the time zone :

Enable Network Time:

Set the network Time Server:

note, that this command will permit you to enter ONLY ONE Server – aka – one line on /etc/ntp.conf. So this will do the trick :

reStart ntpd

Test it :

Configure the Servers from the command line

Set the time zone :

Enable Network Time:

Set the network Time Server: (server1)

Set the network Time Server: (server2)

Note : Editing the Pref Panes would blow this setting (at least the iburst option)

Usefull Sources :

Product and graphic designer turned to be a Mac SysAdmin.

Источник

Set the date and time on your Mac

You can have the date and time set automatically using a network time server, or set your computer’s date and time manually. Be sure your time is correct so time stamps on emails, messages and files are correct.

On your Mac, choose Apple menu

> System Preferences, then click Date & Time .

If the lock at the bottom left is locked , click it to unlock the preference pane.

Click Date & Time, then set the date and time automatically or manually.

Automatically: Select “Set date and time automatically”, then choose the network time server for your region.

Manually: Deselect “Set date and time automatically”, click today’s date on the calendar, drag the clock’s hands to show the correct time (or enter the time), then click Save.

Click Time Zone, then set the time zone automatically or manually.

Automatically: Select “Set time zone automatically using current location”.

Manually: Deselect “Set time zone automatically using current location”, click a location on the map, click the Closest Town/City pop-up menu, then choose the town or city closest to your location.

To choose the formats used to show dates and times in other languages on your Mac, see Change how dates, times and more display on Mac.

You can set options to customise how the time and the date appear in the menu bar. See Change Dock & Menu Bar preferences.

Tip: Click the date and time in the menu bar to open Notification Centre. Use Notification Centre on Mac

Источник

Question: Q: Setting date and time

Hello, I updated today to a new software 4.2.1 and since then, the ATV is stuck at «Setting date and time», I can press menu and get everything else, but I cannot login to my iTunes account. Any of 2 of them.

I do have some port forwarding internally but has nothing to do with internal->external traffic. I have also disabled it and keeps with the same issue. At «About» I can see «Network Time Skipped (reachable)»

Any idea what could be wrong?

Also, why cant I see the 4.3 update?

Posted on Mar 27, 2011 11:17 AM

All replies

Loading page content

Page content loaded

Mar 27, 2011 11:18 AM

I am having this same problem. The Apple TV is clearly connected to the internet because I can watch previews under the Movies category, but it will not set the date and time, I cannot log in to iTunes to perform the Network Test, and clicking Netflix does nothing at all (it plays the «clicked» noise and the screen remains the same).

Did you resolve this issue?

Edit: Moreover, the Apple TV is on the same wireless network that I am using to post this.

Apr 28, 2011 5:38 PM

I’m having the exact same problem! Did you ever get it figured out?

May 4, 2011 12:19 PM

After resetting the Apple TV, resetting my router, double checking my DNS settings, and waiting 30 minutes, I went to sleep. When I woke up the next morning, things seemed to be working. Sorry!

May 4, 2011 1:01 PM

I am also having the same issue. did you ever get yours resolved?

May 24, 2011 9:55 AM

We think it may be the router .. It’s an old Linksys.

I’ll have to do a little more searching around or possible buy a more up to date one.

Will Keep in touch!

May 24, 2011 10:06 AM

Can you please check your router settings. In my case, I have disabled NTP (Network Time Protocol) in my dd-wrt router to resolve the same problem stated by you.

Aug 3, 2011 8:11 AM

I posted this in reply to another query:

I had the same problem today with a brand new AppleTV — first I changed the time server on my Airport Extreme router, thinking that the Apple time server wasn’t accessible. This didn’t solve the problem. Then I changed the DNS settings on the router to the default server for my network (I had changed these some time ago. ) and that did the trick — rebooted the AppleTV and it synched with the network time very quickly. After that I could sign in to every service. So you can check your DNS settings on your router to be sure that they are set to a reliable Domain Name Server, and change them if need be. Best of luck.

Aug 4, 2011 1:29 AM

Read all this — however nothing solved my problem.

Have a Netgear FVX538 and the Apple TV 2 shows me for hours now that the device tries to syn date/time. No success. DHCP turned on. All my devices can connect to a time server over the internet.

Also setting the date zone manually does not help at all. AppleID and password not accepted.

Is there a port to be opened?

Aug 4, 2011 3:14 PM

Forgot to say, that Apple TV 1 works without any problems.

Aug 4, 2011 3:43 PM

So lucky that you fixed your issue Ethan John. I’m still stuck. Trailers work. No Youtube and no Netflix ( i just get the clicking sound and basically cannot select it). Grrrr. I am also on the same network writing this message as my AppleTV is so it’s not the wireless I imagine.

Any other suggestions out there. HELP!!

Aug 8, 2011 8:27 PM

Mine does the same thing after the update, but if i let it alone it seems to update after about 10-15 minutes. Must be a new feature 🙂

Also I have my DNS set to use OpenDNS servers

Aug 9, 2011 12:13 PM

I am also having the same exact issue. I have a cisco router. Everything in my house works on 802.11n but my apple tv wont set the time and date.

Any help is good.

thanks in advance

Aug 12, 2011 3:50 AM

I have had the same problem. I went into the settings and set the time zone to auto for configuration. This seemed to resolve my problem.

Aug 14, 2011 8:03 PM

I have the same problem and it seems to occur when I loose network connectivity (like today when I lost power temporarily).

I do not have my AppleTV set to automatically set time — since for a short time I’m not physically in the US and I want to use my US-based services of my iTunes Store account — so I manually set the time. When the machine reboots, it goes to manually check the time but I think the fact that I don’t have automatic time on makes it stall. I went through the process of changing it so that it checks time, it sets the time where I am, then I manually go change it back — and everything works again.

Aug 15, 2011 2:34 PM

Question: Q: Setting date and time More Less

Источник

Question: Q: How to automatically update time?

iMac 24″, MacBook Pro 15″, Mac OS X (10.5.2), Apple TV, Time Capsule

Posted on Apr 28, 2008 1:32 PM

Krakatos wrote:
. Is it possible to force an update somehow?

Yes, it’s possible. You have to:

a/ uncheck «set date & time automatically»

b/ load Terminal and type

$ sudo ntpdate time.apple.com

c/ check again «set date & time automatically»

Here is how it looks like on my machine:

thierryv$ sudo ntpdate time.apple.com
Password:
29 Apr 00:11:33 ntpdate[1016]: adjust time server 17.151.16.22 offset 0.012627 sec

Posted on Apr 28, 2008 3:14 PM

All replies

Loading page content

Page content loaded

Apr 28, 2008 1:42 PM

For me, it updates whenever I open date and time preferences. I know this because my Mac Pro in my office has a faulty chip that controls the clock, and the clock gains about a minute every 24 hours. Once I open date and time preferences it resets to the correct time. This is of course a manual update. Not sure about the automatic one.

However, unless, you have a faulty chip like me this isn’t something you have to worry about too often. Why do you ask?

Apr 28, 2008 1:46 PM

tele_player wrote:
ntpd (the program that does the automatic time stuff) is pretty complex, especially in regards to when updates happen, and by how much the clock will be changed. In a case like yours, I’d turn off automatic update, set the clock, then turn on automatic update.

Don’t do that (turning of ntp). NTP fixes errors only within one hour of range. It does it constantly if the NTP client is loaded and backgrounded.

In order to catch and fix larger errors, one has to invoke «ntpdate» . and it’s exactly what MacOSX does.

Apr 28, 2008 2:45 PM

V.K. wrote:
For me, it updates whenever I open date and time preferences. I know this because my Mac Pro in my office has a faulty chip that controls the clock, and the clock gains about a minute every 24 hours. Once I open date and time preferences it resets to the correct time. This is of course a manual update. Not sure about the automatic one.

However, unless, you have a faulty chip like me this isn’t something you have to worry about too often. Why do you ask?

I don’t think your clock chip is «faulty». If such had happened, it’ll dead as a brick can be. It’s either your quartz that is drifting out of nominal range, or a bad divider scaling setting of your «clock chip».

Or — more probable — you have a problem with your office network time server. You have to check in your system logs for indication on how much error your ntp client is catching. Here is it’s last entry in my syslog.

ntpd[25]: time reset +1.941662 s

Apr 28, 2008 2:51 PM

According to the ntpd man page, use of ntpdate is deprecated, and ‘ntpd -q’ is suggested. Additionally, from the ntpdate man page:

##
The ntpdate utility will decline to set the date if an NTP server daemon
(e.g., ntpd(8)) is running on the same host.
##

So, I stick with my suggestion, though as others have mentioned, I’ve seen that simply opening Date&Time preferences causes the clock to be updated.

When you turn off ‘set date & time automatically’ then turn it back on, OS X first runs ntpdate for the initial setting, then starts ntpd to keep things updated.

Apr 28, 2008 3:02 PM

Krakatos wrote:
My logic board was replaced, so my system time and date are out of whack. I’d like to have them automatically update. In the date & time options, I have enabled automatic update from the U.S. server (time.apple.com). The time has not updated, however, after several hours. Does the auto update happen only once a day, or maybe once a week? Is it possible to force an update somehow?

It should be working . but there is a big «glitch» right now with Apple’s launchd, responsible to load in background your «ntp client»

So, ntp is apparently loaded in memory (as far as my system is concerned), but the initial catch of the «large» errors is failing.

NTP can’t catch and fix errors greater than one hour. Normally, when you activate «Set date and time automatically», MacOSX calls in «ntpdate» that catches and fix large date+time errors. ntp, in background adjusts permanently any slight drifts.

Because of this issue, and that your date+time is largely offset, ntpdate isn’t called by launchd

Apr 28 23:52:26 sandiego com.apple.service_helper[881]: launchctl: Error unloading: org.ntp.ntpd
Apr 28 23:52:26 sandiego com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight

Let’s hope this will get fixed.

As an interim solution for you, I recommend you manually adjust the date+time approximately to be below one hour of error. Then, ntp will catch it.

I hope this helps,
Thierry

Message was edited by: Thierry de Villeneuve

Источник

Читайте также:  Nfs underground для айфон
Оцените статью