Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

profilemanager website not responding (10.10 Server)

I can not reach the profile manager website.

I think it is an apache problem.


I installed Yosemite Server with Open Directory and network accounts.

I was able to add all my clients to profile manager and set them up to show the list of users in the login window of the clients.

When I tried to set up a profile to submit settings for contacts and calendar it did not work so i removed the settings from the profile.

No I don't get into the profile manager website any more.


Logs:

system.log (every ten seconds):

Mar 16 09:48:46 myserver.domain.tld certadmin[36571]: BundleManager(non-plugin calling servermgr_certs): doCommand finished reply = {

passphraseForExportedPrivateKey = "\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022";

}

Mar 16 09:48:46 myserver com.apple.xpc.launchd[1] (org.apache.httpd[36569]): Service exited with abnormal code: 1

Mar 16 09:48:46 myserver com.apple.xpc.launchd[1] (org.apache.httpd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.


apache error log:

[Mon Mar 16 09:50:32.128319 2015] [:emerg] [pid 36698] AH00020: Configuration Failed, exiting

[Mon Mar 16 09:50:42.615399 2015] [so:warn] [pid 36712] AH01574: module proxy_fcgi_module is already loaded, skipping

[Mon Mar 16 09:50:42.641304 2015] [slotmem_shm:error] [pid 36712] (28)No space left on device: AH02611: create: apr_shm_create(/private/var/run/slotmem-shm-p81db1a97--235335757_balancer_group _webapp_com_apple_webapp_auth__auth.shm) failed

[Mon Mar 16 09:50:42.641324 2015] [proxy_balancer:emerg] [pid 36712] (28)No space left on device: AH01185: worker slotmem_create failed

[Mon Mar 16 09:50:42.641330 2015] [:emerg] [pid 36712] AH00020: Configuration Failed, exiting


I dont understand, why it says, there is no space left on device an which device it means.

There ist lots of space on the disk.


I have not set up websharing until now


What can I do to solve this?

OS X Server, null

Posted on Mar 16, 2015 1:56 AM

Reply
2 replies

Mar 16, 2015 2:44 AM in response to macmartin

I found that when I stop profile manager and start websharing apache works normally.

When I then start profile manager again the web server does not respond any more.


I get this in the system.log:

Mar 16 10:39:33 myserver com.apple.xpc.launchd[1] (com.apple.DeviceManagement.php-fpm): Invalid type for environment variable value (env/type): dm_log_level/int64

Mar 16 10:39:33 myserver com.apple.xpc.launchd[1] (com.apple.DeviceManagement.php-fpm): This service is defined to be constantly running and is inherently inefficient.

Mar 16 10:39:33 myserver com.apple.xpc.launchd[1] (com.apple.DeviceManagement.dmrunnerd): This service is defined to be constantly running and is inherently inefficient.

Mar 16 10:39:37 myserver com.apple.xpc.launchd[1] (org.apache.httpd): Please switch away from OnDemand to KeepAlive.

Mar 16 10:39:37 myserver.domain.tld certadmin[39102]: Connected to the Notify Service

Mar 16 10:39:37 myserver.domain.tld certadmin[39102]: BundleManager(non-plugin calling servermgr_certs): doCommand waiting for reply from servermgr_certs

Mar 16 10:39:38 myserver.domain.tld certadmin[39102]: BundleManager(non-plugin calling servermgr_certs): got a reply = {

passphraseForExportedPrivateKey = "\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022";

}

Mar 16 10:39:38 myserver.domain.tld certadmin[39102]: BundleManager(non-plugin calling servermgr_certs): doCommand finished reply = {

passphraseForExportedPrivateKey = "\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022";

}

bigmac com.apple.xpc.launchd[1] (org.apache.httpd[39093]): Service exited with abnormal code: 1

Mar 16 10:39:38 myserver com.apple.xpc.launchd[1] (org.apache.httpd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Mar 16 10:39:41 myserver.domain.tld devicemgrd[39046]: Failed to obtain sandbox extension for path=/var/empty/Library/Caches/com.apple.server.devicemgrd. Errno:2

Mar 16 10:39:43 myserver.domain.tld nsurlstoraged[171]: realpath() returned NULL for /var/root/Library/Caches/com.apple.servermgrd.plugin

Mar 16 10:39:46 myserver com.apple.xpc.launchd[1] (org.apache.httpd): Please switch away from OnDemand to KeepAlive.

Mar 16 10:39:47 myserver.domain.tld certadmin[39133]: Connected to the Notify Service

Mar 16 10:39:47 myserver.domain.tld certadmin[39133]: BundleManager(non-plugin calling servermgr_certs): doCommand waiting for reply from servermgr_certs

Mar 16 10:39:47 myserver.domain.tld certadmin[39133]: BundleManager(non-plugin calling servermgr_certs): got a reply = {

passphraseForExportedPrivateKey = "\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022";

}

Mar 16 10:39:47 myserver.domain.tld certadmin[39133]: BundleManager(non-plugin calling servermgr_certs): doCommand finished reply = {

passphraseForExportedPrivateKey = "\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022\\U2022";

}

Mar 29, 2015 5:56 PM in response to macmartin

I have/had the same issue with a client server. The server was upgraded from 10.7 -> 10.8 ->10.10 Maybe that was it. I don't know.

That calendar uses the apache load balancer. The issue was that apache can not start with the load balancer loaded. The load balancer can not start because it's files in the /var/run/ directory already exits. So when you cold boot, calendar work the first time. But if you try to restart the calendar, it can't and it can't run apache for the websites etc either. What a pain! It will try to restart every 10 seconds. When it tries to do this, you see the myserver.domain.tld certadmin check the certificate in the system log. (I think that is OK, it is just verifying it)


So this is what I did. I build a server from scratch in my office and compared the /Library/Server/Web/Config/apache2/ between the two servers. I did not replace the bad one as the certificates are different.


This is what I found.

servermgr_web_apache2_config.plist loads httpd_webdavsharing.conf with com.apple.webapp.webdavsharing in the upgraded version. In the new version it does not. It also createRedirectToSSLVirtualHost with the bad version. We no longer need that.


I also noted that my migrated version has workers.properties files . I renamed them. I don't think that did much.

Finally I had to 'sudo reboot' the whole server to clear out the /var/run/ directory of the old slotmem-shm-p81db1a97--235335757_balancer files.


So

Backup servermgr_web_apache2_config.plist

mv Backup servermgr_web_apache2_config.plist Backup servermgr_web_apache2_config.plist_myBackup


This is the output of the diff statement. I hope that helps you. If you make a mistake, the system log will show you that it can not load servermgr_web_apache2_config.plist (and a whole lot more) so that is helpful.


Start with changing line 8 and 10. I did that last, and that might just do it. On the old upgraded (bad) server these pointed to the old directories.


< Means lines in the good file (from the new server)

> Means lines in the bad file so edits these lines. (from the upgraded server)

8c8 mean line 8 changes 8 chars

======


diff /Volumes/GystMedia/apache2/servermgr_web_apache2_config.plist /Users/wgnb/Downloads/apache2/servermgr_web_apache2_config.plist

8c8

< <string>/Library/Server/Web/Config/apache2/sites_disabled</string>

---

> <string>/etc/apache2/sites_disabled</string>

10c10

< <string>/Library/Server/Web/Config/apache2/sites</string>

---

> <string>/etc/apache2/sites</string>

12c12,14

< <array/>

---

> <array>

> <string>com.apple.webapp.php</string>

> </array>


[Show a differences in certificates here... don't touch]


82a85,119

> <dict>

> <key>displayName</key>

> <string></string>

> <key>includeFiles</key>

> <array>

> <string>/Library/Server/Web/Config/apache2/httpd_webdavsharing.conf</string>

> </array>

> <key>launchKeys</key>

> <array/>

> <key>name</key>

> <string>com.apple.webapp.webdavsharing</string>

> <key>preflightCommand</key>

> <string></string>

> <key>proxies</key>

> <dict/>

> <key>requiredByWebAppNames</key>

> <array>

> <string>com.apple.webapp.webdavsharing</string>

> </array>

> <key>requiredModuleNames</key>

> <array>

> <string>rewrite_module</string>

> <string>bonjour_module</string>

> </array>

> <key>requiredWebAppNames</key>

> <array/>

> <key>requiresSSL</key>

> <false/>

> <key>sslPolicy</key>

> <integer>0</integer>

> <key>startCommand</key>

> <string></string>

> <key>stopCommand</key>

> <string></string>

> </dict>

152a190,224

> <dict>

> <key>displayName</key>

> <string></string>

> <key>includeFiles</key>

> <array>

> <string>/Library/Server/Web/Config/apache2/httpd_webdavsharing.conf</string>

> </array>

> <key>launchKeys</key>

> <array/>

> <key>name</key>

> <string>com.apple.webapp.webdavsharing</string>

> <key>preflightCommand</key>

> <string></string>

> <key>proxies</key>

> <dict/>

> <key>requiredByWebAppNames</key>

> <array>

> <string>com.apple.webapp.webdavsharing</string>

> </array>

> <key>requiredModuleNames</key>

> <array>

> <string>rewrite_module</string>

> <string>bonjour_module</string>

> </array>

> <key>requiredWebAppNames</key>

> <array/>

> <key>requiresSSL</key>

> <false/>

> <key>sslPolicy</key>

> <integer>0</integer>

> <key>startCommand</key>

> <string></string>

> <key>stopCommand</key>

> <string></string>

> </dict>

155a228,229

> <key>createRedirectToSSLVirtualHost</key>

> <true/>

profilemanager website not responding (10.10 Server)

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