Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
04.12.2002, 23:34
|
|||
---|---|---|---|
В чём у меня ошибка ?????? |
|||
#18+
Подскажите пожалуйста в чем у меня ошибка ? Спасибо. Я делал так: Создание Recovery-Catalog в Oracle 8.1.7 =============================== 1. Создал Database ora2 - в ней и будет Catalog-Database, a ora1 – это target DB Обе Database перевёл в режим ARCHIVELOG. Ora1 – находится на d:, ora2 - на диска e: Проверил в каком режиме находится Database ora1: ( то же самое для ora2 сделал ) SQL> archive log list; Datenbank-Log-Modus Archive-Modus <------ ok Automatische Archivierung Aktiviert <------ ok Archivierungsziel D:\oracle\oradata\ora1\archive Älteste Online-Log-Sequenz 112 Nächste zu archivierende Log-Sequenz 116 Aktuelle Log-Sequenz 116 ----------------------------------------------------------------- 2. Вхожу в SQL*Plus как sys/sys@ora2 as sysdba и создаю в нем tablespace rman_ts, user и назначаю роли: create tablespace rman_ts datafile 'e:\db\ora2\system\rman_ts.dbf' size 20M default storage (initial 100K next 100K pctincrease 0); 3. Создаю user: rman_user для Recovery Manager: create user rman_user identified by rman_user default tablespace rman_ts temporary tablespace temp quota unlimited on rman_ts; 4. Назначаю ему роли: grant recovery_catalog_owner to rman_user; grant connect, resource to rman_user; 5. Создаю теперь Recovery-Catalog - вхожу в msdos-box и задаю : c:\>set oracle_sid=ora2 c:\>rman catalog rman_user/rman_user@ora2 target internal/oracle@ora1 log=e:\catalog.log RMAN> create catalog tablespace rman_ts RMAN> exit Протокол создания таков : ------------------------------------------------------------- Recovery Manager: Version 8.1.7.0.0 - Production RMAN-06005: Mit Ziel-Datenbank verbunden: ORA1 (DBID=884675480) RMAN-06008: Verbindung mit Datenbank des Wiederherstellungskatalogs RMAN-06428: Wiederherstellungskatalog nicht installiert RMAN> create catalog tablespace rman_ts - recovery catalog created !!!! RMAN-06431: Wiederherstellungskatalog erstellt RMAN> exit Recovery Manager abgeschlossen. ------------------------------------------------------------------- 6. До этого всё прошло нормально. Теперь запускаю rman С:\>rman target sys/sys@ora1 Выдаёт : Recovery Manager: Version 8.1.7.0.0 - Production RMAN-06005: Mit Ziel-Datenbank verbunden: ORA1 (DBID=884675480) RMAN> Подсоединяюсь к Recovery -Catalog: rman>connect catalog rman_user/rman_user@ora2 Видаётся : RMAN-06008: Verbindung mit Datenbank des Wiederherstellungskatalogs Задаю : rman>register database; Vidaet: RMAN-03022: Befehl wird kompiliert: register RMAN-03023: Befehl wird ausgef¨hrt: register RMAN-08006: Datenbank im Wiederherstellungskatalog registriert <--- database registered recovery catalog !!!! OK ! RMAN-03023: Befehl wird ausgef¨hrt: full resync ß---- resync не выполняется !!!!!!!!!!! RMAN-08002: Vollstõndige Neusynchronisation des Wiederherstellungskatalogs wird begonnen RMAN-03026: Fehlerbehebung bei Freigabe von Kanalressourcen <----- Устранение ошибки при освобождении ресурсов канала <-- RMAN-03026 error recovery releasing channel resources - так и должно быть RMAN-00571: ================================================ RMAN-00569: == ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =)============================================== RMAN-03008: error while performing automatic resync of recovery catalog <----------- Ошибка далее не идёт RMAN-07004: unhandled exception during command execution on channel default <---- RMAN-20036: invalid record order Пытаюсь зарегистрировать сделанный(без участия rman) ранее Backup tablespace system : RMAN> catalog datafilecopy 'd:\backup\system01.dbf' 2> tag 'SYSCOPY0001'; RMAN-03022: Befehl wird kompiliert: catalog RMAN-03023: Befehl wird ausgef¨hrt: catalog RMAN-08050: Datendateikopie katalogisiert RMAN-08513: Datendateikopie, Dateiname=D:\BACKUP\SYSTEM01.DBF Recid=1 Stempel=478186571 RMAN-03023: Befehl wird ausgef¨hrt: partial resync RMAN-08003: Teilweise Neusynchronisation des Wiederherstellungskatalogs wird begonnen RMAN-08005: Teilweise Neusynchronisation abgeschlossen Проходит ! Теперь задаю : RMAN> run { 2> allocate channel c1 type disk; 3> copy datafile 2 to 'd:\backup\2.bak'; 4> copy current controlfile to 'd:\backup\control.bak'; 5> } RMAN-03022: Befehl wird kompiliert: allocate RMAN-03023: Befehl wird ausgef¨hrt: allocate RMAN-08030: Zugewiesener Kanal: c1 RMAN-08500: Kanal c1: SID=17 Gerõtetyp=DISK RMAN-03022: Befehl wird kompiliert: copy RMAN-03024: Implizite, vollstõndige Neusynchronisierung des Wiederherstellungs-Katalogs lõuft RMAN-03023: Befehl wird ausgef¨hrt: full resync RMAN-08002: Vollstõndige Neusynchronisation des Wiederherstellungskatalogs wird begonnen RMAN-03026: Fehlerbehebung bei Freigabe von Kanalressourcen RMAN-08031: Freigegebener Kanal: c1 RMAN-00571: ================================================ RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ======= RMAN-00571: ================================================ RMAN-03002: failure during compilation of command RMAN-03013: command type: copy RMAN-03014: implicit resync of recovery catalog failed RMAN-03006: non-retryable error occurred during execution of command: full resync RMAN-07004: unhandled exception during command execution on channel default RMAN-20036: invalid record order ---------------------------------------------------------------------------------------------------- Poproboval sdelat Backup: 7. RMAN> run { allocate channel ch1 type disk;backup database; }; или : run { allocate channel ch1 type disk format 'e:\%d_backup%U' ;backup database; }; RMAN-03022: Befehl wird kompiliert: allocate RMAN-03023: Befehl wird ausgef¨hrt: allocate RMAN-08030: Zugewiesener Kanal: ch1 RMAN-08500: Kanal ch1: SID=15 Gerõtetyp=DISK RMAN-03022: Befehl wird kompiliert: backup RMAN-03024: Implizite, vollstõndige Neusynchronisierung des Wiederherstellungs-Kata RMAN-03023: Befehl wird ausgef¨hrt: full resync RMAN-08002: Vollstõndige Neusynchronisation des Wiederherstellungskatalogs wird beg RMAN-03026: Fehlerbehebung bei Freigabe von Kanalressourcen RMAN-08031: Freigegebener Kanal: ch1 RMAN-00571: =============================================== RMAN-00569: ===== ERROR MESSAGE STACK FOLLOWS ============ RMAN-00571: =============================================== RMAN-03002: failure during compilation of command RMAN-03013: command type: backup RMAN-03014: implicit resync of recovery catalog failed RMAN-03006: non-retryable error occurred during execution of command: full resync RMAN-07004: unhandled exception during command execution on channel default RMAN-20036: invalid record order RMAN-00571: ================================================== RMAN-00569: =========== ERROR MESSAGE STACK FOLLOWS ======== RMAN-00571: ================================================== RMAN-00558: error encountered while parsing input commands RMAN-01005: syntax error: found ";": expecting one of: "allocate, alter, beginline,..... configure, debug, delete, drop, exit, endinline, host, {, library, list, mount, ...... RMAN-01007: at line 0 column 56 file: standard input ... |
|||
:
Нравится:
Не нравится:
|
|||
|
05.12.2002, 09:09
|
|||
---|---|---|---|
В чём у меня ошибка ?????? |
|||
#18+
Если вы будете писать такие тексты, то нас точно на модерирование посадят :) ... |
|||
:
Нравится:
Не нравится:
|
|||
|
05.12.2002, 12:54
|
|||
---|---|---|---|
В чём у меня ошибка ?????? |
|||
#18+
трудно сказать в чем ошибка, а вручную resync выполняется? ну и на всякий случай - патчи стоят? ... |
|||
:
Нравится:
Не нравится:
|
|||
|
06.12.2002, 12:41
|
|||
---|---|---|---|
В чём у меня ошибка ?????? |
|||
#18+
Патчей нет никаких. Вот попробовал resync вручную: RMAN> resync catalog; RMAN-03022: Befehl wird kompiliert: resync RMAN-03023: Befehl wird ausgef¨hrt: resync RMAN-08002: Vollstõndige Neusynchronisation des Wiederherstellungskatalogs wird begonnen RMAN-03026: Fehlerbehebung bei Freigabe von Kanalressourcen RMAN-00571: =============================================== RMAN-00569: =========== ERROR MESSAGE STACK FOLLOWS ========== RMAN-00571: =============================================== RMAN-03006: non-retryable error occurred during execution of command: resync RMAN-07004: unhandled exception during command execution on channel default RMAN-20036: invalid record order ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=52&mobile=1&tid=1992527]: |
0ms |
get settings: |
8ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
42ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
others: | 324ms |
total: | 452ms |
0 / 0 |