craigfromlivermore

Q: 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, Mac OS X (10.7)

Posted on Jul 21, 2011 12:14 PM

Close

Q: Lion Server fail

  • All replies
  • Helpful answers

Previous Page 2
  • by marino72,

    marino72 marino72 Oct 2, 2011 10:19 AM in response to Jerry Z.
    Level 1 (0 points)
    Oct 2, 2011 10:19 AM in response to Jerry Z.

    Is possible than apple solve this problem????

  • by iXô,

    iXô iXô Oct 10, 2011 12:48 AM in response to craigfromlivermore
    Level 1 (0 points)
    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 ?

  • by K4TAY,

    K4TAY K4TAY Oct 29, 2011 1:39 PM in response to iXô
    Level 1 (0 points)
    Oct 29, 2011 1:39 PM in response to iXô

    Same problem here.  In the process of a 3rd OC Reload and my cvert is from Godaddy.  Apple support is emailing me a document and if I get everything to work, I'll post the solution.

  • by maru8,

    maru8 maru8 Nov 3, 2011 12:36 PM in response to craigfromlivermore
    Level 1 (0 points)
    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

  • by maru8,

    maru8 maru8 Nov 3, 2011 2:46 PM in response to craigfromlivermore
    Level 1 (0 points)
    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

  • by robertfromcomfort,

    robertfromcomfort robertfromcomfort Nov 21, 2011 9:55 AM in response to mobibaud
    Level 1 (0 points)
    Nov 21, 2011 9:55 AM in response to mobibaud

    This morning I discovered Lion has erased all my apache site confs.  I haven't been in the server for days.

  • by android334,

    android334 android334 Dec 13, 2011 6:35 PM in response to craigfromlivermore
    Level 1 (10 points)
    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.

  • by jocjacks,

    jocjacks jocjacks Jan 6, 2012 8:06 AM in response to maru8
    Level 1 (10 points)
    Jan 6, 2012 8:06 AM in response to maru8

    Changing the certificate option to none worked! I restarted and then changed the certificate back and all is fine!

  • by gnusgnus,

    gnusgnus gnusgnus Jan 9, 2012 12:59 AM in response to craigfromlivermore
    Level 1 (0 points)
    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

  • by Svein Hopland,

    Svein Hopland Svein Hopland Jan 12, 2012 10:50 AM in response to gnusgnus
    Level 1 (105 points)
    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.

  • by Mark23,

    Mark23 Mark23 Jan 23, 2012 1:46 PM in response to craigfromlivermore
    Level 3 (975 points)
    Jan 23, 2012 1:46 PM in response to craigfromlivermore

    I fixed all my problems by making sure my DNS was solid and resetting Apache.

    The following articles were used:

     

    http://labs.hoffmanlabs.com/node/1436

    https://discussions.apple.com/thread/3212286?start=0&tstart=0

     

    Solid DNS appearantly is the foundation on which everything falls back in OS X Server.

     

    Hope this helps anyone...

     

    Mark

  • by Mark23,

    Mark23 Mark23 Mar 2, 2012 1:06 PM in response to craigfromlivermore
    Level 3 (975 points)
    Mar 2, 2012 1:06 PM in response to craigfromlivermore

    Solved! At least for me...

     

    I have described all solutions to the major problems I've been having from a crippled 10.7.3 install to a flourishing one here:https://discussions.apple.com/message/17740033#17740033

     

    Hope this helps!

  • by FSU IT Help Desk,

    FSU IT Help Desk FSU IT Help Desk Jul 10, 2012 12:10 PM in response to Starefossen
    Level 1 (0 points)
    Jul 10, 2012 12:10 PM in response to Starefossen

    Hi,

     

    Was haveing the same issue after working with certs. Did the following in the Server App and get things back working.

     

    Turned off services

    Confirmed correct cert in place

    Changed host name to same current name

    restarted services.

     

    Seems to have worked so far!

    Thanks

Previous Page 2