Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Unable to Connect in Single User Mode Expand / Collapse
Author
Message
Posted Monday, April 12, 2010 6:45 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 3:32 AM
Points: 122, Visits: 208
I added -m; at the beginning of the startup parameters to start the server in single user mode. I then restarted the server. When i tried to connect to the server, I'm getting the below message
"Login failed for user 'DomainName\Admin'. Reason: Server is in single user mode. Only one administrator can connect at this time. (.Net SqlClient Data Provider)"
I tried connecting using sqlcmd. But the same meesage came up.
I stopped all the services[text search, analysis, integration, reporting].

No applications are using this server.

Any idea would be appreciated....
Post #901548
Posted Monday, April 12, 2010 6:47 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, September 19, 2014 11:08 AM
Points: 5,863, Visits: 12,941
did you also stop SQLAgent? Is this a cluster?

---------------------------------------------------------------------

Post #901550
Posted Monday, April 12, 2010 6:48 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 3:32 AM
Points: 122, Visits: 208
No its not on cluster. I stopped the Agent as well.
Post #901551
Posted Monday, April 12, 2010 7:56 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, September 19, 2014 11:08 AM
Points: 5,863, Visits: 12,941
try starting in multi user mode, connect and see if you can spot any other connections.

---------------------------------------------------------------------

Post #901623
Posted Monday, April 12, 2010 8:54 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, September 15, 2014 2:38 AM
Points: 2,223, Visits: 3,647
I once faced similar issue and found that one of the applications was continously trying to connect to db. As soon as i restarted server, that app would connect to the database.
I disabled the tcp/ip and then i was able to connect.





Pradeep Singh
Post #901688
Posted Monday, April 12, 2010 10:09 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 3:32 AM
Points: 122, Visits: 208
Although the server is having mixed authentication mode, Builtin\Administrators are not part of server admins.We forgot the sql authentication password. So I'm trying to start the box is single user mode so that I can add admin. I even tried disabling TCP/IP and enabling only Shared Memory. But everything was invain
Post #901740
Posted Friday, December 6, 2013 2:19 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, September 17, 2014 6:29 PM
Points: 344, Visits: 290
There is a small trick which can be used http://sqlserver-help.com/2013/12/06/help-how-to-fix-error-reason-server-is-in-single-user-mode-only-one-administrator-can-connect-at-this-time/
Post #1520457
Posted Friday, December 6, 2013 2:21 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Yesterday @ 2:13 PM
Points: 39,866, Visits: 36,208
Please note: 3 year old thread.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1520460
Posted Friday, December 6, 2013 8:05 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, September 17, 2014 6:29 PM
Points: 344, Visits: 290
GilaMonster (12/6/2013)
Please note: 3 year old thread.


Thanks for the comment. I didn't realize that. Apologies if its incorrect to add a solution to old thread.
One of my customer opened ticket today and he was pointing to this post and told that he is also facing same issue but none of the replies helped. Since I helped him today and wrote a blog, i added a reply.



Post #1520599
Posted Friday, December 6, 2013 8:25 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, September 19, 2014 11:08 AM
Points: 5,863, Visits: 12,941
if it adds to a thread and completes it by providing a solution I cannot see a problem, might help someone in trouble in the future who comes across the URL in their search.

ITs when people post their issue in an old thread or just repeat something already stated its not best etiquette IMHO.


---------------------------------------------------------------------

Post #1520611
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse