Solved

SQL Server 2008 R2 cluster can't start in single user mode

Posted on 2011-09-27
10
577 Views
Last Modified: 2012-05-12
Hello,

I try to start SQL Server 2008 R2 cluster can't start in single user mode but I have this error (in the file).
How can I resolve it?
Thanks
bibi
sqlservr.bmp
0
Comment
Question by:bibi92
  • 4
  • 4
  • 2
10 Comments
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 36709150
Did you open your command prompt in administrator mode (assuming you are running Windows 2008)?
Did you confirm that SQL is stopped in the Cluster Administrator?
0
 

Author Comment

by:bibi92
ID: 36709318
Yes, thanks
0
 
LVL 5

Expert Comment

by:AlokJain0412
ID: 36709490
using these steps exactly:

1)From Cluster Administrator: stop the cluster service for the failover node
2)From Cluster Administrator: take the SQL Server resource offline
3)From SQL Server Configuration Manager: add the startup parameters -c;-m;-T3608
4)From Cluster Administraror: bring the SQL Server resource online again

completely stop the failover node..

0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 30

Expert Comment

by:Rich Weissler
ID: 36709523
... and are there any relevant messages in the Windows System, Windows Application, or SQL Errorlogs?
0
 

Author Comment

by:bibi92
ID: 36710560
Ok I have tried these steps :

1)From Cluster Administrator: stop the cluster service for the failover node
2)From Cluster Administrator: take the SQL Server resource offline
3)From SQL Server Configuration Manager: add the startup parameters -c;-m;-T3608
4)From Cluster Administraror: bring the SQL Server resource online again
But when I try to acess with SSMS : I have this error messsage :
Login Failed for user sa. Reason Server is in single user mode.

Thanks
bibi

0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 36711236
Can you access the server with sqlcmd instead of SSMS?  In the past, I've had additional challenges with SSMS because it attempts to simultaneously open multiple connections to the database server simultaneously.
0
 

Author Comment

by:bibi92
ID: 36712924
No, with SQLCMD, I have the same message.
Thanks
bibi
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 36713912
Instead of just -m, change that parameter to -m"sqlcmd" then try to connect with SQLCMD.

And to make certain we are on the same page concerning the nature of the issue, and to confirm assumptions:  I believe the database engine is starting in single user mode.  You are unable to connect to that instance of SQL while in single user mode because another process is connecting to that instance before you can.

If you can't get the -m"sqlcmd" parameter to work, the next option would be to figure out what could be grabbing that connection.  
Are there any other local services on that server which are still running which might be attempting to reestablish a connect to the SQL box?  Can you disable those if there are?  
If the only connections are coming through the network, is disabling network communication to the box an option?  (Either by disabling protocols to SQL via Configuration Manager.)
Are you able to open the ERRORLOG files for this database instance?  (Should be accessible via notepad, and might give a clue what the database engine is doing when it comes up.)
0
 

Author Comment

by:bibi92
ID: 36714616
-m"sqlcmd" doesn't work but I think the problem is clussvc service.

Regards

bibi
0
 
LVL 5

Accepted Solution

by:
AlokJain0412 earned 500 total points
ID: 36714760
When starting SQL Server in single user mode, and specifying that you will only allow connections over sqlcmd.exe, you must use ALL CAPS.

sqlservr.exe /c /m"SQLCMD"

Please Check It
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
TSQL - How to declare table name 26 31
convert null in sql server 12 34
How to construct an if else statement from existing code 6 21
horizontal scale out 29 15
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question