Profile Manager crashes

Originator:hanzo
Number:rdar://12282536 Date Originated:11-Sep-2012 11:31 PM
Status:Open Resolved:
Product:OS X Server Product Version:10.8.1 (12B19)
Classification:Medium Reproducible:n/a
 
Summary:
When enabling "Profile Manager" using Server.app, console shows following errors:

Sep 11 00:30:29 SERVERNAME com.apple.launchd[1] (com.apple.DeviceManagement.php-fpm[67348]): Exited with code: 255
Sep 11 00:30:29 SERVERNAME com.apple.launchd[1] (com.apple.DeviceManagement.php-fpm): Throttling respawn: Will start in 10 seconds

Upon review, this seems to be related to missing / improperly owned log files.
Looking at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/php/php-fpm.conf lines 30 and 400 reveals expected filename and location 

Steps to Reproduce:
Start Profile Manager

Fix Action:
1. touch /var/log/devicemgr/php-fpm.log && touch /var/log/devicemgr/php-fpm-slow-devicemgr.log
2. chown _devicemgr:admin /var/log/devicemgr/php-fpm*

Restart Profle Manager

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!