Skip navigation

Profile Manager cannot enrol any device...

4325 Views 15 Replies Latest reply: Feb 2, 2014 2:55 PM by redshift82r RSS
1 2 Previous Next
kunikatsu Level 1 Level 1 (0 points)
Currently Being Moderated
Nov 8, 2012 12:38 AM

Hi, everyone hope I could find some help. I am having problem with enrollment of my clients to my server.

 

Below are some of my Server Log error:-

Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (No such file or directory)

www com.apple.launchd[1] (com.apple.DeviceManagement.php-fpm[65995]): Exited with code: 78

ruby[65926]: Unable to create ProfileManager log file at '/var/log/devicemgr/

(com.apple.DeviceManagement.php-fpm): Throttling respawn: Will start in 10 seconds

 

an I have an airport ext problem due to the latest update to server app.

 

I did try this:-

http://support.apple.com/kb/HT5349

 

but it didnt work..

 

Many Thanks.

Mac mini Server (Mid 2011), OS X Mountain Lion (10.8.2), Sever app 2.1.1
  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 10, 2012 3:22 AM (in response to kunikatsu)

    Justin

    Try

     

    1. $ sudo touch /var/log/devicemgr/profilemanager.log

    2. $ sudo chmod 0640 /var/log/devicemgr/profilemanager.log

    3. $ sudo chown _devicemgr:admin /var/log/devicemgr/profilemanager.log

     

    Cheers

    Gerry

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 11, 2012 9:03 PM (in response to kunikatsu)

    Hi Justin,

     

    It's really quite challenging helping you in this way!  You should have a look at what those commands I gave you actually do via

     

    $ man "command"

    $ man touch

    $ man chown

    $ man chmod

     

    Creating a directory via Finder is going to set it up with the wrong permissions so , was the devicemgr directory not present at all?

     

    If not, then by nuking your devicemgr setup, you might well have deleted important directories.

     

    So first up try

    $ ls -aFl /var/log

    $ ls -aFl /var/log/devicemgr

     

    And then Post the results

     

    Also

    $ man ls

     

    Cheers

    Gerry

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 11, 2012 9:25 PM (in response to redshift82r)

    (Obviously don't post results of "man ls")!

     

    What version of OS X server are you running ? ML or Lion?

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 11, 2012 9:53 PM (in response to kunikatsu)

    Justin - don't type the file or directory name by itself from the command line unless you know what it does- that's dangerous......

     

    Again - please post the output of

     

    $ ls -aFl /var/log

     

    Then well go to the next step!

  • redshift82r Level 2 Level 2 (325 points)
    Currently Being Moderated
    Nov 12, 2012 3:04 PM (in response to kunikatsu)

    Hi Justin, I went to reply yesterday and the communities have been down for maintenance.

     

    So here's the thing.

     

    As part of Server setup, it runs a bunch of scripts to set up various things like log files, directories, user names etc.

     

    It looks like your Server setup did not complete properly as the symbolic link from /var/log/devicemgr directory to /Library/Log/ProfileManager did not complete.

     

    You have two choices.

     

    1. Run the devicemgr setup script again or

    2. Move OS X Server.app to the trash and re-install.

     

    1. Running the setup script will work if the only thing that failed was setting up Profile Manager, but if you are getting funny issues with your server, it might be best to go down the route of reinstalling Server.app

     

    You can find the ProfileManager setup script at :

    /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonEx tras/80-devicemgrcommon.sh

     

    I think I would really recommend reinstalling Server.app from scratch though given your level of knowledge.

     

    You can check the install.log in console.app to see whether it reinstalls without errors.

     

    Cheers

    Gerry

  • euclidea Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 20, 2012 1:32 PM (in response to kunikatsu)

    Bonjour

     

    Next week I will deploye 650 iPhone with OSX 10.8 server for MdM.

    I have the exactly same pb. My server is connected to an AD, SSL signed by HQ in US. So I am looking for solution to fixe issue with out lost all my OSX sever config.

     

    I get this sceen when I click on enrollement on an iOS devices.

    Capture d’écran 2012-11-20 à 22.31.17.png

  • mmurray47 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 28, 2012 7:01 AM (in response to kunikatsu)

    Same problem.  "com.apple.launchd[1]: (com.apple.DeviceManagement.php-fpm) Throttling respawn: Will start in 10 seconds"

     

    Problem presented after an IP address and host name change.  In my case, the devicemgr pointer (or alias) in /var/log to /Library/Server/ProfileManager/Logs is missing altogether and "/logs" is missing altogether.

     

    Which option solved the issue if I may?  Thanks.

     

    1. Run the devicemgr setup script again or

    2. Move OS X Server.app to the trash and re-install.

  • calewis Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 29, 2013 8:24 AM (in response to redshift82r)

    Excellent answer and really well explained! Thank-you!

  • alexri Level 1 Level 1 (10 points)
    Currently Being Moderated
    Feb 2, 2014 7:52 AM (in response to kunikatsu)

    I tried everything in this thread (beside a system reinstall, I won't do that because of profile manager). But I still get the "permission denied" error.

     

    02.02.14 16:48:36,869 ProfileManager[1669]: Unable to create ProfileManager log file at '/var/log/devicemgr/profilemanager.log' (Permission denied)

     

    I wiped the database.

    I ran the script.

    I changed the privileges with chmod and chown

     

    Still: permission denied!

     

    Please help!

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.