Results 1 to 6 of 6

Thread: MS SQL 2005...working against me!

Threaded View

  1. #4
    Senior Member Blunted One's Avatar
    Join Date
    Dec 2005
    Posts
    183

    Talking

    So I am just getting countless random errors, none of them make sense and here is the latest one I got...

    "Neither the partner nor the witness server instance for database "testdatabase" is available. Reissue the command when at least one of the instances becomes available. (Microsoft SQL Server, Error: 1431)

    I guess these error msgs aren't always the real cause of the problem...very very frustrating because I had done everything instructed in order to correct each error I came across with no success.

    So I was going to just shoot myself, because these errors made no sense at all! BUT then as I was about to load my revolver I had a thought...maybe...just maybe if I modify the HOST file on each computer to include the information about the other two computers (and itself just in case) it might just work.

    IT WORKED!!!!

    By modifying the host files to include the IP and FQDN of each computer the database is being mirrored and the witness is also working. PRAISE TO THE GEEK GODS!

    To answer a few questions from Sonata...
    -These are three basic computers with XP SP2 on them with the principal and mirror running SQL 2005 Developer SP2 (this is key if you don't want to have to use the 1400 trace flag thing) and SQL express on the witness.

    -I had tried a lot of code and such so I won't post it all, but mainly I used the ALTER DATABASE, CREATE and DROP commands.

    -I was using the local computer to connect to sqlcmd so that is still strange, but isn't hindering the mirror. Tomorrow I am going to run tests to see if it actually will failover and if I can reverse the roles of the principal and mirror.

    Have a great holiday season everyone and a Happy New Year to one and all!
    Last edited by Blunted One; December 20th, 2007 at 03:31 AM.
    It's not a war on drugs it's a war against personal freedoms!

Similar Threads

  1. Firewall traffic question
    By Gixxer in forum Firewall & Honeypot Discussions
    Replies: 11
    Last Post: September 14th, 2005, 03:58 AM
  2. SQL Tutorial – Basics
    By mikester2 in forum Other Tutorials Forum
    Replies: 5
    Last Post: January 31st, 2005, 01:16 PM
  3. SQL Tutorial
    By ch4r in forum Other Tutorials Forum
    Replies: 5
    Last Post: January 18th, 2005, 08:20 AM
  4. Heads Up - Cumulative Patch for Microsoft SQL Server (815495)
    By CXGJarrod in forum Microsoft Security Discussions
    Replies: 0
    Last Post: July 23rd, 2003, 10:00 PM
  5. SQL Sapphire Worm Analysis
    By s0nIc in forum AntiVirus Discussions
    Replies: 2
    Last Post: January 27th, 2003, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •