Need Help on moveing databases

  • HI

    I have moved the master database from startup parameters after that we stop the service of the server and move the data and log file to there respective new locations

    after that i am trying to start the server it is not starting.

    we checked in error log and found the error

    like:

    2013-08-02 05:07:35.85 Server Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)

    Apr 2 2010 15:48:46

    Copyright (c) Microsoft Corporation

    Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

    2013-08-02 05:07:35.85 Server (c) Microsoft Corporation.

    2013-08-02 05:07:35.86 Server All rights reserved.

    2013-08-02 05:07:35.86 Server Server process ID is 14276.

    2013-08-02 05:07:35.86 Server System Manufacturer: 'Cisco Systems Inc', System Model: 'UCSC-BASE-M2-C460'.

    2013-08-02 05:07:35.86 Server Authentication mode is MIXED.

    2013-08-02 05:07:35.86 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG'.

    2013-08-02 05:07:35.86 Server This instance of SQL Server last reported using a process ID of 12720 at 8/2/2013 5:05:05 AM (local) 8/2/2013 12:05:05 PM (UTC). This is an informational message only; no user action is required.

    2013-08-02 05:07:35.86 Server Registry startup parameters:

    -d j:\PowerUserMasterdata\master.mdf

    -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.POWERUSERREPLICA\MSSQL\Log\ERRORLOG

    -l i:\PowerUserReplicalog\Masterlog\mastlog.ldf

    2013-08-02 05:07:35.86 Server Error: 17113, Severity: 16, State: 1.

    2013-08-02 05:07:35.86 Server Error 2(The system cannot find the file specified.) occurred while opening file 'j:\PowerUserMasterdata\master.mdf' to obtain configuration information at startup. An invalid startup option might have caused the error. Verify your startup options, and correct or remove them if necessary.

  • Is the master database file (master.mdf) in this location: j:\PowerUserMasterdata\ ?

    Check that the directory is accessible by the account running SQL Server sevices

  • Is it followed as per the below.

    http://msdn.microsoft.com/en-us/library/ms345408(v=sql.100).aspx

    Is it referring to proper path

    SELECT name, physical_name AS CurrentLocation, state_desc

    FROM sys.master_files

    WHERE database_id = 1

    Regards
    Durai Nagarajan

  • HI

    Thanks for u r quick response

    I have changed the new path using startup parameters. here I have created new folder for new path.

    but those are not mapped to service account later I have changed the folders account to network service account. after that problem got solved.

    Thank u very much for response

  • FWIW there really is no point in separating out the master database data and log files like this.

    ---------------------------------------------------------------------

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply