Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

SQL Server ERRORLOG file turned into Read-Only mode

$
0
0

Hi, I have a Windows server 2008 R2 in production environment and a SQL server 2008 R2 there. Windows server had a windows update few days back (KB4457008 and KB4462923) and a server reboot following that. After the reboot, SQL service was not starting in the server with an event viewer error, Unable to access MSSQL\ERRORLOG file. I found ERRORLOG file in MSSQL folder has changed to Read-Only state and hence SQL Server Service was not starting. It started successfully by creating a new ERRORLOG file once we renamed the existing ERRORLOG file to some other name.

I got an updatefrom the forum itself, for my query on root cause of this incident as "Someone either manually changed the SQL Server service account (without using configuration manager, which would set the rights automatically) or the rights on the directory were changed manually.  Those changes do not take effect until a reboot." (Thread Link : https://social.msdn.microsoft.com/Forums/en-US/3151c239-41c1-47b0-9da4-53c40c61e2dd/issue-with-starting-sql-server-service?forum=sqlsetupandupgrade)

Now I have a query on this reboot statement..

I have tested this in a local system,  I made the Errorlog file there Read-only (manually checked Readonly property) and once I stopped the SQL SERVER service and tried to start, it failed.. It got affected without a system reboot.

Can anyone please help me to have a clarification on this..

Thanks in Advance

Karthika





Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>