SQL 2005 Install Error

We have about eighty or so SQL 2005 instances running in our shop. Up until last week we had zero problems installing SQL 2005 on any of these instances. That all changed last week, when we were greeted with this error message:

The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, “How to: View SQL Server 2005 Setup Log Files” and “Starting SQL Server Manually.”

To confuse us even more, the SSAS piece of the install had completed without any problem. We were dumbfounded. Since we had our streak of successful install snapped, my first thought was “what is different”? We checked to verify that we were using the right version (x64), we checked to verify that the server was connected to the domain, we checked for lots of things. We checked with the server team and asked them “what is different?” They had no immediate answer, so we kept poking around and finally the server team rebuilt the box, we tried the install again, and it failed.

And then, today, I see our team is asked to try again, and this time the instance was installed without any problems. So, what was the issue? Well, check out this KB. Apparently, there is an issue with the SQL 2005 install on a server with a multicore processor if the ratio of logical processors to physical sockets is not a multiple of two. Luckily this was fixed in SQL 2005 SP1…well, actually, that is not lucky, because I need to install SQL 2005 before I can apply SP1.

The fun never ends!

5 thoughts on “SQL 2005 Install Error”

  1. You can try modifying the boot.ini to add /NUMPROC=XX so that Windows only sees the number of processors you need. Then once SQL Server 2005 SP1 is fully installed, modify the boot.ini to undo this.

    We used this switch to do CPU load testing on our 8-core machine (2 socket) to emulate from 1 to 8 cores and it worked like a charm.

    Reply
    • interesting workaround. i like how you use it for some load testing as well, perhaps we could “borrow” your suggestion.

      then again, i could just tell them to buy a product that uses sql 2008, which will not error out upon install.

      Reply
  2. Hey if you can get a SQL 2008 license out of this, that sounds like a better way to go. 🙂

    FYI – here is a sample of what our Boot.ini looks like on the test server we used.

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Windows Server 2003 Standard x64 Edition” /noexecute=optout /fastdetect /NUMPROC=8

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.