May 26, 2008 at 6:19 pm
Hi,
Windows 2003, Sql Server 2005 (SP2 3042)
Was DRP'ing a server over the weekend and was not able to start sql server in single user mode. From the Binn directory I ran
sqlservr.exe -m and everything appeared to be ok but the restore failed with the database must be in single user - did a work around to get things going.
Come monday I'm and testing this on a test system, same thing happens, however if I start sql server using 'net start mssqlserver /m'
it starts in single user mode everything works fine
What could be the issue with sqlservr.exe?
Thanks.
May 26, 2008 at 6:39 pm
You can start Sql Server in single user mode using net start command as well as shown here for default instance of Sql Server. You need to type the below commands from command prompt
Default instance
NET START MSSQLSERVER /c /m
Named instance
NET START MSSQL$Instancename /c /m
[font="Verdana"]- Deepak[/font]
May 26, 2008 at 8:50 pm
You should only run the sqlservr.exe from a command prompt to isolate a problem with running as a service and you should not perform any other actvities other than stopping sqlserv.exe. This includes all maintenance actions such as creating a new database, changing any configuration, restoring a database or changing the location of a data file. If you do so, SQL Server may be unable to access it when running later as a service.
NET START is the only command line method that should be used.
SQL = Scarcely Qualifies as a Language
July 15, 2018 at 2:55 am
Carl Federl - Monday, May 26, 2008 8:50 PMIf you do so, SQL Server may be unable to access it when running later as a service.NET START is the only command line method that should be used.
SQL Server gets launched from command line when these considerations no longer have meaning. There are better places to show HR swagger.
July 15, 2018 at 8:01 am
Miron Berlin - Sunday, July 15, 2018 2:55 AMCarl Federl - Monday, May 26, 2008 8:50 PMIf you do so, SQL Server may be unable to access it when running later as a service.NET START is the only command line method that should be used.SQL Server gets launched from command line when these considerations no longer have meaning. There are better places to show HR swagger.
Ok... I'll bite. What is meant by "HR swagger".
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply