You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Lion Server fail

Ok, so I installed Lion Server this morning and mostly had it configured using a new SSL cert from GoDaddy. Quite suddenly, though, all web-based access (wiki, profile manager, web server, etc) stopped working with a "safari can't connect to the server" error in Safari. Looking in the System Log, I see a rapidly advance series of the following error:


Jul 21 12:07:52 sidhome org.apache.httpd[5802]: [Thu Jul 21 12:07:52 2011] [warn] _default_ VirtualHost overlap on port 443, the first has precedence

Jul 21 12:07:52 sidhome com.apple.launchd[1] (org.apache.httpd[5802]): Exited with code: 1

Jul 21 12:07:52 sidhome com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds


Can someone give me some pointers at what is the root cause of this? I know have a $50 log filler.

OS X Lion Server-OTHER, Mac OS X (10.7)

Posted on Jul 21, 2011 12:14 PM

Reply
27 replies

Oct 10, 2011 12:48 AM in response to craigfromlivermore

I would like to know how to solve this problem too.


I started with a fresh install of lion, the bought server.app, and started to setup services.


Then I wanted to use Devices manager, but was unable to used it beacause of the use of a self signed certifcate, that server.app created automatically.


Then, I created a cert from cacert.org, since that, everything stop working, even disabling certificate doesn't return to a normal state !


How can a so simple need of a certificate breaks everything ?


Apple, didn't you try your software before selling it ?

Nov 3, 2011 12:36 PM in response to craigfromlivermore

I'm on the same boat and tried calling apple on all 4 calls they said to talk to godaddy because they dont support third party certificates, when called godaddy they dont support the server.

After many re-installs I think around 6, very careful to follow nice steps, I got OD working, then by itself got corrupt again, did a reset on the OD going to stand alone and build master again, etc,... But right now, not siure how the profile manager shows as not turned on when itw as turned on and configured a while back and wiki and basically nothing works again. Not sure what exactly is the trigger, but something definetively its corrupting OD and with it basically all services.

Please share any progress as I dont believe apple will help very unfortunately... 😟

At least I see Im not alone... the only good side is that we're learning more than we wanted to learn during this install, for me so far a month and I can say after many years doing this I never encounter so many obstacles in a simple install before on any platform.... gosh

Nov 3, 2011 2:46 PM in response to craigfromlivermore

Well, I think that just by posting here which I never do... gave me luck.


I finally got out of the deep stuck hole I was in, so I though I should share what I learned from right here inside the many discussions.


By working with three different tools to analyze and troubleshoot the issues.

-The configuration files generated by setting for wiki, etc.. and web because these are kind of sharing ports.

-The console error messages on the webserver, reading these messages will give you a clue of what might have happened, but you might want to look at it while setting things up, for instance turn services off and on.

-The Admin app

-Terminal


I also learned the way to make the server regenerate configuration settings is by setting the ssl certificate to none, let it run and set it back to your ssl cert.

--------------------------------------------------------------------


I believe the issue I had was caused by the secured pages, port 443 website and wiki conflicting, I found on the apache2/sites pages for the sites on each port and defaults to reset.

Since my issue was the website and wiki, ical,etc,... named (any) using the same 443, I just deleted the one for my site, remember the extension that will be used is ending on .conf


The error I found on the console was actually a warning saying:

[warn] RSA server certificate CommonName (CN) `server.domain.com' does NOT match server name!?

..................................................................


My troubleshooting steps:

1.- Turned off services

2.- Reset the configuration files by copying the defaults on top of the .conf

3.- Reconfigured the server by setting the ssl cert on hardware in the server app to "none" -letting it run and back to "your ssl cert" - also remember to check the cert used by each service, on custom.

4.- Turned the Profile Mgr to on

5.- Look at the Profile Mgr in safari, left the safari window open

6.- Open a new safari window and set the wiki to :"on", left the safari window open

7.- Open a new safari window and set web to "on"


When I turned the web to on it was breaking profile mgr and wiki as well, so thats how I notice web was conflicting with the collaboration services.


_________________________________

I really hope this can help somebody else, I tried to make it easy to read, because I spent a long time trying to read to find solutions out there, so this might be helpful.


Thanks,

Maru 🙂

Dec 13, 2011 6:35 PM in response to craigfromlivermore

Okay I fixed this issue but not well. I'll see if I have time later to write a script to automate the process (assuming clean Lion installs).


I did the following:


1. Created a backup of my /etc/apache2/sites directory on my desktop

1.1 (I removed my SSL certificate though I don't remember which step however best to do it first).

2. Put back the virtual_host_global.conf within the /etc/apache2/sites.

3. I took the file named '0000_any_80_.conf.default' and changed it to '0000_any_80_.conf'

4. Put '0000_any_80_.conf' back in /etc/apache2/sites

5. Restarted ALL services using apache (in my case, wiki, profile manager and web)


All worked without my certificate!


6. Went and added my self-signed certificate back on and all still worked!


Let me know if this works.

Jan 9, 2012 12:59 AM in response to craigfromlivermore

Hi!


Havent tried any of you tips yet. But I do agree that Apple could come up with a solution for this problem FAST! I have exactly the sam problem and I reinstalled my server. After a few days with config with profilemanager to iOS devices and some www hosting...... the same problem again. Safari cant access to the profilemanger. I do get a blank with page. I tried to access with ff and safari from 10.6.8 aswell.


Apple need to step up now! I think this server development is great! But if Apple cant handle the need for support at this early stage. We cant sell it either.....


ACTC / Magnus

Jan 12, 2012 10:50 AM in response to gnusgnus

"Apple, didn't you try your software before selling it ?"


Great comment!


Just what I am thinking. Have had a various set of problems with the Server, and today I wanted to see if the memory leak would "go away" if I turned of the services and restarted them.


It did not, but when I tried to restart the wiki-services, the 403 message appeared in the browser, and I cannot contact either from the server or from external address.


I have a "this is an unfinished and bad product" feeling here...


I have mailed Apple about my issues, but I believe nothing will be done. Too bad. This builds bad rep.

Lion Server fail

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