Re: I have a database on a network drive that I use for archiving purposes, but when the server is rebooted the database becomes suspect.



On Mar 30, 10:08 am, war_whee...@xxxxxxxxx wrote:
I created the db with the attached script and I am able to access it
until I reboot the server. I've tried enabling flag 1807 via the SQL
server service and the startup parameters of the instance. In all
cases the database always come up suspect after a reboot. There was
one instance where I was able to recover, but I am not sure how that
happened.

Does anyone have an idea of how I can reboot the server without the
database becomming suspect?

USE MASTER
GO
DBCC TRACEON(1807)
GO
--DBCC TRACEOFF(1807)
--DBCC TRACESTATUS(1807)
GO
CREATE DATABASE ReadyNAS ON
( NAME = ReadyNAS_Data,
FILENAME = '\\NAS1\NASDisk\SQL Server\ReadyNAS\ReadyNAS_Data.mdf',
SIZE = 100MB,
MAXSIZE = 20GB,
FILEGROWTH = 20MB)
LOG ON ( NAME = ReadyNAS_Log,
FILENAME = '\\NAS1\NASDisk\SQL Server\ReadyNAS\ReadyNAS_Log.ldf',
SIZE = 20MB,
MAXSIZE = 100MB,
FILEGROWTH = 10MB)


I've figure out how to reboot the server and make the networked
database accessible again. After the reboot, I need to manually
restart the SQL Server service.

Does anyone have an idea why I need to restart the service when I is
configured to start automatically? Also is there a way to have this
happen automatically via a script of something?

.



Relevant Pages

  • Re: Is 5.0.7 ready for production?
    ... >> the database is started. ... Spent six hours on that server last night and this morning. ... does kick in and reboot the server if I wait. ... Progress to start up, but if a wait a while the machine locks instantly ...
    (comp.unix.sco.misc)
  • Re: Access Databases & IIS 6.0
    ... PID to Application Pool." ... You don't need to reboot the server. ... I administer a Windows Server 2003 running IIS 6. ... Unable to establish connection to database. ...
    (microsoft.public.inetserver.iis.security)
  • Re: system reboot
    ... Active Directory is essentially a database, and like most databases, it has index and journaling for recovery in the event of an unexpected shutdown. ... So keep an eye on your event logs to look for corruption...and you should determine *why* the server rebooted on its own. ... Even if windows chose to reboot, it would've cleaned up after itself, so it sounds as though the problem is in a lower layer than the OS. ...
    (microsoft.public.windows.server.sbs)
  • Re: How to revalidate the connection (VB ADO) after database reboot
    ... I am trying to solve a scenario where, when database got rebooted we ... do not have to reboot the application servers. ... server running VB code. ... This email account is my spam trap so I ...
    (microsoft.public.data.ado)
  • Re: Folder share lost after Server reboot - Windows 2003 R2 File S
    ... If you can not find them there, that's the problem they disappear after reboot. ... reboot or restart the server service and share it again. ...
    (microsoft.public.windows.server.general)