?
Solved

SQL server issue

Posted on 2014-10-10
8
Medium Priority
?
83 Views
Last Modified: 2014-10-24
Hello Guys,

I am new to SQL server, We had this problem and it took long to find out the issue. When we start the SQL server, it didn't start the problem is that drive was on Read-Only mode. We wouldn't find until OS team tell us. Where is the SQL log file locates? Wouldn't it throw any error message or anything on SQL log regading read only mode drive?
0
Comment
Question by:mokkan
[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
  • 4
  • 3
8 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 375 total points
ID: 40373037
location of the errorlog file:
http://technet.microsoft.com/en-us/library/ms187885%28v=sql.105%29.aspx
View the SQL Server error log by using SQL Server Management Studio or any text editor. 
By default, the error log is located at 
Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and ERRORLOG.n files.

Open in new window

0
 
LVL 27

Accepted Solution

by:
Zberteoc earned 1125 total points
ID: 40373122
What is read only the hard drive, a database, if a database which one? Your question is very confusing and doesn't provide enough information.
0
 

Author Comment

by:mokkan
ID: 40373136
The file system is mounted using veritas volume manager and  when it mounts,  it mount the drive as read only mode. My question is that if the drive is read only, sql log should show some sort of error message right?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Assisted Solution

by:Zberteoc
Zberteoc earned 1125 total points
ID: 40373160
If your drive is read only it makes no sense to move to SQL server. It is obvious that your SQL server will not work and beside that it CAN"T write in a log if the drive where the log file resides is read only.

This is an OS issue that has nothing to do with SQL server. Fix it and then you can move aead.
0
 

Author Comment

by:mokkan
ID: 40373335
I totally understand this is OS issue, my question is that what kind of error might caused in sql LOG file ?
0
 

Author Comment

by:mokkan
ID: 40373337
I totally understand this is OS issue, my question is that what kind of error might caused in sql LOG file ?
0
 
LVL 27

Assisted Solution

by:Zberteoc
Zberteoc earned 1125 total points
ID: 40373546
I don't recall exactly the message and number but when it tries to initialize the databases on a drive that is not accessible or is read only it will throw an I/O error that will mention the database file with full path, including the drive. The same error will also be shown in the Windows Events Log.
0
 

Author Closing Comment

by:mokkan
ID: 40403466
Thank you alll
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Suggested Courses

777 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