1 2 Previous Next 15 Replies Latest reply: Aug 29, 2012 8:28 PM by kunfromhangzhou
HwangHK Level 1 Level 1 (0 points)

In mdm server wants to pass a command(push notification) to the device.

but can not be passed to notification to the device.

and in a device console(iPhone configuration utility) log, after installing the certificate , an error message is printed.

 

my test environment is as follows:

 

1. through iPCU the MDM profile creation .

- Credentials entry: push certificate enrollment

- Mdm entry: server url, check in url, topic, etc.

 

2. pem file creation. registered on the mdm server

 

3. usb connection to the device, install the iPCU MDM profile

 

4. mdm server received "device token, pushmagic, unlocktoken....." from the device

     -> IPCU the following error message output inthe console log

 

Sep  2 18:20:47 iPhone mc_mobile_tunnel[2064] <Warning>: MC|mc_mobile_tunnel shutting down.

Sep  2 18:20:47 iPhone mdmd[2063] <Warning>: MDM|mdmd starting...

Sep  2 18:20:48 iPhone com.apple.launchd[1] (com.apple.managedconfiguration.mdmd[2063]) <Warning>: (com.apple.managedconfiguration.mdmd) Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush

Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: Unable to bootstrap_check_in() to namedDelegatePort 'com.apple.managedconfiguration.mdmdpush'. APS connections will not persist past process lifetime.

  Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: MDM|Network reachability has changed.

  Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: MDM|Telling MDM Check-In Server about new device token.

  Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: MDM|Transaction completed. Status: 200

  Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: MDM|Telling MDM Check-In Server about new device token.

Sep  2 18:20:48 iPhone mdmd[2063] <Warning>: MDM|Transaction completed. Status: 200

Sep  2 18:20:50 iPhone mdmd[2063] <Warning>: MDM|mdmd stopping...

Sep  2 18:21:47 iPhone profiled[2056] <Warning>: profiled|Idled.

Sep  2 18:21:47 iPhone profiled[2056] <Warning>: profiled|Service stopping.

 

6. mdm server transfers the command(push notification). No, nothing happens.

 

thanks for reading.


iPhone 4, iOS 4
  • 1. Re: mdm push notification problem
    HwangHK Level 1 Level 1 (0 points)

    how do the device get push notification?

    help me.... ^^

  • 2. Re: mdm push notification problem
    venkatfromsan francisco Level 1 Level 1 (0 points)

    Hi,

    can you please help me

     

    I am stuck because I don't know how to set the identity in the mdm payload. I have downloaded the certificate from the Other section from the certificate tab in the provisioning portal but it does not work

     

    Thanks in advance

  • 3. Re: mdm push notification problem
    spaceapple02 Level 1 Level 1 (0 points)

    HI HwangHK

     

    I have your problem too

    Did you ever solve your problem?

     

    Jan  9 11:09:55 jaeyoeb-jeung-ui-iPhone com.apple.launchd[1] (com.apple.managedconfiguration.mdmd[561]) <Warning>: (com.apple.managedconfiguration.mdmd) Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush

     

     

    Jan  9 11:09:55 jaeyoeb-jeung-ui-iPhone mdmd[561] <Warning>: Unable to bootstrap_check_in() to namedDelegatePort 'com.apple.managedconfiguration.mdmdpush'. APS connections will not persist past process lifetime.

  • 4. Re: mdm push notification problem
    pschaeffer Level 1 Level 1 (0 points)

    The Identity field in the MDM payload section of a configuration profile can only be set AFTER you have set the correct credential in the Credentials section. If you have set the correct credential in the Credentials section, then you will (in my experience) only have one choice for Identity in the MDM payload section. It will be the correct choice fortunately.

     

    To set the correct credential in the Credentials section of the configuration profile, you must have a valid personal certificate in the Windows certificate store. If you have a valid personal certificate in the Windows certificate store it will show up in the (very long) list of certificates you can choose from when you click on  Configure in the Credentials section.

     

    You should be prompted for the password for 'exporting your identity'. Fill in both boxes and then click on OK. The set the password again. Yes, the password must be entered three times.

     

    At this point you can go back to the MDM payload section and everything should be OK.

     

    Note that my comments only apply to Windows. My system is Windows 7. However, only version of Windows probably works the same.

  • 5. Re: mdm push notification problem
    venkygct Level 1 Level 1 (0 points)

    HwangHK

     

    I'm using SCEP to get certificate as part of MDM profile and I'm seeing exactly same messages after I get certificate. Later when I send notification through APNS my device is not responding. Were you able to sort this.

    Were you able to sort this and made it working.

  • 6. Re: mdm push notification problem
    Mads Olsen Level 1 Level 1 (0 points)

    I have this issue too. Maybe the reason is what now I start MDM server for second application id (first was incorrect, without com.apple.mgmt at start), APNS somehow remember previous and refuse new?

  • 7. Re: mdm push notification problem
    Mads Olsen Level 1 Level 1 (0 points)

    I change ip of server - same result: nothing happens after send command to APNS.

    And after install of config same warning in console.

     

    Feb 15 12:21:36  com.apple.launchd[1] (com.apple.managedconfiguration.mdmd[209]) <Warning>: (com.apple.managedconfiguration.mdmd) Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush-dev

     

     

    Feb 15 12:21:36  mdmd[209] <Warning>: Unable to bootstrap_check_in() to namedDelegatePort 'com.apple.managedconfiguration.mdmdpush-dev'. APS connections will not persist past process lifetime.

     

     

    Feb 15 12:21:36  com.apple.launchd[1] (com.apple.managedconfiguration.mdmd[209]) <Warning>: (com.apple.managedconfiguration.mdmd) Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush-prod

     

    Feb 15 12:21:36 mdmd[209] <Warning>: Unable to bootstrap_check_in() to namedDelegatePort 'com.apple.managedconfiguration.mdmdpush-prod'. APS connections will not persist past process lifetime.

  • 8. Re: mdm push notification problem
    Mads Olsen Level 1 Level 1 (0 points)

    I found why my MDM configuration did not work. My server use APNSWrapper(python) and it was configured for gateway.push.apple.com (distribution), but I'm work with gateway.sandbox.push.apple.com (development) (second parametr of APNSWrapper construction). I've change server address and MDM works fine now.

  • 9. Re: mdm push notification problem
    venkygct Level 1 Level 1 (0 points)

    Mads Olsen,

    So can you please confirm whether you get below warning message even now (with working mdm)?

     

    "Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush-prod"

     

    We are using Java APNS library to send the APNS notification. Unfortunately the notifications are not delivered and we don't get any error message either. But feedback service is returning a message saying our device is inactive. Not sure whats going on.

     

    Thanks

    --Venky

  • 10. Re: mdm push notification problem
    Mads Olsen Level 1 Level 1 (0 points)

    No, I don't see this message now when receive command notification:

     

    mdmd[315] <Notice>: (Note ) MDM: mdmd starting...

    mdmd[315] <Notice>: (Note ) profiled: Service starting...

    mdmd[315] <Notice>: (Note ) MDM: Network reachability has changed.

    mdmd[315]<Notice>: (Note ) MDM: Network reachability has changed.

    mdmd[315]<Notice>: (Note ) MDM: Polling MDM server https://......  for commands

    mdmd[315]<Notice>: (Note ) MDM: Transaction completed. Status: 200

    mdmd[315]<Notice>: (Note ) MDM: Attempting to perform MDM request: DeviceLock

     

    So on.

     

    Check out MDM config for use correct APNS server (sandbox for development and regular for production), it must be same as for Push Certificate.

  • 11. Re: mdm push notification problem
    zhangfrom10 Level 1 Level 1 (0 points)

    hi,

       I got the same error,anyone help us!

  • 12. Re: mdm push notification problem
    bpatc Level 1 Level 1 (0 points)

    I get the error in console " Check-in of Mach service failed. Already active: com.apple.managedconfiguration.mdmdpush-dev.

    APS connections will not persist past process lifetime"

    Tried both sandbox and production settings. And tried to send mdm push notification to both sandbox/production.

    But no notification received by the device. Please help.

  • 13. Re: mdm push notification problem
    jefferywang Level 1 Level 1 (0 points)

    Hi Mads,

    I'm tried to push mdms commands to device and there is nothing happened .  I have installed an mdm payload with topic "com.apple.mgmt.External.e35...37ce" and puched the mdm instruction like {"mdm", "XXXXXXX-XXXX-XXXX-XXXX-33AXXXXXXXXXA8"} using the certificate with the subject which is the same as the mdm payload topic.  Did I missed something? please help me. Thank you.

  • 14. Re: mdm push notification problem
    Mads Olsen Level 1 Level 1 (0 points)

    What means "there is nothing happened"? Where did you see this? If in console (at iPhone configuration utility) - try to send regular push notification. If it delivered - something wrong with MDM, if not - with cert, push server ip, or something else.

1 2 Previous Next