Solved

Sophos Enterprise Manager and SQL 2005

Posted on 2010-11-16
2
804 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

734 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