Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Attach database error
|
|||
|---|---|---|---|
|
#18+
Подскажите, пожалуйста, кто вкурсе... MS SQL 2000, упал сервак... выгрузку базы сделать не успел(забыл ( , но есть my.mdf my.ldf файлы... пытаюсь приатачить, выдает ошибку 9004, error while processing the log for database my... что делать? влияют ли настройки секьюрити на атач? хотя помоему sa и admin пароли поставил те же.... Заранее спасибо! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.01.2002, 09:37 |
|
||
|
Attach database error
|
|||
|---|---|---|---|
|
#18+
Попробуй удалить .ldf ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.01.2002, 10:01 |
|
||
|
Attach database error
|
|||
|---|---|---|---|
|
#18+
не помогло, пишет, что не может воссоздать лог для определенной записи.... базе ек? восстановить можно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.01.2002, 10:05 |
|
||
|
Attach database error
|
|||
|---|---|---|---|
|
#18+
Как я понял, sp_attach_single_file_db тоже не помог. Тогда есть такое решение, найденное в английской конфе: ================================================================== If you only have mdf file (no tran log file) and you want to retore database. Follow the steps below. Suppose your .mdf file which you want to restore is in directory d:\test. for example d:\test\old.mdf Open Sql Enterprise Manager 1. Create a new database, name it 'dbMagic'. 2. In the data files tab, change file name to 'newData.mdf', change the file directory to 'd:\test. Note down the data file name 3. In the Transaction Log tab, change file name to 'newLog.mdf', change the file directory to 'd:\test'. Note down the transaction log file name 4. Click ok 5. Stop the Sql Server 6. Browse to the directory 'd:\test'. 7. Delete the file 'newData.mdf' 8. Delete the file 'newLog.log'. 9. Rename the 'old.mdf' to 'newData.mdf' 10. Start the sql server service and refresh the server. 11. The staus of 'dbMagic' will change to 'Suspect'. 12. Execute the following query and make sure that you see a listing for dbMagic in the records returned by the query. 'Select * from sysdatabases' 13. if you see a record for dbMagic in the records returned follow the steps listed below and if you dont, mail me at vikas_tyagi@hotmail.com 14. In Query Analyzer execute the following Commands. EXEC sp_detach_db @dbname = 'dbMagic' EXEC sp_attach_single_file_db @dbname = 'dbMagic', @physname = 'd:\newData.mdf' 14. Go to the Enterprise Manager, right click on Database and Refresh it. 15. You will see dbMagic in normal mode. 16. Rejoice. Let me know if it helps... Vikas Tyagi vikas_tyagi@hotmail.com ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.01.2002, 10:30 |
|
||
|
Attach database error
|
|||
|---|---|---|---|
|
#18+
Как я понял, sp_attach_single_file_db тоже не помог. да, выдает ту же ошибку... а после выполнения предложенного вами решения, получил следующее Server: Msg 3456, Level 21, State 1, Line 1 Could not redo log record (313:177:3), for transaction ID (0:0), on page (1:11, database 'dbMagic' (7). Page: LSN = (163:249:7), type = 1. Log: OpCode = 4, context 12, PrevPageLSN: (313:61:3). Connection Broken после чего из Enterprise manager база испарилась ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.01.2002, 10:55 |
|
||
|
|

start [/forum/topic.php?fid=46&tid=1824410]: |
0ms |
get settings: |
10ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
84ms |
get topic data: |
13ms |
get forum data: |
4ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
| others: | 249ms |
| total: | 433ms |

| 0 / 0 |
