SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Could not open error log


Could not open error log

Author
Message
Tim Webster
Tim Webster
Right there with Babe
Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)

Group: General Forum Members
Points: 765 Visits: 771
Hey Guys

i am at loss, im getting the following error message on one of our SQL Servers sitting on a clustered SQL environment, this error has only started popping up over the last 5 hours but logs the error every couple of seconds in the event log,

initerrlog: Could not open error log file 'T:\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
Operating system error = 21(error not found).

any ideas? as to how to resovle it?

Nothing has changed server like i said only started these error 5 6 hours ago
Ray Mond
Ray Mond
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6297 Visits: 1544
As per this page, error code 21 = 'The device is not ready.'. Can the node running the SQL Server instance access the T:\ path?

SQL BAK Explorer - read SQL Server backup file details without SQL Server.
Supports backup files created with SQL Server 2005 up to SQL Server 2017.
Tim Webster
Tim Webster
Right there with Babe
Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)Right there with Babe (765 reputation)

Group: General Forum Members
Points: 765 Visits: 771
Hey Ray

thanks for the reply mate Smile

Yes its the strangest thing im on the active node now and i can access the path perfectly ive checked permissions ect no luck?
SQL itself is writtening to the error log if i check through management studio

Thanks in advance
Ray Mond
Ray Mond
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

Group: General Forum Members
Points: 6297 Visits: 1544
If the SQL Server instance is already writing to the error log successfully, but still raises that error in the event log, it's mighty strange. Sorry, I'm out of ideas.

SQL BAK Explorer - read SQL Server backup file details without SQL Server.
Supports backup files created with SQL Server 2005 up to SQL Server 2017.
SQLQuest29
SQLQuest29
SSCertifiable
SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)SSCertifiable (7.5K reputation)

Group: General Forum Members
Points: 7541 Visits: 4583
twebster-856509 (8/22/2010)
Hey Guys

i am at loss, im getting the following error message on one of our SQL Servers sitting on a clustered SQL environment, this error has only started popping up over the last 5 hours but logs the error every couple of seconds in the event log,

initerrlog: Could not open error log file 'T:\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
Operating system error = 21(error not found).

any ideas? as to how to resovle it?

Nothing has changed server like i said only started these error 5 6 hours ago

Seems something is wrong with the errorlog.

Try cycling the error log:

EXEC sp_cycle_errorlog ;
GO

HTH,
Cheers !

______________________________________________________________________________________________________________________________________________________________________________________
HTH !
Kin
MCTS : 2005, 2008
Active SQL Server Community Contributor :-)
Adiga
Adiga
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25286 Visits: 21012
Agree with Ray. The device was not ready when you received this message. Try running xp_cmdshell 'dir T:\' when you receive this error message. This will confirm if SQL Server is able to access this drive or not. If it is able to access this file, check if the ERRORLOG file is in use by some other application like Anti virus, Tape backup etc.

Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
Rick.Cornell.SME
Rick.Cornell.SME
SSCrazy Eights
SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)

Group: General Forum Members
Points: 8315 Visits: 208
Only thing you forgot is to make sure xp_cmdshell is enabled?
Simon Facer
Simon Facer
SSCertifiable
SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)

Group: General Forum Members
Points: 5145 Visits: 724
Is the T: Drive set as a dependency of SQL Server in the Cluster Group?



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search