Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql server stopped

Author  Topic 

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 09:33:36
Hi ,

I have sql server installed on my laptop..It is a student evaluation version. Today morning,the sql server did not start and when attempted to start..I get the following message:
" SQL server started and stopped immediately. Some services stop automatically if they have no work to do , for example the performance logs and alerts."

Friends, can u help out!!

anonymous1
Posting Yak Master

185 Posts

Posted - 2007-11-07 : 09:38:35
look for information in the application event log and sql error log?
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 09:44:48
Thanks, the error log doesn't show any errors!!
Go to Top of Page

anonymous1
Posting Yak Master

185 Posts

Posted - 2007-11-07 : 09:58:54
each time sql server starts a log is created. if you are running sql 2005 it may be in this location: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
please post the contents of this file
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 10:19:11
Thanks for your response.Here is the error log.

2007-11-07 08:06:47.19 Server Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86)
Oct 14 2005 00:33:37
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

2007-11-07 08:06:47.21 Server (c) 2005 Microsoft Corporation.
2007-11-07 08:06:47.21 Server All rights reserved.
2007-11-07 08:06:47.21 Server Server process ID is 236.
2007-11-07 08:06:47.22 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2007-11-07 08:06:47.25 Server This instance of SQL Server last reported using a process ID of 208 at 11/6/2007 9:43:21 PM (local) 11/7/2007 3:43:21 AM (UTC). This is an informational message only; no user action is required.
2007-11-07 08:06:47.25 Server Registry startup parameters:
2007-11-07 08:06:47.39 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2007-11-07 08:06:47.39 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2007-11-07 08:06:47.39 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2007-11-07 08:06:48.12 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2007-11-07 08:06:48.12 Server Detected 1 CPUs. This is an informational message; no user action is required.
2007-11-07 08:06:50.40 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2007-11-07 08:06:52.15 Server Database Mirroring Transport is disabled in the endpoint configuration.
2007-11-07 08:06:52.70 spid5s Starting up database 'master'.
2007-11-07 08:06:53.63 spid5s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2007-11-07 08:06:54.66 spid5s SQL Trace ID 1 was started by login "sa".
2007-11-07 08:06:54.75 spid5s Starting up database 'mssqlsystemresource'.
2007-11-07 08:06:55.42 spid8s Starting up database 'model'.
2007-11-07 08:06:55.47 spid5s Server name is 'HEMALATH-AFAF59\SQLEXPRESS'. This is an informational message only. No user action is required.
2007-11-07 08:06:55.56 Server A self-generated certificate was successfully loaded for encryption.
2007-11-07 08:06:55.57 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQLEXPRESS ].
2007-11-07 08:06:55.57 Server Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$SQLEXPRESS\sql\query ].
2007-11-07 08:06:55.57 Server Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.
2007-11-07 08:06:55.57 spid5s Starting up database 'msdb'.
2007-11-07 08:06:55.76 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2007-11-07 08:06:56.73 spid8s Clearing tempdb database.
2007-11-07 08:06:57.82 spid8s Starting up database 'tempdb'.
2007-11-07 08:06:57.95 spid5s Recovery is complete. This is an informational message only. No user action is required.
2007-11-07 08:06:57.98 spid11s The Service Broker protocol transport is disabled or not configured.
2007-11-07 08:06:57.98 spid11s The Database Mirroring protocol transport is disabled or not configured.
2007-11-07 08:06:58.13 spid11s Service Broker manager has started.
Go to Top of Page

KenW
Constraint Violating Yak Guru

391 Posts

Posted - 2007-11-07 : 13:28:14
Looks fine to me. Here's one from my machine for comparison:

2007-11-07 08:37:01.65 Server Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86)
Feb 9 2007 22:47:07
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

2007-11-07 08:37:01.65 Server (c) 2005 Microsoft Corporation.
2007-11-07 08:37:01.65 Server All rights reserved.
2007-11-07 08:37:01.65 Server Server process ID is 1804.
2007-11-07 08:37:01.65 Server Authentication mode is MIXED.
2007-11-07 08:37:01.65 Server Logging SQL Server messages in file 'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2007-11-07 08:37:01.65 Server This instance of SQL Server last reported using a process ID of 1804 at 11/6/2007 4:58:57 PM (local) 11/6/2007 9:58:57 PM (UTC). This is an informational message only; no user action is required.
2007-11-07 08:37:01.65 Server Registry startup parameters:
2007-11-07 08:37:01.65 Server -d c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2007-11-07 08:37:01.65 Server -e c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2007-11-07 08:37:01.65 Server -l c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2007-11-07 08:37:01.75 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2007-11-07 08:37:01.75 Server Detected 2 CPUs. This is an informational message; no user action is required.
2007-11-07 08:37:02.42 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2007-11-07 08:37:02.50 Server Database mirroring has been enabled on this instance of SQL Server.
2007-11-07 08:37:02.51 spid5s Starting up database 'master'.
2007-11-07 08:37:02.60 spid5s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2007-11-07 08:37:02.84 spid5s SQL Trace ID 1 was started by login "sa".
2007-11-07 08:37:02.89 spid5s Starting up database 'mssqlsystemresource'.
2007-11-07 08:37:02.92 spid5s The resource database build version is 9.00.3042. This is an informational message only. No user action is required.
2007-11-07 08:37:03.31 spid8s Starting up database 'model'.
2007-11-07 08:37:03.32 spid5s Server name is '<MYMACHINE>\SQLEXPRESS'. This is an informational message only. No user action is required.
2007-11-07 08:37:03.32 spid5s Starting up database 'msdb'.
2007-11-07 08:37:03.59 Server A self-generated certificate was successfully loaded for encryption.
2007-11-07 08:37:03.60 Server Server is listening on [ 'any' <ipv4> 1464].
2007-11-07 08:37:03.60 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SQLEXPRESS ].
2007-11-07 08:37:03.60 Server Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$SQLEXPRESS\sql\query ].
2007-11-07 08:37:03.60 Server Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.
2007-11-07 08:37:03.60 Server The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
2007-11-07 08:37:03.60 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2007-11-07 08:37:04.10 spid8s Clearing tempdb database.
2007-11-07 08:37:05.20 spid8s Starting up database 'tempdb'.
2007-11-07 08:37:05.84 spid5s Recovery is complete. This is an informational message only. No user action is required.
2007-11-07 08:37:05.85 spid11s The Service Broker protocol transport is disabled or not configured.
2007-11-07 08:37:05.85 spid11s The Database Mirroring protocol transport is disabled or not configured.
2007-11-07 08:37:06.01 spid11s Service Broker manager has started.
2007-11-07 08:41:03.18 Server The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
2007-11-07 09:07:31.45 spid1s Server resumed execution after being idle 1793 seconds. Reason: timer event.
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 15:11:31
What else could be the reason for not starting I am confused!
Go to Top of Page

anonymous1
Posting Yak Master

185 Posts

Posted - 2007-11-07 : 15:14:05
was the error message you posted about for the start-up attempt at 8:06? did you confirm the sql service is not running? how did was sql started, on boot-up, manually with net start, using the services.msc gui?
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 15:43:12
yes, the start-up attempt was at 8:06 this morning..I am still not able to connect..the start-up was on boot-up!
Go to Top of Page

anonymous1
Posting Yak Master

185 Posts

Posted - 2007-11-07 : 15:53:20
open the run form and enter "services.msc", scroll down to the service "SQL Server (MSSQLSERVER)" and look at the column status. what does it say?
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 16:29:36
The service start-up type is automatic but the status in the column is blank(there is nothing like started,paused or stopped). I checked this too in the morning..only when i attempt to start the service do I get the message I posted earlier. Could the trial period of the student evaluation version have expired? I am not sure for how many days does the student evaluation version come for! I installed in the 2nd week of July 2007.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-11-07 : 16:33:31
Googling a little is always helpful. I typed in "sql server 2005 trial edition" and quickly found out that it lasts for 180 days.

As to your problem, try starting the service via NET START command in a cmd window. Type in NET START to see what services are available. Locate yours, then use NET START ServiceName. Let us know what error is shown there, that is once you figure out the correct command to run.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-07 : 17:00:56
Hi Tara,
I'm still not getting started When I type in as you had mentioned, I just get a flash of the message "MSSQLSERVER is starting" for about a second and still my server won't start!
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-11-07 : 22:41:09
There should have a entry in windows application event log every time you start sql service, double check it again.
Go to Top of Page

h_latha2k
Starting Member

10 Posts

Posted - 2007-11-08 : 16:39:50
friends,

My evaluation period has expired -- recorded in my application log..so I guess it was for only about 120 days!!!

Thanks for your help!!
Go to Top of Page
   

- Advertisement -