Ntp refuses to sync with error "Can't assign requested address"

I'm attempting to use ntp to sync to several different time servers, including hte apple server and those in the ntp.org server pool. In all cases, I cannot sync correctly, with many system log and consol error messages of the form:
ntpd[5123]: sendto(xxx.xxx.xxx.xxx): Can't assign requested address
I checked that the firewall is allowed UDP connections on port 123. Some googling hinted that hte problem may be changing IP address of my laptop when i sleep it and wake with a different IP, so I manually restarted it, and everything was fine.
Anyone know how to reliably start/restart ntp when I wake from sleep?
cheers

It looks like Java is consuming all client-side TCP
ports. When the error occurs, I also start to have
problems connecting from my browser to any Web-page.I would take this as an indication, that the problem is on the server side and the web server might keep some resources after the client disconnects from the socket. You could verify that if you run your test program from another computer after the error occurs. If that program is again able to open connections, then this might indicate that the problem is in fact on the client side. However if also access from another machine is blocked, then I would guess it is a server side problem.
Am I having to wait for the garbage collector to free
the ports, or is this an OS X problem?Garbage collection is not an issue here.

Similar Messages

  • Scoket connect fails with: Can't assign requested address

    Hi All,
    I am running Java on Mac OS X 10.4.8 (Intel). I run the following code:
    for (i=0; i<20000; i++) {
         java.net.Socket socket = new java.net.Socket();
         socket.connect(new java.net.InetSocketAddress("localhost", 80));
         socket.close();
    After about 16380 local TCP connections, connect is failing with the error message "Can't assign requested address".
    After waiting for a while, I can connect again.
    It looks like Java is consuming all client-side TCP ports. When the error occurs, I also start to have problems connecting from my browser to any Web-page.
    Am I having to wait for the garbage collector to free the ports, or is this an OS X problem?
    Any help or ideas would be welcome.
    Thanks,
    Paul

    It looks like Java is consuming all client-side TCP
    ports. When the error occurs, I also start to have
    problems connecting from my browser to any Web-page.I would take this as an indication, that the problem is on the server side and the web server might keep some resources after the client disconnects from the socket. You could verify that if you run your test program from another computer after the error occurs. If that program is again able to open connections, then this might indicate that the problem is in fact on the client side. However if also access from another machine is blocked, then I would guess it is a server side problem.
    Am I having to wait for the garbage collector to free
    the ports, or is this an OS X problem?Garbage collection is not an issue here.

  • HT2311 Just downloaded newest itunes version. Now, it refuses to open, with error message, "This version of iTunes has not been correctly localized for this language. Please run the English version." Any thoughts?

    Just downloaded newest itunes version. Now, it refuses to open, with error message, "This version of iTunes has not been correctly localized for this language. Please run the English version." Any thoughts?

    I had the same problem,  I reinstalled and lost all my music now I cant even retrive it from emusic where i purchased music....

  • My macbook air refuses to sync with a lot of projectors,,, ..

    My macbook air refuses to sync with a lot of projectors,,,please help ..will updating it to mountain lion os solve the problem

    My wife has a MacBook Air that is currently running Lion. However, it's original 80 Gig 4800 rpm hard drive was replaced with a SSD from OWC. It's performance with Lion is acceptable.
    If your MacBook Air had the optional SSD, you may also find that the Lion performance will be acceptable.
    You should make an external hard drive backup before uprading. You could also do a trial install of Lion on the external beforehand.
    http://eshop.macsales.com/shop/SSD/OWC/Air-Retina/Apple-MacBook-Air-2008-Drive-I nternal
    It is true that older software written for the PowerPC platform will not run in Lion, as Rosetta is not available. However, there are increasingly newer versions of software that won't run in Snow Leopard. See: http://roaringapps.com/apps?index=a

  • Contacts deleting by themselves and iPhone needs a full backup restore after refusing to sync with iTunes. - Pls Help!

    I have had my new iPhone 5s since the middle of December 2013 and I really enjoy it, however, I'm finding the iOS a little unstable.
    I backup often - whether to iCloud or to my iMac at my office or to my Acer Windows 7 based Notebook at home, and I have had to do a full backup restore of my phone software after it suddenly refused to sync with iTunes. The only option open to me was "Restore iPhone" which also is a nuisance and takes a little while if you have a lot of content on your phone. I've had to do this 3 times now and it's getting on my nerves!
    Also, as I type this, my contacts are suddenly removing themselves from my phone book. I discovered this as I was going through my Whatsapp messages when I noticed a few numbers in my recent chats that didn't have names or contact pictures. When I scrolled to the top of the message, I noticed that the "add contact" detail was suddenly available. I immediately checked my phone book and noticed that those contacts are no longer available. A lot of my numbers are suddenly showing up like this within the last hour and I haven't changed any settings at all. I back up to my notebook and iCloud once a week. This problem is a first for me  as well.
    I must point out that I never had these issues with my iPhone 3GS which was only becoming cumbersome due to its outdated OS and because of its processing speed.
    Will I need to wait for the next IOS Update to solve this problem, or will I have to find an alternative solution?
    Any advice you have to offer would be most welcome.

    Simplify your question,will you? I have trouble in reading such a long English article.

  • HT1212 hi my daughter has disabled her iphone 4 and its never been synced with itunes can anyone help please

    hi my daughter has disabled her iphone 4 and its never been synced with itunes can anyone help please

    iOS: Forgotten passcode or device disabled after entering wrong passcode - http://support.apple.com/kb/ht1212 - Learn what to do if you have forgotten or can't remember your passcode, or if your device displays a message saying it is disabled.

  • Error starting HTTP-Server: Cannot assign requested address: JVM_Bind

    Hi.
    Anyone know how to configure the Oracle HTTP server within Jdeveloper9i to work?
    When I try run a JSP page, I get the following error:
    C:\Oracle9iDS\jdk\bin\javaw.exe -ojvm -classpath C:\Oracle9iDS\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\Oracle9iDS\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8888, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Cannot assign requested address: JVM_Bind
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Please contact me at [email protected]
    cheers paul

    A JVM_Bind error means that the port is already in use. This is an unusual error message to get because JDev scans the ports ahead of time to make sure they are free before launching the server.
    Check if you have any processes running that might be holding port 8888. There might be a previous instance of the OC4J server running that hasn't released port 8888 yet. On Windows, at a command prompt, you can use "netstat -a" to see local ports that are in use.

  • I can't install itunes 11.0.4.4 and so I can't sync with IOS7 can't uninstall old Itunes error message saying some files are missing.  What to do?

    I am trying to install the latest version of Itunes so I can Sync with IOS7 but I keep getting an error message saying it can't dis-install the old version Missing itunes64 files.
    I tried to just un-install the old version but my computer tell me it can't because some files are missing.  I don't know how to find them or how to fixx my problem.  Can anyone help?
    Thanks

    I keep getting an error message saying it can't dis-install the old version Missing itunes64 files.
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Sync with Shuffle/can't play songs that are on shuffle

    I can no longer play the songs that are on my shuffle when I sync with itunes. Before the update I could select a song and play it before I would remove it.
    I can select the song but the play button remains gray. This is no good because I would regularly add and remove songs. I like to give a quick listen before I remove the song. Can't do that now.
    Help?
    thanks in advance

    Well I restarted my computer and sync'd my shuffle again for the 3rd time and now it likes it again. All songs play like before now. Still dont know why it did this though?

  • My ipad won't sync with itunes, can anyone help

    My ipod tpuch and ipad won't sync with itunes even though they are recognised by my comuter. i have uninstalled and reinstalled itunes but still won't sync. How can i get my equipment to sync with itunes?

    It has been shown there are problems with the latest update of iTunes and Windows computers. What you need to do is remove and reinstall iTunes, and make sure that you follow the steps in this support document exactly. http://support.apple.com/kb/ht1923. If you do not follow them exactly, you will just compound your problems. Once you do this, you should have no trouble having the phone recognized in iTunes.

  • I have an iPod Touch 4th Gen. that refuses to sync with iCloud calendar. The calendar on my iPod doesn't even show an "add an event" icon! Any suggestions??

    Since upgrading to iOS 5 and Lion, my iPod 4 calendar has become unusable. It will not sync with iCloud or my Macbook Pro. Suggestions?

    Yes. I have already been through every online suggestion on the Tech Support page for iCloud. VERY frustrated at present.

  • HT1414 Can not open iPad due to incorrect password attempts, has not been sync with iTunes can does anyone know another way?

    Need help to reset iPad password settings due to wrong password attempts, have not sync with iTunes

    It appears you will need to contact Apple Support who are able to reset your account details.
    Click the link below and select the country you are in:
    Apple Support

  • Tungsten E Desktop refuses to sync with Yahoo! calendar.

    I am unable to sync my desktop and Yahoo! calendar.  My desktop will sync with the handheld, just fine.
    Any suggestions are welcome.
    Rev_Bud

    This just happened to me. Lost all my info on my phone but when I logged onto my laptop it showed all info was still in my calendars. If this is the same for you need to go to your settings, then go to mail,contact,calendar, then go to add account, then other, add CalDAV account.. You will have 4 things to fill out put Yahoo (server name) put your  yahoo email and password and the description as yahoo... When you hit save will change the server name on it's own to CalDAV.calendar.yahoo.ca..... Once this goes threw all your info should come back to your calendar. This is what I did and it worked. Hope this helps.......

  • Be aware:  iCloud sync with Outlook can mangle calendar.

    Hey Apple, this is really unfriendly behavior!  Not warning of the irreversible changes that will be made in Outlook is irresponsible, to say the least. Syncing calendar data with iCloud does the following:
    1.  Creates a new calendar named "Calendar in iCloud".
    2.  Transfers all existing calendar data to the new calendar, removing it from the original calendar "Calendar".
    Why is this a problem? 
    1.  "Calendar" is still the default calendar for new entries and it is not synced. 
    2.  Entries for "Calendar in iCloud" don't appear in the ToDo Bar. 
    3.  If you accept an outlook invitation, it is created in "Calendar" so it is not synced.
    4. If you sync with Google Calendar from Outlook, as I do, the first sync will wipe out all Goole Calendar entries because it is syncing with "Calendar".
    5. I haven't found a way to reverse this mess.
    Thanks for the new features.

    I also have the same issues regarding the poorly designed calendar integration and synch.  I now have two calendars, Outlook and iCloud.  iCloud doesn't see the Outlook calendar events automatically and copying them over to the iCloud calendar, resends invitations.  No apparent way to change default email account to work vs personal email.  Without this, Calendar invites get sent using personal account instead of business account. Very frustrating.  Pretty dumb to miss this obvious use case. 
    Like others have said the duplication of events is also a pain.  While the desktop synch required you to connect PC to phone, at least it worked without all these dumb issues.  I seriously considering returning to connected synch.  Very disappointing; not a real solution to keeping multiple devices in synch, in fact in many ways it makes it worse.

  • Programmatically generated emails sometime failed with error "Message included an invalid address".

    Hi, 
    I am facing a strange problem. I would appreciate if someone can help me. 
    Our application sends emails periodically (every 30 minutes). Initially emails send out correct but then the emails stop with error message "Message included an invalid address" after some time. 
    FYI, the devices are using MDS/BES connection. Contect protection is enable. etc. 
    Below is the code used to send emails:
    Message message = new Message();
    Address toAdd = new Address(emailTo, emailTo);
    Address toAdds[] = new Address[1];
    toAdds[0] = toAdd;
    message.addRecipients(Message.RecipientType.TO, toAdds);
    message.setSubject(subject);
    message.setContent(messageData);
    net.rim.blackberry.api.mail.Transport.send(message);
    Thanks for your time. 
    Sali

    I enabled the contect protection on my test device and then after few emails the emails show red cross when device was locked with the same error.
    So I believe the email does not go out when the content protection is enable and deice is locked. 
    Any idea to fix our email process?

Maybe you are looking for

  • Bw data source

    hi all,          i create one report using vendor_attr data source data from r3 coming properly now when i use same data source (vendor_attr) for new report that data source not shown at the time of assigning . it means we cant use used data source f

  • Impact of having the fsmo role holders not available for 14 hours...

    Hi everyone, we have a situation where we will lose power to the building for 14 hours and since we don't have a generator we'll be shutting down our main site. We have 15 sites, each has a dc and the hq site has two with the fsmo roles distributed b

  • Hi duplicate problem

    Hi, I have a very big duplicate problem. I only have +- 1900 contacts but there are now 21500 contacts in my icloud contacts. I tried to delete all but it does not work, Then I tried to delete the folders Then I sat here for almost one day trying to

  • Problem with purchased content

    heya guys, In the time I have had my iPhone I have bought 2 audio books. One I bought direct from iTunes and then synced it onto my iPhone and then the other I bought on iTunes while in a coffee shop over wifi. The book I bought in iTunes can be foun

  • Compile and run  applications under win2000

    Hi, everyone! im a newbie in java. can anyone tell me how to compile and run java applicaions under win2000 enviroment. all my applications are saved in floppy disk. thanks!