Unix Technical Forum

SQL 2000 Database files become read-only after reboot

This is a discussion on SQL 2000 Database files become read-only after reboot within the SQL Server forums, part of the Microsoft SQL Server category; --> When I restart the machine, the sql 2000 database files become "Read-Only". In the Enterprise Manager this DB is ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:50 PM
chunman
 
Posts: n/a
Default SQL 2000 Database files become read-only after reboot

When I restart the machine, the sql 2000 database files become
"Read-Only".
In the Enterprise Manager this DB is marked as "suspect". After I
remove "read only" attribute form the files, and restart the server,
it works just fine until next reboot. Who knows the reason of this
problem? And How to avoid this situation in the next time? Would u all
mind helping me!????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:50 PM
Tibor Karaszi
 
Posts: n/a
Default Re: SQL 2000 Database files become read-only after reboot

Possibly some other process using the file(s) when SQL Server starts. What related messages do you
have in the errorlog?

--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=d...blic.sqlserver


"chunman" <chunman@iloveilove.com> wrote in message
news:3990957.0311172020.2e46ddce@posting.google.co m...
> When I restart the machine, the sql 2000 database files become
> "Read-Only".
> In the Enterprise Manager this DB is marked as "suspect". After I
> remove "read only" attribute form the files, and restart the server,
> it works just fine until next reboot. Who knows the reason of this
> problem? And How to avoid this situation in the next time? Would u all
> mind helping me!????



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 07:51 PM
Kenneth Tsang
 
Posts: n/a
Default Re: SQL 2000 Database files become read-only after reboot

Hi,
Just "Access Denialed"

Starting up database 'CC_CTIDB'.
2003-11-17 17:32:14.06 spid11 udopen: Operating system error
5(存取被拒。) during the creation/opening of physical device d:\Program
Files\Microsoft SQL Server\MSSQL\data\CC_CTIDB.mdf.
2003-11-17 17:32:14.06 spid11 FCB::Open failed: Could not open device
d:\Program Files\Microsoft SQL Server\MSSQL\data\CC_CTIDB.mdf for
virtual device number (VDN) 1.
2003-11-17 17:32:14.20 spid10 udopen: Operating system error
5(存取被拒。) during the creation/opening of physical device D:\Program
Files\Microsoft SQL Server\MSSQL\data\CC_APSEXT_log.ldf.
2003-11-17 17:32:14.20 spid10 FCB::Open failed: Could not open device
D:\Program Files\Microsoft SQL Server\MSSQL\data\CC_APSEXT_log.ldf for
virtual device number (VDN) 2.
2003-11-17 17:32:14.21 spid11 Device activation error. The physical
file name 'd:\Program Files\Microsoft SQL
Server\MSSQL\data\CC_CTIDB.mdf' may be incorrect.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 07:51 PM
Greg D. Moore \(Strider\)
 
Posts: n/a
Default Re: SQL 2000 Database files become read-only after reboot


"Kenneth Tsang" <chunman@iloveilove.com> wrote in message
news:3fbad120$0$193$75868355@news.frii.net...
> Hi,
> Just "Access Denialed"


Is there any chance the D: drive is a SAN or some sort of RAID that may be
completing startup actions when the server reboots?

Do you have any startup scripts for your server itself (a chkdsk, virus
scan, etc) that may run at boot?

(There's a number of places this may be, but google for entries in the
registry.)


>
> Starting up database 'CC_CTIDB'.
> 2003-11-17 17:32:14.06 spid11 udopen: Operating system error
> 5(存取被拒。) during the creation/opening of physical device d:\Program
> Files\Microsoft SQL Server\MSSQL\data\CC_CTIDB.mdf.
> 2003-11-17 17:32:14.06 spid11 FCB::Open failed: Could not open device
> d:\Program Files\Microsoft SQL Server\MSSQL\data\CC_CTIDB.mdf for
> virtual device number (VDN) 1.
> 2003-11-17 17:32:14.20 spid10 udopen: Operating system error
> 5(存取被拒。) during the creation/opening of physical device D:\Program
> Files\Microsoft SQL Server\MSSQL\data\CC_APSEXT_log.ldf.
> 2003-11-17 17:32:14.20 spid10 FCB::Open failed: Could not open device
> D:\Program Files\Microsoft SQL Server\MSSQL\data\CC_APSEXT_log.ldf for
> virtual device number (VDN) 2.
> 2003-11-17 17:32:14.21 spid11 Device activation error. The physical
> file name 'd:\Program Files\Microsoft SQL
> Server\MSSQL\data\CC_CTIDB.mdf' may be incorrect.
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com