Solved

Sophos Enterprise Manager and SQL 2005

Posted on 2010-11-16
2
803 Views
Last Modified: 2013-11-22
Hello Experts

Firstly please let me explain that although I am a network engineer of some years standing I have very little SQL server experience.

We have a server running Windows Server 2003 SP2 whose reason for existence is to run as our Sophos server providing AV updates to the network. All the PCs can conect to the server OK and pull down what they think are updates, but the problem I am having is that the server will not get the updates from Sophos.

The reason for this is the SQL Server 2005 (for Sophos) won't start. I say "for Sophos", but that is the only reason SQL is on there anyway. The event logs are not very forthcoming with assistance, but I have copied the "error" entries below for information:

Unable to cycle error log file from 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG.4' to 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG.5' due to OS error '5(error not found)'. A process outside of SQL Server may be preventing SQL Server from reading the files. As a result, errorlog entries may be lost and it may not be possible to view some SQL Server errorlogs. Make sure no other processes have locked the file with write-only access."

This one is repeated with different error log numbers, but the words are identical. Once that has repeated 6 times this is the next error:

UpdateUptimeRegKey: Operating system error 5(error not found) encountered.

The next one is:

Error 3(error not found) occurred while opening file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.

And finally:

UpdateUptimeRegKey: Operating system error 5(error not found) encountered.

The server has been operational for over 2 years without problem until this cropped up at the end of last week.

As always, any pointers or assistance gratefully received.


0
Comment
Question by:mgosden33
2 Comments
 
LVL 16

Accepted Solution

by:
EvilPostIt earned 500 total points
ID: 34144010
Operating system error 5 is "Access Denied". If you type...

net helpmsg 5

Open in new window


You will get the result back. So in short i would say this is a permissions issue. Have a look at the system event logs to see which user this is coming from. Its probably the SQL Service though.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 34144050
Is there by any change you performed some backup (NT Backup or some other Disk backup) on C drive.
Also check whether your C drive is compressed or not recently. If compressed, then Uncompress it (Because SQL Server won't work on Compressed drives) and restart your machine to get SQL Server work.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

713 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