[solved]A bit confused about openntpd

I installed openntpd to keep my system clock synchronized back when I installed Arch. I added it to my daemons array as suggested in the wiki (@openntpd) and haven't given it much thought since then. I only recently noticed that my system time was about 5 minutes ahead of the rest of the world (which worked out in a way as all my clocks are set to my computer, which explains why it's been so long since I missed a bus or showed up 5 minutes late for something).
I've just run "ntpd -sd" and it set the clock right immediately (I'm not worried about log consistency right now), which makes me wonder what the point of having openntpd in the daemons array is if it doesn't seem to do anything. It's been in there for nearly a year and yet my time still shifted. Am I doing something wrong? The only lines in the daemons log related to ntpd are ones showing when it terminated.
Also, is there a way to run ntpd so it just sets the time and exits instead of hanging around in daemon mode? It seems that it constantly checks with the server pool for minor time shifts.
[edit]
I probably should have done this first, but I'm searching the forum right now for related issues. So far I've deleted /var/lib/hwclock/ajdtime as suggested here because the first number was > 4.5. I don't know if that has any affect but somehow I would still expect openntpd to set the correct time (which it did when run in a terminal).
[/edit]
Last edited by Xyne (2009-06-12 14:55:32)

When run in a terminal with "-sd", it remains open and continuously prints out replies, which is what I was referring to (maybe it stops after a while but I haven't tried leaving it open long enough to find out). I wanted to know if it were possible to run it once to set the time and then exit. It seems that ntpdate does this, as arkham replied above. I thought it would be possible to do that with ntpd. I've been running it in daemon mode since I first installed and I know that it doesn't constantly ping different servers (I have the switch where I can see it so I know when the network is being used).
I don't use network manager but thanks for the reply. At the moment it seems to be enough that I've unbackgrounded openntpd. The only problem with that is that it adds a few extra seconds to the boot process which is annoying (normally it flies through my daemons, now it waits on that).

Similar Messages

  • I'm a bit confused about standby log files

    Hi all,
    I'm a bit confused about something and wondering if someone can explain.
    I have a Primary database that ships logs to a Logical Standby database.
    Everything appears to be working properly. If I check the v$archived_log table in the Primary and compare it to the dba_logstdby_log view in the Logical Standby, I'm seeing that logs are being applied.
    On the logical standby, I have the following configured for log_archive_dest_n parameters:
    *.log_archive_dest_1='LOCATION=/u01/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_2='LOCATION=/u02/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_3='LOCATION=/u03/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_4='SERVICE=PNX8A_WDC ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PNX8A_WDC'
    *.log_archive_dest_5='LOCATION=/u01/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_6='LOCATION=/u02/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_7='LOCATION=/u03/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    Here is my confusion now. Before converting from a Physical standby database to a Logical Standby database, I was under the impression that I needed the standby logs (i.e. log_archive_dest_5, 6 and 7 above) because a Physical Standby database would receive the redo from the primary and write it into the standby logs before applying the redo in the standby logs to the Physical standby database.
    I've now converted to a Logical Standby database. What's happening is that the standby logs are accumulating in the directory pointed to by log_archive_dest_6 above (/u02/oracle/standbylogs/ORADB1). They do not appear to be getting cleaned up by the database.
    In the Logical Standby database I do have STANDBY_FILE_MANAGEMENT parameter set to AUTO. Can anyone explain to me why standby log files would continue to accumulate and how I can get the Logical Standby database to remove them after they are no longer needed on the LSB db?
    Thanks in advance.
    John S

    JSebastian wrote:
    I assume you mean in your question, why on the standby database I am using three standby log locations (i.e. log_archive_dest_5, 6, and 7)?
    If that is your question, my answer is that I just figured more than one location would be safer but I could be wrong about this. Can you tell me if only one location should be sufficient for the standby logs? The more I think of this, that is probably correct because I assume that Log Transport services will re-request the log from the Primary database if there is some kind of error at the standby location with the standby log. Is this correct?As simple configure as below. Why more multiple destinations for standby?
    check notes Step by Step Guide on How to Create Logical Standby [ID 738643.1]
    >
    LOG_ARCHIVE_DEST_1='LOCATION=/arch1/boston VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=boston'
    LOG_ARCHIVE_DEST_2='SERVICE=chicago LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=chicago'
    LOG_ARCHIVE_DEST_3='LOCATION=/arch2/boston/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=boston'
    The following table describes the archival processing defined by the initialization parameters shown in Example 4-2.
         When the Boston Database Is Running in the Primary Role      When the Boston Database Is Running in the Logical Standby Role
    LOG_ARCHIVE_DEST_1      Directs archival of redo data generated by the primary database from the local online redo log files to the local archived redo log files in /arch1/boston/.      Directs archival of redo data generated by the logical standby database from the local online redo log files to the local archived redo log files in /arch1/boston/.
    LOG_ARCHIVE_DEST_2      Directs transmission of redo data to the remote logical standby database chicago.      Is ignored; LOG_ARCHIVE_DEST_2 is valid only when boston is running in the primary role.
    LOG_ARCHIVE_DEST_3      Is ignored; LOG_ARCHIVE_DEST_3 is valid only when boston is running in the standby role.      Directs archival of redo data received from the primary database to the local archived redo log files in /arch2/boston/.
    >
    Source:-
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ls.htm

  • A bit confused about VFS in AppV 5.0?

    Guys,
    I'm a bit confused about VFS in AppV 5.0. Can any one describe me VFS in 5.0?
    If it is in 4.6,  if we install the app in C:\ [any drive other than Q:\]  then it is called VFS?
    But, how about in 5.0. 
    Thanks in advance.

    Hi VINOD597,
    With AppV 5 we have PVAD (primary virtual application directory) and the VFS. When you install an application to the PVAD everything outside the PVAD will get in the VFS.
    Read the following link for more information:
    http://www.tmurgent.com/TMBlog/?p=1283

  • Bit Confused About Leopard Firewall

    Hey ya'll!
    I'm a little confused about what's going on with the Leopard firewall. It seemed that before, you could choose an application, and which ports you wanted to associate with it, via the System Preferences > Sharing > Firewall tab. Now, they went and moved it, and you can only choose the app, and whether it can receive incoming connections. OK, fine. So let's see what ports are open:
    Thee-MacBook:~ rick$ sudo ipfw list
    Password:
    33300 deny icmp from any to me in icmptypes 8
    65535 allow ip from any to any
    Huh? How come I'm only seeing two rules here?
    My original concern was for SoulseeX, and whether the required range of ports were open. While I can search and download, others have problems downloading from me, and I cannot directly connect to others, and other weirdness. So I decided to start checking things out.
    I do have SoulseeX listed in the Firewall tab, and set to receive incoming connections. But when I used this site <http://closer.s11.xrea.com/etc/port_scan.php> to test port 2234, it returned "failed".
    In short, here's what I'm wondering:
    Is the Firewall tab in System Preferences using ipfw?
    By setting an app in the Firewall tab in System Preferences, is the entire range of ports the app wants, in SoulseeX' case, 2234, 2235, 2236, 2237, 2238, 2239, and 2240, made available?
    How can I see what rules are being used, what ports are open?
    Will writing (a couple of) my own rules to ipfw screw up the other settings in the Firewall tab? I would, if possible, like to keeps things simple, and not have to rewrite all the rules by hand. Besides, I'm not exactly an expert!
    TIA!

    Leopard's application firewall is not a port firewall. I'm not sure where you would be able to see the actual port numbers that an application has opened, but your failures may be due to the ports being stealthed. Theipfw firewall is still there if you want to use it - the new firewall won't overrule it.

  • A little bit confused about my review app

    Hi,
    I'm a little bit confused .
    I have released on store my app for IOS 5.1 several mouths ago. Now to check that my app is IOS 6 compatible have installed xcode 4.5.
    I thought that my correct tests were :
    - build for IOS 6.0 to check if it run on for device that upgrade to IOS 6.0
    - build for IOS 6.0 to check if it run on device that NOT upgrade to IOS 6.0 (still 5.1)
    but i cannot run for simulator 5.1 with xcode 4.5!!!
    how i can check it!!
    Maybe i'm wrong . Could someone help me for my doubt ?
    Best Regards
    Al

    Hardware > Version > 5.1
    Don't forget to test it on real hardware. There should be plenty of iOS 5.1-limited devices available real soon now. Keep one of those for testing.

  • I'm a bit confused about the new Mail, Contacts prefs

    Is anyone else a bit confused with all the new sharing features in the Mail, Contacts & Calendars panel? If I can create address book accounts directly, why would I need to share the "on my Mac" contact list?
    Why is it that I can use the Microsoft Exchange for Google on my iPhone but it won't work in Lion? Has anyone gotten it to work?
    Can anyone share how they have theirs setup and what do they use each one for?

    Yes, you can create a new site, publish to MobileMe and redirect your domain name to it. More info on that can be had here:
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    http://docs.info.apple.com/article.html?path=MobileMe/Account/en/acct17114.html
    http://iwebfaq.org/site/iWeb_Domains.html
    FWIW MMe tends to be much slower overall and has no ear to ear support in case you need it. For a personal site it's OK but for a commercial site you would be better off on a commercial hosting server.
    OT

  • Im a bit confused about the Cloud

    I wanna buy Creative Cloud but  im very confused about that name  ...
    I wann use Lightroom and CC for my computer and Laptop - I guess it's working , aren't it ?

    The Cloud is a delivery process where you pay monthly or annual rent to use programs
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    Special Photography Plan
    http://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html

  • A bit confused about updating

    Hi All,
    Last night I loaded about 550 songs onto my 4gb nano. Today I thought it best to go through the library and uncheck lots of songs that I don't want on the nano...but when I try to update it says there is not enough free space. And when I look into the actual ipod song list it is grayed out and I am unable to deselect songs there. I have the songs encoded ACC at 192 bit rate so at least 700 songs should fit??? So how do I update the ipod and get rid of the songs I don't want...I thought what it would do it do the update and when doing so it would delete the songs I had unchecked....and yes, I checked the box in the preferences that says to update only checked songs.
    Tammy

    It will not automatically delete the songs
    you should turn on Manually manage songs in iTunes Preferences
    and then select the ipod icon and remove all the songs using iTunes
    and then restart from there

  • I'm a bit confused about this 32 bit and 64 bit stuff

    Martin Evening's book says "If your computer hardware is 64 bit enabled and you are running a 64 bit operating system, you can run Lightroom as a 64 bit program."
    Well I'm currently running XP 64 Bit with 4 GB of RAM inside. How do I run Lightroom in 64 bit mode?
    He says Windows 7 users and Windows Vista users will want to buy the 64 bit version of Lightroom. I don't see any 64 bit versions of Lightroom. And for those of us on XP?

    Road Worn wrote:
    I bought the disc. I explored the disc and I did find the Setup32 and Setup64 on there so I will assume the installer installed the correct version for me.
    You can check in task manager, whether LR is running in 32 or 64-bit mode for you. AFAIK, the 32 bit processes should be marked *32 in WinXP also.
    What version of LR are you running? Since you installed from CD, you might have LR3.0 installed. In this case I would strongly suggest you download Version 3.4 from here and install it. There have been many bug fixes from 3.0 to 3.4.
    Beat

  • Bit confused about shipping practices...

    Long story short: I was just told by FedEx that, although Apple had it shipped on Mar. 30, specified that it should be delivered on April 5.
    Here's where I'm confused: That's five business days. I ordered two day shipping. How does that work?
    In the FedEx rep's words, there was no chance of it being delivered before Weds. due to that and I should contact my "shipper" (i.e. Apple).
    My package went from Shanghai to Anchorage, from Anchorage to Indianapolis, and from there to Columbus, where I am. Right now the tracking shows it's at "dest. sort facility," which I'm told is at the airport.
    Can anyone familiar with this wacky game of package delivery help me out here? If they're not going to deliver until Weds., I think I should be able to pick it up once it's at the FedEx location in Columbus (which I'm told is different than the dest. sort facility). Does it sound like a good plan to drop by there on Monday?
    This all just seems like a bad April Fools joke. Oh well--sorry if my rant isn't really accomplishing anything, I had to vent :\

    Hi Animal,
    Your shipment would have cleared customs in Alaska. FedEx has their own customs clearance process. Since it is in your local sort facility, you will receive it on Monday. You will not probably see the system updated, until the next movement, which would say "on FedEx vehicle out for delivery", on Monday morning. Enjoy your new computer!

  • A bit confused about setting up two accounts in iTunes

    Dear Folks,
    I now have two iPads, which I (need to) have separate AppleID's for. I understand I can share apps between them if I authorize iTunes on my iMac with both ID's. I am not quite sure about the correct way to do that. I already have the iMac authorized for AppleID#1. If I go into iTunes and click on Store/Authorize this Computer... and enter my AppleID#2 information into Account name and Password boxes, does this authorize my iMac's iTunes for BOTH ID's or does it just change the authorization from ID#1 to ID#2?
    If the former is correct, I understand the way to proceed is to xync up both iPads to iTunes and then I can drag and drop apps from one iPad's library listings to the other, right?
    If this is not the correct way to get dual authorizations, what is?
    Thanks!
    pax / Ctein

    No, there are many discussions here that clearly state that is not the case.

  • I am a bit confused about unsaved metadata

    I have set up LR to save metadata to the catalog. My pictures in the grid show unsaved metadata. Does this mean that I have not saved the metadata to an xmp sidecar (which I do not want to do)? What are the implications?
    Thanks is advance.

    It appears that Lightroom will warn you when your original file (or XMP sidecar) is out of sync with the Lightroom database. In other words, if you import an image with no metadata, then add metadata within Lightroom, the Lightroom database will have metadata that the file (or XMP sidecar) will not. That is what the warning is concerning.
    Nothing more, and no worries if you choose to ignore it. All current data would be in the database.
    Actually, I suppose it is a little more complicated than that, but basically speaking, there's nothing to worry about. That being said, if you edit metadata in an outside application, and then tell Lightroom to sync the folder, I expect the warning will appear because the file (or XMP sidecar) now has data that the Lightroom database doesn't. The point is still the same...
    Anyone with more than a day's worth of knowledge care to jump in and correct me?

  • A bit confused about Lumia 1520 compatibility

    So, I've wanted a Nokia Lumia 1520 for quite a long time now. One of the features that sold me on the phone was the wireless charging plate. Does this thing work or not? I feel as if I am being mislead.
    This link shows all accessories for the Lumia 1520.
    http://www.nokia.com/us-en/accessories/all/?action​=accessorysearch&product=3092640
    The Nokia Portable Wireless Charging Plate DC-50 is listed. However, directly under, in the description, says not compatible with 1520 AT&T varient. I was under the assumption that this was a AT&T exclusive phone. I googled briefly to get some answers and I came across methods involving soldering to get this thing to work.
    ...I'm not doing that.
    Someone please clear this up. How do I get this feature if I am planning on getting this phone?!

    The Nokia Lumia 1520 is sold all over the world, only the variant for AT&T does not come with Qi but its competing wireless charging standard PMA. More about this here …

  • IAd Unit sizes: I am a bit confused about the file limits

    Say I have the bottom banner for iPad (hr) and full size iPad banner, what is the max iAdUnit size?
    Is it: 350kb for full size iPad banner (including all the images included on that page), + 200kb for the bottom banner
    Or how does it even work with sizes?

    It appears that Lightroom will warn you when your original file (or XMP sidecar) is out of sync with the Lightroom database. In other words, if you import an image with no metadata, then add metadata within Lightroom, the Lightroom database will have metadata that the file (or XMP sidecar) will not. That is what the warning is concerning.
    Nothing more, and no worries if you choose to ignore it. All current data would be in the database.
    Actually, I suppose it is a little more complicated than that, but basically speaking, there's nothing to worry about. That being said, if you edit metadata in an outside application, and then tell Lightroom to sync the folder, I expect the warning will appear because the file (or XMP sidecar) now has data that the Lightroom database doesn't. The point is still the same...
    Anyone with more than a day's worth of knowledge care to jump in and correct me?

  • Bit confused about authorization issues

    I have searched the forum on this but I can't really see the wood for the trees.
    As I understand it I can authorize up to 5 computers with my iTunes account. However, how does this relate to portable devices. My household has 3 iPhone and 3 iPads. Can I download an app that I have bought with my itunes account to all 6 of these portable devices ?

    When connecting your mobile devices one after the other you can simply define sync preferences individually for each device - i.e. on iPhone #1 select playlists A, B, C to sync while on iPhone #2 select playlists B, E, H to sync.
    It's really easy to set up sync preferences for each device independently.

Maybe you are looking for