laalves

Q: Can't enroll any device other than the server itself

Yeah, pretty pointless (almost).

 

I tried to enroll (@https://myservername.com/mydevices, all devices in the same LAN, all ports open):

 

1 - the server itself, a Mac Mini 2010: success and took 20 seconds or so;

 

2 - Macbook Pro 15 2010 with Lion: unsuccessful, chews on and on on the "installing" step, in the end it says "It wasn't possible to install “Device Enrollment (com.apple.ota.myservername.com.bootstrap) an unexpected error occurred” Note that the text is a translation of the Portuguese I use, in English it may come out different;

 

3 - Macbook Air 2010 with Lion: as #2;

 

4 - iPhone 3G iOS 4.2.1: unsuccessful, chews on and on on the "registering certificate" step, in the end it says "A network error occurred: the request timed out"

 

Totally in the dark. No logs in the server.

Mac mini, Mac OS X (10.7), Server, Mid-2010

Posted on Jul 26, 2011 3:09 AM

Close

Q: Can't enroll any device other than the server itself

  • All replies
  • Helpful answers

  • by krnrnee,

    krnrnee krnrnee Jul 26, 2011 4:10 AM in response to laalves
    Level 1 (10 points)
    Jul 26, 2011 4:10 AM in response to laalves

    I am getting the same error as well.  It worked fine on the server (Mac Mini), but would not work on either my Macbook Pro or my iMac.  I was able to enroll both my iPhone and my iPad 2, but only after I connected to VPN (even though I was already connected to the local network). 

     

    I tried using safari, firefox and chrome, same result... 

     

    Couldn't find anything in the server log, but here is what is in the macbook log:

     

    7/26/11 6:57:35.615 AM mdmclient: *** ERROR *** [Agent:501] ExtractOTAIdentity ( <NSOSStatusErrorDomain:-25300>)

    7/26/11 6:57:35.615 AM mdmclient: *** ERROR *** [Agent:501] ProcessOTABootstrapPayload ( <NSOSStatusErrorDomain:-25300>)

    7/26/11 6:57:36.227 AM System Preferences: *** ERROR *** [CPInstallerUI:501] Profile installation (Device Enrollment (com.apple.ota.MYSERVER.MYDOMAIN.com.bootstrap)) (<NSOSStatusErrorDomain:-25300> The operation couldn’t be completed. (OSStatus error -25300.)

    UserInfo: {

        CallStackSymbols =     (

            "0   mdmclient                           0x000000010ceb0b19 mdmclient + 15129",

            "1   mdmclient                           0x000000010cecf78b mdmclient + 141195",

            "2   mdmclient                           0x000000010cebace9 mdmclient + 56553",

            "3   mdmclient                           0x000000010cec6e1b mdmclient + 106011",

            "4   mdmclient                           0x000000010cebdef9 mdmclient + 69369",

            "5   mdmclient                           0x000000010cec715a mdmclient + 106842",

            "6   mdmclient                           0x000000010cec5119 mdmclient + 98585",

            "7   libxpc.dylib                        0x00007fff8cfe794a _xpc_connection_recv_message + 688",

            "8   libxpc.dylib                        0x00007fff8cfe7ab7 _xpc_connection_recv_message + 1053",

            "9   libxpc.dylib                        0x00007fff8cfe8387 _xpc_connection_wakeup_recv + 179",

            "10  libxpc.dylib                        0x00007fff8cfe8257 _xpc_connection_wakeup2 + 1580",

            "11  libxpc.dylib                        0x00007fff8cfe846b _xpc_connection_wakeup + 116",

            "12  libdispatch.dylib                   0x00007fff85aa82f1 _dispatch_source_invoke + 614",

            "13  libdispatch.dylib                   0x00007fff85aa4fc7 _dispatch_queue_invoke + 71",

            "14  libdispatch.dylib                   0x00007fff85aa5124 _dispatch_queue_drain + 210",

            "15  libdispatch.dylib                   0x00007fff85aa4fb6 _dispatch_queue_invoke + 54",

            "16  libdispatch.dylib                   0x00007fff85aa47b0 _dispatch_worker_thread2 + 198",

            "17  libsystem_c.dylib                   0x00007fff89d493da _pthread_wqthread + 316",

            "18  libsystem_c.dylib                   0x00007fff89d4ab85 start_wqthread + 13"

        );

        IsInternalError = 1;

    })

     

    Any suggestions would be appreciated.

    Thanks

    KT

  • by krnrnee,

    krnrnee krnrnee Jul 26, 2011 4:13 AM in response to laalves
    Level 1 (10 points)
    Jul 26, 2011 4:13 AM in response to laalves

    laalves - Sorry, forgot to mention, I got the same error you list as #4, until I turned vpn on (on the phone), then it worked fine.

  • by krnrnee,Solvedanswer

    krnrnee krnrnee Jul 26, 2011 4:28 AM in response to laalves
    Level 1 (10 points)
    Jul 26, 2011 4:28 AM in response to laalves

    After I posted my replies here, I was presented a link to a related question re: iPhone enrollment.  The answer for the iPhone issue was to open ports 1640 for to enroll and 2195 to manage.  I opened those ports and it worked for my Macbook as well.  Original answer here: https://discussions.apple.com/message/15679821#15686821

  • by elvis.zhang,

    elvis.zhang elvis.zhang May 3, 2012 2:44 AM in response to laalves
    Level 1 (0 points)
    May 3, 2012 2:44 AM in response to laalves

    How to open ports on OS X Lion?