fuzzyocelot
Programmer
Hey everyone!
We have a big problem and it's driving us nuts!
SQL 2005 SP2
Windows 2003 Server SP2
One of our very important SQL servers “crashed” the other day, and we’re trying to figure out what happened. All I really know is one of our network guys was on the server trying to fix or do something with the Veritas ExecView software and SQL stopped running. This was very bad because the users were in the middle of running payroll. Anyway, no one is sure why SQL stopped running. They rebooted the server and SQL wouldn’t start! That’s when they called me. The SQL services were all set to start automatically. I couldn’t find any errors in the Event Viewer. Apparently the network guy tried to restart the services using Services under Component Management. I told him it was better to use SQL Server Configuration Manager because this is 2005. Anyway, I couldn’t get any of the services to start. They were set to Log On as a local Windows account that is also on the domain. We tried to reset the password but SQL still would’t start. We would get Logon failure messages. So I changed the services to run under the local system account. That got them running so the users could finish payroll. At some point I need to set them back to a Windows domain account. This is new SQL 2005 install that we did a couple of weeks ago. It was running fine until something happened with the Veritas ExecView software. I don’t know much about this Veritas stuff except that it uses SQL Server and backs up the datatbase files to tape.
The only thing I found in the SQL error logs was “2007-05-14 10:00:28.27 spid60 Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.” This made me nervous because no one should be running this soft of thing on the server. I checked the configuration options and none of them had been changed.
Another weird thing is that now I can’t access the error logs via Management Studio. When I run “master..xp_readerrorlog”, I get the following error:
Msg 22004, Level 16, State 1, Line 0
Failed to open loopback connection. Please see event log for more information.
Msg 22004, Level 16, State 1, Line 0
error log location not found
So I did some digging and found the entry in the registry for the SQL start up. It looks fine. This is also displayed under the Properties for the SQL Server service in SQL 2005 Configuration Manager.
-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
I tried to start SQL via the command prompt using the above start up options and it said it couldn’t find the path. I was in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\. Maybe I typed it in wrong. I typed in this:
sqlservr -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
I probably should have left the semicolons out.
I was able to get SQL to start this way by using sqlservr –f and I was logged into the server as the right account on the domain.
The error logs are in the right directory too and contain data. I double-checked and this should be the right place. The SQL Agent works fine once I start it as a local system account. So I don’t know what’s wrong.
Also, we are able to log into the server itself onto the domain using the correct login and password.
We tried everything under a KB from MS ( It still doesn’t work.
We tried this KB too: It still doesn’t work.
We’ve removed everything we can find related to the Veritas software within SQL and on the server. We’ve checked the registry up and down and can’t find anything.
The SQL services must run on a domain account otherwise they won’t be able to run replication.
Any ideas? We are stumped!
Thanks!
We have a big problem and it's driving us nuts!
SQL 2005 SP2
Windows 2003 Server SP2
One of our very important SQL servers “crashed” the other day, and we’re trying to figure out what happened. All I really know is one of our network guys was on the server trying to fix or do something with the Veritas ExecView software and SQL stopped running. This was very bad because the users were in the middle of running payroll. Anyway, no one is sure why SQL stopped running. They rebooted the server and SQL wouldn’t start! That’s when they called me. The SQL services were all set to start automatically. I couldn’t find any errors in the Event Viewer. Apparently the network guy tried to restart the services using Services under Component Management. I told him it was better to use SQL Server Configuration Manager because this is 2005. Anyway, I couldn’t get any of the services to start. They were set to Log On as a local Windows account that is also on the domain. We tried to reset the password but SQL still would’t start. We would get Logon failure messages. So I changed the services to run under the local system account. That got them running so the users could finish payroll. At some point I need to set them back to a Windows domain account. This is new SQL 2005 install that we did a couple of weeks ago. It was running fine until something happened with the Veritas ExecView software. I don’t know much about this Veritas stuff except that it uses SQL Server and backs up the datatbase files to tape.
The only thing I found in the SQL error logs was “2007-05-14 10:00:28.27 spid60 Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.” This made me nervous because no one should be running this soft of thing on the server. I checked the configuration options and none of them had been changed.
Another weird thing is that now I can’t access the error logs via Management Studio. When I run “master..xp_readerrorlog”, I get the following error:
Msg 22004, Level 16, State 1, Line 0
Failed to open loopback connection. Please see event log for more information.
Msg 22004, Level 16, State 1, Line 0
error log location not found
So I did some digging and found the entry in the registry for the SQL start up. It looks fine. This is also displayed under the Properties for the SQL Server service in SQL 2005 Configuration Manager.
-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
I tried to start SQL via the command prompt using the above start up options and it said it couldn’t find the path. I was in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\. Maybe I typed it in wrong. I typed in this:
sqlservr -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
I probably should have left the semicolons out.
I was able to get SQL to start this way by using sqlservr –f and I was logged into the server as the right account on the domain.
The error logs are in the right directory too and contain data. I double-checked and this should be the right place. The SQL Agent works fine once I start it as a local system account. So I don’t know what’s wrong.
Also, we are able to log into the server itself onto the domain using the correct login and password.
We tried everything under a KB from MS ( It still doesn’t work.
We tried this KB too: It still doesn’t work.
We’ve removed everything we can find related to the Veritas software within SQL and on the server. We’ve checked the registry up and down and can’t find anything.
The SQL services must run on a domain account otherwise they won’t be able to run replication.
Any ideas? We are stumped!
Thanks!