Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

mdm push notification problem

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

Posted on Sep 5, 2011 10:10 PM

Reply
15 replies

Jan 9, 2012 9:09 PM in response to HwangHK

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.

Jan 11, 2012 9:25 PM in response to venkatfromsan francisco

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.

Feb 15, 2012 2:35 AM in response to Mads Olsen

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.

Apr 4, 2012 10:10 PM in response to Mads Olsen

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

Apr 9, 2012 7:10 AM in response to venkygct

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.

Apr 30, 2012 8:54 AM in response to zhangfrom10

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.

May 10, 2012 5:53 AM in response to Mads Olsen

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.

mdm push notification problem

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.