May 25, 2009 at 6:24 am
Dear All,
I was trying to implement mirroring in one of my TEST server.
After the configuration I got an error saying
Mirroring is not enabled.......change startup parameters etc....
As per the information got from Google, I did the following.
went to RUN --> Typed sqlservermanager.msc
Right clicked on SQL Server(instancename) service and clicked on properties and Clicked on Advanced tab
In the startup parameters entered ;-T1400 and click on OK
( Removed the following from startup parameters and entered only ;-T1400.
-dC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf;
-eC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG;
-lC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
)
Restarted SQLservices.
NOW MY SQL SERVER IS NOT WORKING. I AM NOT ABLE TO START THE SERVICE.It is giving the message,Windows could not start the SQL Server on local computer.For more information, review the System Event Log.If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417.
Can anyone help me pls.
Thanks in advance.
May 25, 2009 at 6:31 am
This trace flag was only needed when SQL 2005 came out as RTM version which didn't support mirroring.
Once you install SP1 (or higher) you don't need this any more, so I would advise to remove the startup parameter and update you SQL Server instance(s) to SP3.
[font="Verdana"]Markus Bohse[/font]
May 25, 2009 at 6:34 am
PS. Of course, if you have removed the parameters for the master files and the logfiles you must add them again.
(dC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf;
-eC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG;
-lC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
)
[font="Verdana"]Markus Bohse[/font]
May 25, 2009 at 6:39 am
Hi,
Thanks for your quick reply.
I added those parameters back. But still it's nto working.
What should I do now..?
By the way, it's SQL Server 2005 Standared edition
with SP2 installed. Why mirroring was not working then.?
Once again thanks.
May 25, 2009 at 7:01 am
As for why SQL still don't start look in the Windows eventlog for the exact error message. You might just have made a typing error.
Why mirroring wasn't working I don't know without you giving us the exact error. You say that you're server is SQL2K5 Std with SP2, but what about the mirroring partner server?
[font="Verdana"]Markus Bohse[/font]
May 25, 2009 at 7:33 am
mmm...Typing mistake can't happen. I had copied and pasted.
May 25, 2009 at 7:45 am
What are the exact startup parameters that you have now?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 26, 2009 at 1:58 am
GilaMonster (5/25/2009)
What are the exact startup parameters that you have now?
I was having the following
-dC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf;
-eC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG;
-lC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
Anyways now I uninstalled and reinstalled SQL server 2005.
I added ;-T1400 in both Principal & mirror server start parameters.
By the way, why DBCC TRACEON(1400) is used..?
Thanks.
May 26, 2009 at 2:13 am
San (5/26/2009)
Anyways now I uninstalled and reinstalled SQL server 2005.I added ;-T1400 in both Principal & mirror server start parameters.
If both are SP1 or higher, take it out. If not, patch both to SP2 or SP3 and then take it out.
By the way, why DBCC TRACEON(1400) is used..?
Because mirroring was unsupported and disabled in RTM and should not be used. After SP1, mirroring was enabled by default and the need for that traceflag fell away
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 26, 2009 at 3:01 am
Both the servers are SQL Server 2005 32bit with SP2.
You mean to say I can remove ";-T1400" from startup parameters.?
I donno why, I was getting error when I was configuring and was getting the msg that I should set this startup param.
And I sould configure successfully after adding this parameter.
I am bit confused. Wot's "RTM " by the way.?
May 26, 2009 at 3:27 am
RTM is the first version which gets released without any patches. Could you post the results from this, just to be sure that SP2 is installed correctly:
SELECT @@VERSION
[font="Verdana"]Markus Bohse[/font]
May 26, 2009 at 3:44 am
Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37
Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.1
(Build 2600: Service Pack 2)
May 26, 2009 at 3:50 am
San (5/26/2009)
Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37Copyright (c) 1988-2005 Microsoft Corporation Standard Edition on Windows NT 5.1
(Build 2600: Service Pack 2)
That's just what I thought.
Your SQL Server version is RTM (no Service Pack). You can recognize it from the build version 9.00.1399.
The Service Pack information you see is for the Windows operating system. So install the SQL Server Service Pack and your problem should be solved.
[font="Verdana"]Markus Bohse[/font]
May 26, 2009 at 4:33 am
I ran SP2 and am geting the version as below
Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition on Windows NT 5.1 (Build 2600: Service Pack 2)
wel, I had removed ";-T1400" from startup params (before running SP2) and I could confgiure sucessfully as well.Now the problem is while clicking on "Start Mirroring button." Kindly see the thread below.
http://www.sqlservercentral.com/Forums/Topic723067-360-1.aspx
Thanks.
May 26, 2009 at 4:54 am
Since you started that second thread already two hours before installing SP2, it's probably a good idea to start the whole process from scratch again.
[font="Verdana"]Markus Bohse[/font]
Viewing 15 posts - 1 through 15 (of 17 total)
You must be logged in to reply to this topic. Login to reply