Solved

Sophos Enterprise Manager and SQL 2005

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

840 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