How to diagnose NTP server problem during boot-up?

We're having a problem on our campus network where Macs aren't able to use the time.apple.com NTP server to correct the time during boot-up. Once the user logs in, open the Date & Time pref pane causes the time to be corrected.
I've noticed this problem for quite a while but it's really been just a minor inconvenience. Then some users started using Boot Camp and it became a bigger inconvenience because their Mac time is wrong by 4 hours when they return to OS X from Windows XP. It has now become something that we need to address because we have set up a lab with iMacs all configured with Boot Camp and set up to authenticate off of our Active Directory server, which requires that the time be correct on the iMacs when the user tries to log in.
We'd like to monitor the network traffic on Mac during boot-up to see if we can figure out why this is happening. My person theory is that something that the network admins have the network configured to do when it first sees a new computer is causing enough of a delay in the DHCP process that the Mac doesn't have a network connection when the NTP server call would normally be made. The college has a DSL line that is not part of our network and NTP server time correction works correctly on it.
We're looking for the best way to capture the activity on the Mac and the network traffic at boot-up. Here are the things that we're looking into.
1) Verbose mode - Interesting looking but it goes by pretty quickly and I don't have time to read all of that info. Is this recorded in a log automatically somewhere or is there a way to capture this info?
2) Single user mode - I haven't been able to determine whether the NTP server call should have occurred by the time I get a prompt in Single User Mode. If so, is there a command I could use here that would give me a dump of activity and network traffic up to this point?
3) I have Interarchy which will let me record network traffic but as far as I can tell there's isn't a way to use this feature during boot-up. Am I wrong about that?
4) Someone suggested using Ethereal which appears to require Fink when installed. I can't tell if this will work during boot for if it's an app that I can only run after logging in (like Interarchy). Does anyone know how this works?
Any suggestions would be welcomed.
-McD-

Turns out it was a network timing issue. The DHCP server wasn't providing the IP address quick enough (never figured out why, though).

Similar Messages

  • Read-Only Problem during Boot

    Hi,
    I tried to update my system today, like every week, with the standard command pacman -Syu. After installing all updates, my window manager (gnome3) crashed and i tried to restart my System. After the grub window appeared and I choosed my kernel the normal startup commands are shown until the Arch prompt appeared. The one where Arch Linux tried to start all relevant processes. After that there are only mistakes. All startup processes are busy or failing. The only message i get is, that the filesystem, i think thats the root partition (ext4), is read-only or another error: some files for startup cannot be created because they already exist.
    Getting to console is also impossible, because the system tries to start virtualbox additions, with an funny message, that it is busy and tries it again in 5 min (infinity loop). But shidt happens. I have read in another post that I can try another Linux System, mount my root partition and  do an
    fsck /dev/sda3 -p or -f
    . But it says that all is clean (sda3 is root and sda1 is /boot). The filesystem is ext4, so i tried also fsck.ext4, but it also say all is clean.
    After another boot i stoped at the position, where the fist error occur.
    Mounting Local Filesystems
    /etc/rc.sysinit: line 285: /etc/mtab: Read-only file System
    next one:
    Activating Swap
    /bin/rm: cannot remove '/etc/localtime': Read-only file system
    removing leftover Files
    /usr/bin/find: cannot delete 'var/run/cups.pid': Read-only file system
    After that message there are also al lot of analog errors.
    I have no other idea than an dirty filesystem. Is there another possibility to rescue my system without an fresh install. Im sorry but i cannot log any messages at that state of boot. So it is not easy to get better informations about special error codes.
    I have forget to give you some informations about my stats:
    - actual stable arch kernel 2.6.38
    - gnome 3
    - thinkpad t400
    Last edited by Psikon (2011-05-13 20:18:12)

    With udev 168-1 I obtain this message during boot:
    :: checking filesystems
    fsck.ext4: no such file or directory while trying to open /dev/sda6 (my root device)
    Possibly non-existent device?
    ***************** FILESYSTEM CHECK FAILED ****************
    * Please repair manually and reboot. Note that the root *
    * file system is currently mounted read-only. To remount *
    * it read-write type: mount -n -o remount,rw / *
    * When you exit the maintenance shell the system will *
    * reboot automatically. *
    but fsck run manually says it's all clean.
    I have to remount rw / partition and manually mount all the other partition, then I can switch to runlevel 3.
    With udev 167-2 (and prior) I can boot without any problems.
    I'm not sure it's a problem from udev, but downgrading it works for me.

  • Problem during booting

    hi guys
    I installed Xp and then removed from my macbook.
    Now there is problem in booting....
    A black screen written " no booting device" comes during start of laptop...
    Plz help

    Hi and welcome to Discussions,
    startup your MacBook while holding down the Option/Alt-key.
    Choose your OSX volume to boot from.
    Once in OSX goto System Preferences - Startup Volume and set your OSX volume as the default startup volume.
    Restart and all should be well.
    Hope it helps
    Stefan

  • Problem during booting the zone

    There is the problem:
    -bash-2.05b# zoneadm -z apache1 boot
    zoneadm: /zone/apache1/root/dev: No such file or directory
    zoneadm: zone apache1 failed to verify
    after installing the zone apache1 contents of /zone/apache1/root:
    -bash-2.05b# ls
    lib opt platform sbin usr var
    everything is made using the article: http://www.blastwave.org/docs/Solaris-10-b51/DMC-0002/dmc-0002.html
    ? Thx.

    Two questions:
    1) Which build are you running?
    2) Did you ready the zone?
    This article at BlastWave was written within two weeks of Zones debut (he beat me to the punch!).
    Since then a new step as been interjected. You should setup your zones in the following manner:
    Create the zone like always (eg: zonecfg -z my_zone "create ; set zonepath=/export/zones/my_zone ;
    set autoboot=true ; add net ; set address=10.0.0.1 ; set physical=hme0 ; end ; verify ; commit ; exit").
    Then install the zone like always (zoneadm -z my_zone install) and wait till it completes. Now you
    need to ready the zone (zoneadm -z my_zone ready) and then boot it (zoneadm -z my_zone boot).
    Login to the zone ala "zlogin -C my_zone" and away you go.
    Readying is a step I don't recall needing to do on older builds, but in B58 onward you must.
    benr

  • Problem during boot-up process - Anormal starting runlevel 3

    Hi
    So, this afternoon, I've installed Arch on my desktop.
    I have configured Xorg, gnome, all my programs...
    Then I have rebooted my computer and it happened something unusual.
    So, after the line "Loading keymap "fr"
    It appears "entering runlevel 3"
    And slim (my login manager does not start [It's installed and present in the daemon line]) and I have to log me in TTY, and when I try to "startx" it's does not work.
    Habitually, slim and gnome started normaly.
    Need help please !

    Hmm
    I don't know why, and how it happened but the daemon line of my rc.conf was commented.
    That's why the network didn't started...
    Decommented the daemon line, It works now
    [Solved]

  • How do I deal with problems during business object construction?

    Hi Everyone.
    I'm wondering about best practices for program control flow when business objects can't be constructed properly.
    In my servlet I want to create a new Transaction business object based on the parameters of the HttpServletRequest.
    transaction = new Transaction( request );The Transaction, in turn, has a Customer business object representing the Customer doing the transaction. The Customer is also constructed based on request parameters. So I have in the Transaction constructor,
    public Transaction( HttpServletRequest request ) {
        customer = new Customer( request );
    }In the Customer constructor I want to do some validation. For example, I want to check that the requested Customer exists in the database.
    If the validation fails, should I throw an exception, which could then eventually be caught by the Servlet which would send back an "Invalid Customer" message to the end user?
    But it seems to me like this violates the "never use exceptions for flow control" rule (as described for example at http://onjava.com/pub/a/onjava/2003/11/19/exceptions.html?page=2).
    It is a normal function of my application to deny a transaction to a non-valid customer... so it seems like I shouldn't need to bring in the exception handling overhead for this normal business process.
    OK, so I guess put "is_valid" flags in the business objects and set them on constructor errors then check them??
    public Transaction( HttpServletRequest request ) {
        customer = new Customer( request );  // customer.is_valid flagged false
        if ( !customer.get_is_valid( ) ) {
            this.is_valid = false; // transaction.is_valid is also false now because its Customer is not valid
        } else { // customer is valid
            // finish the rest of the Transaction construction business logic
            // of course this will turn into a mess of deeply nested "else valid" clauses
            // if there are many validation checks...
    }...and then in the servlet...
    transaction = new Transaction( request );
    if ( !transaction.get_is_valid( ) ) {
        // Send back error message to user.
    } else {
        // Finally do some business logic.  Maybe after another mess of nested "else valid" clauses.
    }This gets so hard to read it seems like the throwing Exceptions as part of normal control flow option is preferble.
    Is there third option I am missing?
    What are your opinions?
    Thanks,
    Bishop

    Build your Transaction and Customer objects based on the data in the request. Then validate the customer, since an invalid customer is "normal" for you.
    I'd consider using some sort of factory-like method for creating these objects from the request, since you're tying (sort of) your business stuff to the fact you're currently using a webby (servlet-based) front end...but that's more an aside.
    So, in pseudo-ish code:
    Transaction t = createTransaction(request);
    if (t.validCustomer()) do work;
    else return to wherever;This is only a first-pass idea, and other requirements might knock it for six, but it's a startpoint.

  • Does any one know how to fix a server problem ?

    I use a MacBook Pro, operating system is Yosemite 10.10.2. When I click on Safari I get a message that Safari can't connect to the internet. Theres a long pause and then sometimes it connects. I took the MacBook to Apple Genius & they erased the PC , brought it home and did a reinstall from my time Machine using a Passport, Thanks

    did a reinstall from my time Machine
    Was it working before you did that?

  • [SOLVED] How to get NetworkManager start on background during boot?

    NetworkManager has always taken relatively long time to start during boot, presumably waiting for wlan to connect.
    $ systemd-analyze blame
    7.682s NetworkManager.service
    Previously I was able to get it to start on background by removing /etc/systemd/system/multi-user.target.wants/NetworkManager.service
    This prevented multi-user.target from waiting for NM to start and it would continue to connect on background while my boot finishes.
    However, after upgrade to networkmanager-0.9.10.0-2 that doesn't seem work any more.
    If I remove the .service file from multi-user.target.wants/, NetworkManager doesn't start during boot at all.
    enabling NetworkManager.service creates these symlinks:
    # systemctl enable NetworkManager
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service to /usr/lib/systemd/system/NetworkManager-dispatcher.service.
    looks like enabling any other basic systemd unit links the .service file to multi-user.target.wants/ as well..
    How can I enable NetworkManager.service during boot without multi-user.target.wants/, and get it to start on background again?
    any ideas appreciated :)
    Last edited by ooo (2014-08-03 12:13:28)

    Okay, looks like this can be resolved by simply changing the NetworkManager.service type from dbus to forking.
    $ systemd-analyze blame
    173ms NetworkManager.service
    Here's the modified service file if anyone's interested:
    place it in /etc/systemd/system/NetworkManager.service
    [Unit]
    Description=Network Manager
    Wants=network.target
    Before=network.target
    [Service]
    Type=forking
    PIDFile=/var/run/NetworkManager.pid
    BusName=org.freedesktop.NetworkManager
    ExecStart=/usr/bin/NetworkManager --pid-file=/var/run/NetworkManager.pid
    # NM doesn't want systemd to kill its children for it
    KillMode=process
    [Install]
    WantedBy=multi-user.target
    Alias=dbus-org.freedesktop.NetworkManager.service
    Also=NetworkManager-dispatcher.service
    You need to disable NetworkManager.service before creating the file and enable it after so that systemd links the file from /etc/systemd instead of /usr/lib/systemd,
    there may be simpler way but I can't be bothered to go through systemd manuals any more.
    Note that this will probably break any systemd .service that actually requires network, although that was the case with my previous workaround as well.
    I won't guarantee this will work for you and won't set your machine on fire. If you have issues, simply remove the file and re-enable to go back to default

  • During boot, the system says that the main system board maker cannot be identified

    System: HP Pavilion dv7 Notebook, Windows 7 Home Premium
    Problem: During boot, the system says that the main system board manufacturer cannot be identified.  If I ignore and tell it to continue, it wants to CHDSK.  If I skip that, the computer finishes booting and seems to operate normally.
    How can I fix this?

    Hi Gordoo3,
    Can you expand on the hardware you are using (Chassis, Controller, Devices, etc.)?  Do you have a MXI connection to your PC?  Have you identified the chassis in MAX?  Here is a Knowledgebase article that describes this process.
    Best,
    Adam
    Academic Product Manager
    National Intruments

  • ADFFACES 60096 Server Exception during PPR javalangNullPointerException

    Hi All,
    I am very new to Oracle WebCenter Sutie. I could see the
    *ADF_FACES-60096:Server Exception during PPR, #1[[java.lang.NullPointerException*_  when i run my application.
    *Please someone help me to find out the root cause and how to resolve _*Server Exception during PPR, #1[[java.lang.NullPointerException.*_
    *[2011-12-09T10:38:05.596-05:00] [WC_CUSTOM] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 48c0fcdfb7c0b497:-5de02d38:13423675f7a:-8000-0000000000000c75,0] [APP:]*
    *ADF_FACES-60096:Server Exception during PPR, #1[[java.lang.NullPointerException*
         at org.apache.myfaces.trinidad.change.BaseChangeManager.addComponentChange(BaseChangeManager.java:58)
         at org.apache.myfaces.trinidad.change.SessionChangeManager.addComponentChange(SessionChangeManager.java:64)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.addAttributeChange(UIXComponentBase.java:1108)
         at org.apache.myfaces.trinidad.component.HierarchyUtils.__handleBroadcast(HierarchyUtils.java:50)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:228)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:232)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Thanks In Advance.

    Do other calc scripts work if attached to a form? Are there any related errors in the planning/essbase app logs at the time of runing the script.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1

    How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1
    Thanks

    Icapper wrote:
    I will end up getting something other than Logitech speakers, since I'm just weird like that.
    Your not weird, your a audiophile.
    https://en.wikipedia.org/wiki/Audiophile
    Good sound costs money. And with a 5.1 system your usually doing surround sound decoding for BlueRay movies etc. for home theater purposes.
    The PC 5.1 surround sound systems require a audio card in a PC tower and mainly used for playing 3D games so that won't work for any Mac at all. So don't buy a PC 5.1 surround sound system for your Mac.
    Harmon Kardon has the GoPlay, it's a portable stereo with awesome sound (not as good as their theater systems) and you can hook up a analog male/male stereo mini cable to it from the Mac.
    $200 and it has a iPod dock and also takes like 8 batteries so it's portable.
    http://www.amazon.com/dp/B002GHBTNC
    There is also the Bose Wave clock/radio, you will need a stereo mini to RCA break out cable for that.
    http://www.bose.com/controller?url=/shop_online/wave_systems/index.jsp
    The GoPlay has much better sound than the Bose, I think the Bose are overpriced.

  • How to diagnose performance problems?

    Hi all,
    I'm trying to run some basic performance tests of our app with Coherence, and I'm getting some pretty miserable results. I'm obviously missing something very basic about the configuration, but I can't figure out what it is.
    For our test app, I'm using 3 machines, all Mac Pros running OSX 10.5. Each JVM is configured with 1G RAM and is running in server mode. We're connected on a gigabit LAN (I ran the datagram test, we get about 108Mb/sec but with high packet loss, around 10-12%). Two of the nodes are storage enabled, the other runs as a client performing an approximation of one of the operations we perform routinely.
    The test consists of running a single operation many times. We're developing a card processing system, so I create a bunch of cards (10,000 by default), each of which has about 10 related objects in different caches. The objects are serialised using POF. I write all these to the caches, then perform a single operation for each card. The operation consists of about 14 reads and 6 writes. I can do this about 6-6.5 times per second, for a total of ~120 Coherence ops/sec, which seems extremely low.
    During the test, the network tops out at about 1.2M/s, and the CPU at about 35% on the storage nodes and almost unnoticeable on the client. There's clearly something blocking somewhere, but I can't find what it is. The client uses a thread pool of 100 threads and has 100 threads assigned to its distributed service, and the storage nodes also have 100 threads assigned to their distributed services. I also tried giving more threads to the invocation service (since we use VersionedPut a lot), but that didn't seem to help either. I've also created the required indexes.
    Any help in diagnosing what the problem would be greatly appreciated. I've attached the config used for the two types of node below.
    Cheers,
    Colin
    Config for storage nodes:
    -Dtangosol.coherence.wka=10.1.1.2
    -Dtangosol.coherence.override=%HOME%/coherence.override.xml
    -Dtangosol.coherence.distributed.localstorage=true
    -Dtangosol.coherence.wkaport=8088
    -Dtangosol.coherence.distributed.threads=100
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>distributed-scheme</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed-scheme</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>distributed-backing-map</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    <serializer>
    <class-name>runtime.util.protobuf.ProtobufPofContext</class-name>
    </serializer>
    <backup-count>1</backup-count>
    </distributed-scheme>
    <local-scheme>
    <scheme-name>distributed-backing-map</scheme-name>
    <listener>
    <class-scheme>
    <class-name>service.data.manager.coherence.impl.utilfile.CoherenceBackingMapListener</class-name>
    <init-params>
    <init-param>
    <param-type>com.tangosol.net.BackingMapManagerContext</param-type>
    <param-value>{manager-context}</param-value>
    </init-param>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value>{cache-name}</param-value>
    </init-param>
    </init-params>
    </class-scheme>
    </listener>
    </local-scheme>
    <invocation-scheme>
    <service-name>InvocationService</service-name>
    <autostart>true</autostart>
    </invocation-scheme>
    </caching-schemes>
    </cache-config>
    Config for client node:
    -Dtangosol.coherence.wka=10.1.1.2
    -Dtangosol.coherence.wkaport=8088
    -Dtangosol.coherence.distributed.localstorage=false
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>distributed-scheme</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed-scheme</scheme-name>
    <service-name>DistributedCache</service-name>
    <thread-count>100</thread-count>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>distributed-backing-map</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    <backup-count>1</backup-count>
    </distributed-scheme>
    <local-scheme>
    <scheme-name>distributed-backing-map</scheme-name>
    </local-scheme>
    <invocation-scheme>
    <service-name>InvocationService</service-name>
    <autostart>true</autostart>
    </invocation-scheme>
    </caching-schemes>
    </cache-config>

    Hi David,
    Thanks for the quick response. I'm currently using an executor with 100 threads on the client. I thought that might not be enough since the CPU on the client hardly moves at all, but bumping that up to 1000 didn't change things. If I run the same code with a single Coherence instance in my local machine I get around 110/sec, so I suspect that somewhere in the transport layer something doesn't have enough threads.
    The code is somewhat complicated because we have an abstraction layer on top of Coherence. I'll try to post the relevant parts below:
    The main loop is pretty straightforward. This is a Runnable that I post to the client executor:
    public void run()
    Card card = read(dataManager, Card.class, "cardNumber", cardNumber);
    assert card != null;
    Group group = read(dataManager, Group.class, "id", card.getGroupId());
    assert group != null;
    Account account = read(dataManager, Account.class, "groupId", group.getId());
    assert account != null;
    User user = read(dataManager, User.class, "groupId", group.getId());
    assert user != null;
    ClientUser clientUser = read(dataManager, ClientUser.class, "userId", user.getId());
    HoldLog holdLog = createHoldLog(group, account);
    account.getCurrentHolds().add(holdLog);
    account.setUpdated(now());
    write(dataManager, HoldLog.class, holdLog);
    ClientUser clientUser2 = read(dataManager, ClientUser.class, "userId", user.getId());
    write(dataManager, Account.class, account);
    NetworkMessage networkMessage = createNetworkMessage(message, card, group, holdLog);
    write(dataManager, NetworkMessage.class, networkMessage);
    read does a bit of juggling with our abstraction layer, basically this just gets a ValueExtractor for a named field and then creates an EqualsFilter with it:
    private static <V extends Identifiable> V read(DataManager dataManager,
    Class<V> valueClass,
    String keyField,
    Object keyValue)
    DataMap<Identifiable> dataMap = dataManager.getDataMap(valueClass.getSimpleName(), valueClass);
    FilterFactory filterFactory = dataManager.getFilterFactory();
    ValueExtractorFactory extractorFactory = dataManager.getValueExtractorFactory();
    Filter<Identifiable> filter = filterFactory.equals(extractorFactory.fieldExtractor(valueClass, keyField), keyValue);
    Set<Map.Entry<GUID, Identifiable>> entries = dataMap.entrySet(filter);
    if (entries.isEmpty())
    return null;
    assert entries.size() == 1 : "Expected single entry, found " + entries.size() + " for " + valueClass.getSimpleName();
    return valueClass.cast(entries.iterator().next().getValue());
    write is trivial:
    private static <V extends Identifiable> void write(DataManager dataManager, Class<V> valueClass, V value)
    DataMap<Identifiable> dataMap = dataManager.getDataMap(valueClass.getSimpleName(), valueClass);
    dataMap.put(value.getId(), value);
    And entrySet directly wraps the Coherence call:
    public Set<Entry<GUID, V>> entrySet(Filter<V> filter)
    validateFilter(filter);
    return wrapEntrySet(dataMap.entrySet(((CoherenceFilterAdapter<V>) filter).getCoherenceFilter()));
    This just returns a Map.EntrySet implementation that decodes the binary encoded objects.
    I'm not really sure how much more code to post - what I have is really just a thin layer over Coherence, and I'm reasonably sure that the main problem isn't there since the CPU hardly moves on the client. I suspect thread starvation at some point, but I'm not sure where to look.
    Thanks,
    Colin

  • How to Display "Advanced Startup Options" Menu during Boot (NOT Restart)

    How do I get to the "Advanced Boot Options" menu when booting WSE2012? I currently cannot boot from the system drive, the installation DVD or a bootable USB installation drive since the September 19 Microsoft updates were installed. I cannot
    do a "restart" to get there since I cannot get into WSE2012 at all in the first place. No matter how I boot the system, I can never get past the "logo/progress circle" screen. I want to restore a system backup from before September
    19 but cannot figure out how to do it since I cannot get to the "Advanced Boot Options" screen. I searched through my ASUS UEFI BIOS for an option to restart with the advanced menu displayed but could NOT find any setting for this. I am totally lost.
    How can I do a system restore (i.e., recovery)? Please HELP!
    Denis W. Repke

    I've pretty sure I read that Microsoft removed the "F8" feature in Windows 8 and Windows Server 2012. In any case, I did try "F8" a couple of times on WSE2012, pressing and releasing it numerous times during the boot process, starting well before Windows
    started to load -- and it did NOT do anything.
    I also was amazed that the system would not boot from the WSE2012 installation disk from either of my DVD drives nor from a bootable USB drive containing the install files. Until this incident, I never had a problem booting from a "bootable" DVD or
    USB drive on that server. It is also very easy to bring up the "Boot Menu" from my ASUS UEFI BIOS during the boot from which I can select precisely what boot device I want to use.
    As I explained in detail in my earlier post on this forum, the only way I was able to get to the "Advanced Startup Options" screen was by swapping SATA ports for my system disk which "somehow" caused the next boot to automatically start "Auto-Recovery" mode
    which finally allowed me to get to the "Advanced Startup Options" screen and recover the system files from an earlier date. After doing this, the system rebooted without issues. After booting, I ran a set of backups after using Windows Update. Then, I powered
    down,"unswapped" the SATA ports and rebooted. No problems.
    This was all very weird and frustrating. I still cannot believe that there is apparently no way to "directly" get to the "Advanced Startup Options" screen during a hard boot. If there was, recovery would have been simple instead of several days of frustration
    with a "dead" home server.
    Denis W. Repke

  • How to sync clock of Cisco ASA 5505 from NTP Server on internet

    Hi there!
    i've setup a site, with cisco ASA 5505. It has public ip also.
    i want to sync the clock of firewall from on ntp server on internet, or with internal domain controller that is inside LAN.
    The firewall has public IP also.
    how can i do this?
    Regards!

    Hello Lasandro,
    This should do it!
    http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/basic_hostname_pw.html#wp1236530
    Looking for some Networking Assistance? 
    Contact me directly at [email protected]
    I will fix your problem ASAP.
    Cheers,
    Julio Carvajal Segura
    http://laguiadelnetworking.com

  • [solved]How to unlock LUKS using keyfile on usbdrive during boot?

    Hi all,
    I would like some advise for booting encrypted partitions using kefiles on a flashdrive. I'm setting up a Intel Atom based homeserver, and and want my data to be encrypted in case the server gets stolen. To save some encryption overhead I prefer to leave root unencrypted and only encrypt /home, and if this works, later on /var, /tmp and swap as well. My plan is to have a keyfile on a flash thumbdrive, and only have the thumbdrive plugged in while booting.
    I have read the dm-crypt wiki page, but it assumes an encrypted root, and this approach won't work in my situation, where only non-root mountpoints are encrypted. If i put 'ASK' in /etc/crypttab I get prompted for the passphrase and the LUKS container unlocks and mounts fine. I can also unlock the LUKS container manually using the keyfile that I created. However when I put the path to the keyfile in /etc/crypttab instead of 'ASK', and let the usbdrive automount using an udev rule the unlock at boot fails. It seems that my udev rule is only executed when I plug in a drive after booting, not when it is already plugged in during boot. How would I accomplish this? Mount it with fstab and automatically unmount it after booting, or some entirely different way?
    my /etc/fstab:
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/sda1 / ext4 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/mapper/home /home ext4 defaults 0 1
    /etc/crypttab:
    home /dev/sda3 /media/usbhd-sdc1/keyfiles/arch_server_-_home.key
    /etc/udev/rules.d/01.usbdrive_automount.rules (sdb is a second, currently unused harddisk):
    KERNEL=="sd[b-z]", NAME:="%k", SYMLINK+="usbhd-%k", GROUP:="users", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", SYMLINK+="usbhd-%k", GROUP:="users", NAME:="%k"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", PROGRAM=="/sbin/blkid -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,noexec,nodev,noatime /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[c-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k"
    ACTION=="remove", KERNEL=="sd[c-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k", OPTIONS="last_rule"
    <edit>
    Okay I have found a solution. The trick was to make sure the usbstick gets mounted first, so the keyfile is available for the unlocking/mounting during boot. To do so I have added 'usb' to the hooks line in /etc/mkinitcpio.conf and recompiled the initramfs as described in the wiki link above.
    Next I changed my /etc/udev/rules.d/01.usbdrive_automount.rules a little so that the mountpoint of the usbdrive stays after unplugging it:
    KERNEL=="sd[b-z]", NAME:="%k", SYMLINK+="usbhd-%k", GROUP:="users", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", SYMLINK+="usbhd-%k", GROUP:="users", NAME:="%k"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", PROGRAM=="/sbin/blkid -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[c-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,noexec,nodev,noatime /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[c-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k", OPTIONS="last_rule"
    #ACTION=="remove", KERNEL=="sd[c-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k"
    #ACTION=="remove", KERNEL=="sd[c-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k", OPTIONS="last_rule"
    /etc/fstab:
    The usbdrive is put above the encrypted partition to make it get mounted first:
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/sdc1 /media/usbhd-sdc1 ext2 defaults 0 0
    /dev/sda1 / ext4 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/mapper/home /home ext4 defaults 0 1
    /etc/crypttab:
    home /dev/sda3 /media/usbhd-sdc1/keyfiles/arch_server_-_luks.key
    So now I plug in the flashdrive, turn on the server, unplug the flashdrive and udev automatically unmounts the flashdrive while leaving the mountpoint /media/usbhd-sdc1 for the next boot.
    </edit>
    Last edited by rwd (2009-12-04 19:36:14)

    graysky wrote:@ratcheer - You can try now if it's a major pain in the balls by enabling [testing] and using the updated linux package.
    If you do enable testing make sure you aren't like myself: I'm not competent enough to enable testing..
    Edit:
    To elaborate a bit.  If you enable testing and then just do a "pacman -Syu" then you are going to pull in all sorts of packages you may not want and it may be complicated to get rid of later.  To avoid this I would enable testing, do this:
    sudo pacman -Syy
    sudo pacman -S testing/linux
    So it would pull in the absolute minimum that I wanted from testing.  Then I would disable the testing repository and pacman -Syy again.  That would convert the new linux package and packages it requires to manual packages.  E.g. they would be shown under "pacman -Qm"
    Because once you start pulling packages in from testing it is almost a one-way street.  As I instructed above, that is my gross understanding.  I don't use testing at all, it is supposed to be used if you are actively testing Arch and providing feedback while doing so.
    Last edited by headkase (2012-10-03 01:51:51)

Maybe you are looking for

  • Problem with soap receiver adapter

    Hi All I have Idoc sender and soap receiver in my scenario. I am calling web service deployed on WAS. The web service is getting called but the acknowledgement message in xi contains following system error acknowledgement because of which xi changes

  • IPhoto downloaded from Apps but won't install on Yosemite

    I have tried twice to download iPhoto. Each time it downloaded then began to install but never finished. Instead I got a message saying it didn't download! I was using the Apps Store. My Mountain Lion version doesn't work on Yosemite. How can I get t

  • Error in XSD Parsing - Imported XSD not being loaded

    I am trying to validate XML with XSD. The XML has elements in two different namespaces:- 1-"http://schemas.xmlsoap.org/soap/envelope/" 2-urn:Hotel_Reserve So in Schema I have defined elements Envelop, Header and Body in "http://schemas.xmlsoap.org/so

  • FYI: Solaris Cluster 3.2 01/09 (aka u2) has now been released

    FYI: Solaris Cluster 3.2 01/09 (aka u2) has now been released. The new Solaris Cluster 3.2 1/09 update adds innovative business continuity capabilities for Oracle RAC in Solaris virtualized environments, enables increased high availability with new m

  • AIR Badge not Working in IIS7

    I have created a badge for AIR application.. It works fine in my url in the server IIS 6 windows server 2005. But when I am using the same in IIS 7 windows server 2008 it stars downloading and fails. I added the .air MIME type in the server. Also whe