Solved

Sophos Enterprise Manager and SQL 2005

Posted on 2010-11-16
2
796 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now