Problem in opening database
Hi Experts,
[NWMss][SQLServer JDBC Driver][SQLServer]The transaction log for database 'KDS' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases.
Exception id: 10:08_28/09/07_0002_3439451.
The above error occured and i could not even open database to see my log, how to resolve this problem???
Thanks,
Kannan.
Dear Nicolas,
Thanks For Replying,
I Have Windows 2003 Server And Oracle 9i Installed .
I Followed The Following Steps :
- I Took A Copy From All The Data Files , Control Files , Redo Logs , And The Init.Ora Files From The Original Server .
- I Installed Oracle 9i On The Target Server ( Used The Same SID And Location Like The Source Server ).
- I Copied All The Files In The Corresponding Directories Like The Source Server .
- Using The SQLPlus, I Started The Database, And It Mounted And Opened The Database Without Any Error .
- Then When I Went To The OEM, I Connected To The Database, But When I Tried To Open It, It Gave Me An Error That Can't Open The Database, ( I Can't View The Contents ) .
Thanks,
Guivara
Similar Messages
-
Problem to open the oracle XE Database
Log file name : oxe_backup_current.log
XE Backup Log
Recovery Manager: Release 10.2.0.1.0 - Production on Mon Sep 12 04:26:21 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: XE (DBID=2619028465, not open)
RMAN>
echo set on
RMAN> shutdown immediate;
using target database control file instead of recovery catalog
database dismounted
Oracle instance shut down
RMAN> startup mount;
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 805306368 bytes
Fixed Size 1261444 bytes
Variable Size 213909628 bytes
Database Buffers 587202560 bytes
Redo Buffers 2932736 bytes
RMAN> configure retention policy to redundancy 2;
old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters are successfully stored
RMAN> configure controlfile autobackup format for device type disk clear;
RMAN configuration parameters are successfully reset to default value
RMAN> configure controlfile autobackup on;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile
RMAN> backup as backupset device type disk database;
Starting backup at 12-SEP-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=102 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
channel ORA_DISK_1: starting piece 1 at 12-SEP-11
channel ORA_DISK_1: finished piece 1 at 12-SEP-11
piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T042633_76vjksws_.bkp tag=TAG20110912T042633 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
Finished backup at 12-SEP-11
Starting Control File and SPFILE Autobackup at 12-SEP-11
piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_09_12/o1_mf_s_761631122_76vjl97m_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 12-SEP-11
RMAN> configure controlfile autobackup off;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters are successfully stored
RMAN> alter database open;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 09/12/2011 04:26:51
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: '/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_1_6jmmyqk8_.log'
RMAN> delete noprompt obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 2
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 3 12-SEP-11
Backup Piece 3 12-SEP-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T040202_76vh3v58_.bkp
Backup Set 4 12-SEP-11
Backup Piece 4 12-SEP-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_09_12/o1_mf_s_761630513_76vh4yjx_.bkp
Backup Set 5 12-SEP-11
Backup Piece 5 12-SEP-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T040908_76vhk4n6_.bkp
Backup Set 6 12-SEP-11
Backup Piece 6 12-SEP-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_09_12/o1_mf_s_761630513_76vhkmyg_.bkp
RMAN-06207: WARNING: 4 objects could not be deleted for DISK channel(s) due
RMAN-06208: to mismatched status. Use CROSSCHECK command to fix status
RMAN-06210: List of Mismatched objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T040202_76vh3v58_.bkp
RMAN-06214: Backup Piece /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_09_12/o1_mf_s_761630513_76vh4yjx_.bkp
RMAN-06214: Backup Piece /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T040908_76vhk4n6_.bkp
RMAN-06214: Backup Piece /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_09_12/o1_mf_s_761630513_76vhkmyg_.bkp
RMAN>
Recovery Manager complete.
RMAN error: See log for details.
An error also comes out while opening the database through SQL statement
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 805306368 bytes
Fixed Size 1261444 bytes
Variable Size 213909628 bytes
Database Buffers 587202560 bytes
Redo Buffers 2932736 bytes
Database mounted.
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1:
*'/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_1_6jmmyqk8_.log'*
SQL>
Its an error (problem) of our DC ( Primary) Sever so Please reply back with suitable answer as soon as possible
Regards,
Niraj Prasad Karn
Edited by: 870614 on Sep 14, 2011 10:38 AMI suggest you transfer this threat to a different forum, as this is the OEM GC forum.
I guess you want to post in the Database forum.
Regards
Rob
http://oemgc.wordpress.com -
Problem opening database after successfull recovery
Hi All,
Can any one please help me with below error.
I am doing system copy from Source_SID to Target_SID taking online backup and generated offline redo log files during start of backup to end.
We are on Windows 2003 server, DB is Oracle 10g and system is SRM 5.0. I was trying system copy backup/restore for DB and export/import for java. I have got online consistent backup along with offline redo logs of source system. Also have taken CI export.
Here the file system directories in TARGET_SID and SOURCE_SID are different. First i have restored the online backup of Source_SID in Target_SID system (RYV). Took the trace file of Source_SID system and modified accordingly the filesystem structure directories of the TARGET SySTEM. Also renamed the TARGET_SID to SOURCE_SID.
Now started it in nomount state with below command.
SQL> STARTUP NOMOUNT PFILE=E:\ORACLE\RYV\102\database\initRYV.ora
ORACLE instance started.
Total System Global Area 2634022912 bytes
Fixed Size 2203184 bytes
Variable Size 1337811408 bytes
Database Buffers 1291845632 bytes
Redo Buffers 2162688 bytes
Generated the modifiled trace file script (renamed it as controlfile.sql).
SQL> @Controlfile.sql
Control file created.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
Before executing the command i have places all the offline redo log files which were generated in source system during the online backup. During online backup, offline redo logs 04729 to 04732 were generated. Now i have issued below command.
SQL> alter database recover automatic using backup controlfile until cancel;
alter database recover automatic using backup controlfile until cancel
ERROR at line 1:
ORA-00279: change 112926870 generated at 09/29/2008 17:26:55 needed for thread
1
ORA-00289: suggestion : F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
ORA-00280: change 112926870 for thread 1 is in sequence #4733
ORA-00278: log file 'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001' no
longer needed for this recovery
ORA-00308: cannot open archived log
'F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Offline Redo log files from 04729 to 04732 were applied and it was trying for 04733 which was not there. Now issued below command.
SQL> recover cancel;
Media recovery complete.
Finally tried to open database with resetlogs and here i am getting problem.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL>
Please suggest whether is there different procedure for system copy using backup/restore if file structure is different for Source_SID and Target_SID.
Thanking you for your help.
Regards
RaviAlert Log Details:
Sun Oct 12 08:42:37 2008
Starting ORACLE instance (normal)
Sun Oct 12 08:42:37 2008
Specified value of sga_max_size is too small, bumping to 2634022912
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 80
sessions = 96
event = 10191 trace name context forever, level 1
sga_max_size = 2634022912
shared_pool_size = 1291845632
shared_pool_reserved_size= 127512084
filesystemio_options = setall
control_files = G:\ORACLE\RYV\ORIGLOGA\CNTRL\CNTLRRYV.DBF, F:\ORACLE\RYV\ORAARCH\CNTRL\CNTRLRYV.DBF, K:\ORACLE\RYV\SAPDATA1\CNTRL\CNTRLRYV.DBF
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 1291845632
compatible = 10.2.0
log_archive_dest = F:\oracle\RYV\oraarch\RYVarch
log_buffer = 2097152
log_checkpoint_interval = 0
db_files = 254
log_checkpoints_to_alert = TRUE
dml_locks = 4000
undo_management = AUTO
undo_tablespace = PSAPUNDO
undo_retention = 43200
recyclebin = off
remote_os_authent = TRUE
remote_login_passwordfile= EXCLUSIVE
job_queue_processes = 1
background_dump_dest = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
user_dump_dest = K:\ORACLE\RYV\SAPTRACE\USERTRACE
core_dump_dest = K:\ORACLE\RYV\SAPTRACE\BACKGROUND
optimizer_features_enable= 10.2.0.1
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = RYV
open_cursors = 800
optimpeek_user_binds = FALSE
pga_aggregate_target = 629145600
workarea_size_policy = AUTO
statistics_level = typical
PMON started with pid=2, OS id=4600
PSP0 started with pid=6, OS id=5228
MMAN started with pid=10, OS id=5664
DBW0 started with pid=14, OS id=4648
DBW1 started with pid=18, OS id=5588
DBW2 started with pid=22, OS id=4280
DBW3 started with pid=26, OS id=648
LGWR started with pid=30, OS id=4780
CKPT started with pid=34, OS id=1348
SMON started with pid=38, OS id=6024
RECO started with pid=42, OS id=5208
CJQ0 started with pid=46, OS id=1332
MMON started with pid=50, OS id=1304
MMNL started with pid=54, OS id=2736
Sun Oct 12 08:42:44 2008
CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 5
MAXDATAFILES 5000
MAXINSTANCES 50
MAXLOGHISTORY 2629
LOGFILE
GROUP 1 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 90M,
GROUP 2 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 90M,
GROUP 3 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 90M,
GROUP 4 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 90M,
GROUP 5 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
) SIZE 90M,
GROUP 6 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
) SIZE 90M,
GROUP 7 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
) SIZE 90M,
GROUP 8 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
) SIZE 90M
-- STANDBY LOGFILE
DATAFILE
'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
CHARACTER SET UTF8
Sun Oct 12 08:42:44 2008
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Setting recovery target incarnation to 1
Sun Oct 12 08:42:45 2008
Successful mount of redo thread 1, with mount id 157697668
Sun Oct 12 08:42:45 2008
Completed: CREATE CONTROLFILE REUSE SET DATABASE "RYV" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 5
MAXDATAFILES 5000
MAXINSTANCES 50
MAXLOGHISTORY 2629
LOGFILE
GROUP 1 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 90M,
GROUP 2 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 90M,
GROUP 3 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 90M,
GROUP 4 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 90M,
GROUP 5 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF'
) SIZE 90M,
GROUP 6 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF'
) SIZE 90M,
GROUP 7 (
'G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF',
'H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF'
) SIZE 90M,
GROUP 8 (
'G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF',
'H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF'
) SIZE 90M
-- STANDBY LOGFILE
DATAFILE
'K:\ORACLE\RYV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'J:\ORACLE\RYV\SAPDATA3\UNDO_1\UNDO.DATA1',
'K:\ORACLE\RYV\SAPDATA4\SYSAUX_1\SYSAUX.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_1\SR3.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3_2\SR3.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3_3\SR3.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3_4\SR3.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3_5\SR3.DATA5',
'K:\ORACLE\RYV\SAPDATA1\SR3_6\SR3.DATA6',
'K:\ORACLE\RYV\SAPDATA1\SR3700_1\SR3700.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3700_2\SR3700.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3700_3\SR3700.DATA3',
'K:\ORACLE\RYV\SAPDATA1\SR3700_4\SR3700.DATA4',
'K:\ORACLE\RYV\SAPDATA1\SR3USR_1\SR3USR.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_1\SR3DB.DATA1',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_2\SR3DB.DATA2',
'K:\ORACLE\RYV\SAPDATA1\SR3DB_3\SR3DB.DATA3'
CHARACTER SET UTF8
Sun Oct 12 08:43:43 2008
alter database open
Sun Oct 12 08:43:43 2008
ORA-1589 signalled during: alter database open...
Sun Oct 12 08:44:03 2008
alter database open resetlogs
Sun Oct 12 08:44:03 2008
ORA-1195 signalled during: alter database open resetlogs...
Sun Oct 12 08:44:42 2008
alter database recover automatic using backup controlfile until cancel
Sun Oct 12 08:44:42 2008
Media Recovery Start
parallel recovery started with 3 processes
Sun Oct 12 08:44:43 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04729_0649429988.001
Sun Oct 12 08:44:45 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04730_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04731_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04732_0649429988.001
Sun Oct 12 08:44:46 2008
Media Recovery Log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
Errors with log F:\ORACLE\RYV\ORAARCH\RYVARCHARC04733_0649429988.001
ORA-279 signalled during: alter database recover automatic using backup controlfile until cancel...
Sun Oct 12 08:45:08 2008
ALTER DATABASE RECOVER cancel
Sun Oct 12 08:45:11 2008
Media Recovery Canceled
Completed: ALTER DATABASE RECOVER cancel
Sun Oct 12 08:45:32 2008
alter database open resetlogs
Sun Oct 12 08:45:33 2008
ARCH: Logfile 8 is wrong incarnation (0:112926871:10/10/2008 14:52:35 vs 0:1:03/15/2008 13:13:08)
RESETLOGS after incomplete recovery UNTIL CHANGE 112926870
Resetting resetlogs activation ID 2278245220 (0x87cb4364)
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G11M1.DBF: Thread 1 Group 1 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G11M2.DBF: Thread 1 Group 1 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G12M1.DBF: Thread 1 Group 2 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G12M2.DBF: Thread 1 Group 2 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G13M1.DBF: Thread 1 Group 3 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G13M2.DBF: Thread 1 Group 3 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G14M1.DBF: Thread 1 Group 4 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G14M2.DBF: Thread 1 Group 4 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G15M1.DBF: Thread 1 Group 5 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G15M2.DBF: Thread 1 Group 5 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGB\LOG_G16M1.DBF: Thread 1 Group 6 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGB\LOG_G16M2.DBF: Thread 1 Group 6 was previously cleared
Online log G:\ORACLE\RYV\ORIGLOGA\LOG_G17M1.DBF: Thread 1 Group 7 was previously cleared
Online log H:\ORACLE\RYV\MIRRLOGA\LOG_G17M2.DBF: Thread 1 Group 7 was previously cleared
Sun Oct 12 08:45:34 2008
Setting recovery target incarnation to 2
Sun Oct 12 08:45:34 2008
Assigning activation ID 157697668 (0x9664684)
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=74, OS id=2036
Sun Oct 12 08:45:35 2008
ARC0: Archival started
Sun Oct 12 08:45:35 2008
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 1
Current log# 8 seq# 1 mem# 0: G:\ORACLE\RYV\ORIGLOGB\LOG_G18M1.DBF
Current log# 8 seq# 1 mem# 1: H:\ORACLE\RYV\MIRRLOGB\LOG_G18M2.DBF
Sun Oct 12 08:45:35 2008
Successful open of redo thread 1
Sun Oct 12 08:45:35 2008
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
ARC1 started with pid=3, OS id=1640
Sun Oct 12 08:45:36 2008
ARC0: STARTING ARCH PROCESSES
Sun Oct 12 08:45:36 2008
SMON: enabling cache recovery
Sun Oct 12 08:45:36 2008
ARC1: Becoming the 'no FAL' ARCH
ARC1: Becoming the 'no SRL' ARCH
Sun Oct 12 08:45:36 2008
ARC2: Archival started
Sun Oct 12 08:45:36 2008
ARC0: STARTING ARCH PROCESSES COMPLETE
ARC0: Becoming the heartbeat ARCH
Sun Oct 12 08:45:36 2008
Errors in file k:\oracle\ryv\saptrace\usertrace\ryv_ora_868.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Sun Oct 12 08:45:36 2008
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Sun Oct 12 08:45:36 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_pmon_4600.trc:
ORA-00704: bootstrap process failure
ARC2 started with pid=4, OS id=5996
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_reco_5208.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_ckpt_1348.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:37 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_lgwr_4780.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw2_4280.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw3_648.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw0_4648.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_dbw1_5588.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:40 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_psp0_5228.trc:
ORA-00704: bootstrap process failure
Sun Oct 12 08:45:41 2008
Errors in file k:\oracle\ryv\saptrace\background\ryv_mman_5664.trc:
ORA-00704: bootstrap process failure
Instance terminated by USER, pid = 868
ORA-1092 signalled during: alter database open resetlogs... -
Problem when opening the database
Hi,
OracleVersin:10.2.0.1
OperatingSystem:linux
When i restart my server and trying to start the database it is not starting .And it is throwing the following error.
SQL> startup
ORACLE instance started.
Total System Global Area 838860800 bytes
Fixed Size 1222144 bytes
Variable Size 213912064 bytes
Database Buffers 616562688 bytes
Redo Buffers 7163904 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
SQL> alter database archivelog;
alter database archivelog
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
SQL> shut immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 838860800 bytes
Fixed Size 1222144 bytes
Variable Size 213912064 bytes
Database Buffers 616562688 bytes
Redo Buffers 7163904 bytes
Database mounted.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'please help meHi,
Here is the output of the logfile
tarting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 300
__shared_pool_size = 205520896
__large_pool_size = 0
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 838860800
control_files = /u01/app/oracle/oradata/VSMIG/control01.ctl, /u01/app/oracle/oradata/VSMIG/control02.ctl, /u01/app/oracle/oradata/VSMIG/control03.ctl
db_block_size = 8192
__db_cache_size = 620756992
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = /u01/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=VSMIGXDB)
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/VSMIG/bdump
user_dump_dest = /u01/app/oracle/admin/VSMIG/udump
core_dump_dest = /u01/app/oracle/admin/VSMIG/cdump
audit_file_dest = /u01/app/oracle/admin/VSMIG/adump
db_name = VSMIG
open_cursors = 300
pga_aggregate_target = 201326592
PMON started with pid=2, OS id=3205
PSP0 started with pid=3, OS id=3207
MMAN started with pid=4, OS id=3209
DBW0 started with pid=5, OS id=3212
LGWR started with pid=6, OS id=3214
CKPT started with pid=7, OS id=3216
SMON started with pid=8, OS id=3218
RECO started with pid=9, OS id=3220
CJQ0 started with pid=10, OS id=3222
MMON started with pid=11, OS id=3224
Wed Nov 11 16:41:56 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=3226
Wed Nov 11 16:41:56 2009
starting up 1 shared server(s) ...
Wed Nov 11 16:41:56 2009
ALTER DATABASE MOUNT
Wed Nov 11 16:42:00 2009
Setting recovery target incarnation to 3
Wed Nov 11 16:42:00 2009
Successful mount of redo thread 1, with mount id 1073552788
Wed Nov 11 16:42:00 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Nov 11 16:42:07 2009
alter database open
Wed Nov 11 16:42:07 2009
Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Wed Nov 11 16:42:07 2009
Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
ORA-01110: data file 13: '/u06/oradata/APAYPROD_90616.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
ORA-1157 signalled during: alter database open...
Wed Nov 11 16:57:00 2009
db_recovery_file_dest_size of 2048 MB is 75.04% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
Dear experts,
I have a problem to open my database. ORA-01033: ORACLE initialization or shutdown in progress. I have restarted server many times. I tried several ways but no joy. Please see the steps I did to solve this -
SQL> connect dmadmin /mypwdx89 as sysdba
Connected.
SQL> STARTUP MOUNT
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> ALTER DATABASE OPEN;
ALTER DATABASE OPEN
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL> RECOVER DATABASE;
ORA-00279: change 149935494 generated at 06/10/2009 17:05:33 needed for thread 1
ORA-00289: suggestion :
C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_23\O1_MF_1_
673_%U_.ARC
ORA-00280: change 149935494 for thread 1 is in sequence #673
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_06_10\O1_MF_1
_673_530WXF9P_.ARC'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
SQL> select * from v$controlfile;
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
NO
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
NO
STATUS
NAME
IS_
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
NO
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
SQL> select name from v$controlfile;
no rows selected
SQL>
SQL> alter database mount;
Database altered.
SQL> select name from v$controlfile;
NAME
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL01.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL02.CTL
C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\CONTROL03.CTL
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF'
SQL>
The I tried to recover datafile
SQL> Recover datafile '<datafile-name>';
again error - even can not open data file ...i restarted server .. no use..same error.
Please help to resolve this issue.
Regards,
Ranjith JohnHi All,
Please see the alert log file ..file size is already few GBs now. There are errors in the file.
It says - ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
so, i guess the back up was not done .please help to resovle this issue.
ARC1: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC1: All standby destinations failed; successful archival assumed
ARC1: Failed to archive log 1 thread 1 sequence 37 (19809)
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc1_1352.trc:
ORA-16038: log 1 sequence# 37 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 1 thread 1: 'C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\REDO01.LOG'
Tue Apr 14 11:46:51 2009
ARC0: Evaluating archive log 1 thread 1 sequence 37
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 10048576000 bytes is 100.00% used, and has 0 remaining bytes available.
You have the following choices to free up space from
flash recovery area:
1. Consider changing your RMAN retention policy.
If you are using dataguard, then consider changing your
RMAN archivelog deletion policy.
2. Backup files to tertiary device such as tape using the
RMAN command BACKUP RECOVERY AREA.
3. Add disk space and increase the db_recovery_file_dest_size
parameter to reflect the new space.
4. Delete unncessary files using the RMAN DELETE command.
If an OS command was used to delete files, then use
RMAN CROSSCHECK and DELETE EXPIRED commands.
Tue Apr 14 11:46:51 2009
Errors in file c:\oracle\product\10.1.0\admin\zuma\bdump\zuma_arc0_3828.trc:
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 10017792 bytes disk space from 10048576000 limit
ARC0: Error 19809 Creating archive log file to 'C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\ARCHIVELOG\2009_04_14\O1_MF_1_37_U_.ARC'
ARC0: All standby destinations failed; successful archival assumed
ARC0: Failed to archive log 1 thread 1 sequence 37 (19809)
Regards,
Ranjith John -
My Catalog - "Can't open Database" error
After being able to open Photoshop Album Starter Edition successfully and without incident several months ago, one day I received this error:
"Problem opening the Catalog named "My Catalog". Another user or application may have the catalog open, or one or more files may be missing, out of date, or damaged. [Microsoft] [ODBC Microsoft Access 97 Driver] can't open database 'unknown'. It may not be a database that your application recognizes or the file may be corrupt. Attempt to compact and recover this catalog then try again? - OK or Cancel"
If I choose OK, then I get another error:
"Catalog Recovery Incomplete - A problem was encountered during catalog recovery. Your catalog may be ok, but if you experience problems with it that can't be resolved through the Reover Catalog option or restarting your computer system you may need to restore this catalog from a backup. - OK"
That goes to a 3rd error message:
"Unable to open "My Catalog because it is damaged. Please choose: Open existing or Create a new catalog named My Catalog-1.psa"
If I choose existing, it goes to the folder where My Catalog is stored, I can click it, and then I receive the first message. If I choose create a new catalog, it does, then gives me the first error message. PSA SE never opens, but the photo downloader appears in my Task bar Notification area, and I can Launch, Enable/Disable or Exit that program. If I try to acquire a photo, I end up with the same first error message.
I've seen the other threads that address what may be close to this issue, and I've done all the fixes suggested, short of reinstalling WindowsXP, which I'd rather avoid, but I've had no luck - I still get the exact same error messages.
I am using Office 97, including Access, Word, Excel, etc. but I'm not having any issues with those. I'm also using Pagemaker 7.0 and no issues there related to a catalog or database. I did have at one time a trial copy of Illustrator, and this problem started occurring after that trial was expired. I've since uninstalled Illustrator, done all the fixes suggested here, deleted the My Catalog files, restarted, uninstalled and re-installed PSA SE3.2, and still it cannot 'see' My Catalog.
Any other suggestions (besides upgrading to Office-this decade, which I would love, but employer hasn't made that leap yet.)? TIA
TraceyNo, no multiple users on this machine, or on that application. Both are located on the C: drive of a computer with intranet and internet access.
Could it have anything to do with the application Microsoft Access? [Microsoft ODBC Access97 driver] is named in the first error message. Access97 was always on this computer, but it wasn't actually put into use until about 6-8 months ago, and it was sometime after I started using it that I could no longer open PSA-SE. Connection? Fixable? -
Error while opening database studio in maxdb
Hi Experts,
I am having maxdb 7.8 and database studio AP MaxDB Database Studio,Version: 7.8.02.21,Build: 021-121-242-175
but when i am tying to open database studio it through
error message " problems opening perspective 'com.sap.sdb.ui.perspectives.mainperspective '
i was though it is coming due to old version of java then i have upgrade with 1.7 but problem is still there.
so please help me .....
Thanks
Naresh KK.Hi Naresh,
Basically MAXDB Database studio 7.8 requires JRE 1.6. You can do the following
Uninstall the Database Studio version.
1. To uninstall, call the installation manager 7.8 ("Programs -> SAP MaxDB -> Installation Manager").
2. Choose "Remove MaxDB Installation".
3. Under "Legacy", select the Database Studio version.
Selecting "Legacy" ensures that you do not select the Database Studio 7.8 that you have just installed for uninstallation.
4. Choose "Forward" to confirm that you want the system to remove the installation.
Due to the operation of the earlier Database Studio version, some processes may still run (for example, serv.exe). Stop these processes and continue with the 7.8 installation.
And then install JRE 1.6. Then delete the files in location c:\Users\<User>\sdb\DatabaseStudio (delete files .configuration, .metadata, p2) and then re-install MaxDB database studio.
Regards,
Deepak Kori -
Problem with Opening Outline in edit mode in Essbase
Hi ,
I am trying to open an outline in edit mode in EAS console, but I am getting the followong error
"There is a problem with locking the outline object ,error # 1,051,675"
Kindly help me to fix the issue.
Thanks,
SatheeshDid you try google?
locking th eoutline error (Again a new feature of OTN)
Can you view the outline, if yes try the steps in Error Opening Database Outline in Edit Mode : "There is a problem with locking the outline object, error # 1,051,675" [ID 1491030.1]
I've seen this error (not sure about the number) where EAS cannot allocate more memory (for loading the outline). I'll try stopping apps and start this one and see if it fixes the issue.
Regards
Celvin
http://www.orahyplabs.com -
Problem in Converting Database into Archivelog mode (Oracle 10G)
Hi Team,
I come across a strange problem in the ORACLE 10G Server.
I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
Now When I execute these following commands through RMAN prompt it works properly as shown below?
C:\>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target /
connected to target database: RAVI (DBID=4025722893, not open)
RMAN> shutdown immediate;
using target database control file instead of recovery catalog
database dismounted
Oracle instance shut down
RMAN> STARTUP MOUNT;
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 79693180 bytes
Database Buffers 79691776 bytes
Redo Buffers 7139328 bytes
RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
sql statement: ALTER DATABASE ARCHIVELOG
RMAN> ALTER DATABASE OPEN;
database opened
RMAN>
But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
File backup.ora contains...
run
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
SQL 'ALTER DATABASE ARCHIVELOG';
ALTER DATABASE OPEN;
passed to RMAN as follows...
C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
RMAN> 2> 3> 4> 5> 6> 7> 8>
then it fails giving the following errors...
using target database control file instead of recovery catalog
database closed
database dismounted
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 11/30/2006 18:05:59
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Recovery Manager complete.
The same thing is working in the Oracle 9i but not in the Oracle 10G.
Can Anybody plz help me in this?
Regards,
S.Tiwari
.export ORACLE_SID=<SID>
rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
it will connect to the default SID, there's no such thing as a default SID, what do you mean?
But what if there are more that one SID available & I
want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
more over the same string is working with 9i but not
with 10G.maybe due to a bug?
to summarize, you have two options it you would like to start up the instance:
either you specify the SID prior starting rman and use os authentication
or
you register the instance statically and use oracle authentication.
regards,
-ap -
Problem in connect database using applet
hi
please
i want open database in page html with use Applet
i use this code but database not work in the my page
if this code have problem
please correct this code to open database in page html
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection(
"jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=C:\\hwzyfa.mdb ");
sta = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
res = sta.executeQuery("select * from aha");
this is my code
package orcle;
import java.sql.*;
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
<applet code="test.class" width=200 height=200>
</applet>
public class Applora extends Applet implements ActionListener
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String str=null;
TextArea ta;
public void init()
ta= new TextArea(10,30);
add(ta);
Button b1 = new Button(">>");
add(b1);
b1.addActionListener(this);
ta.setText("Initialization...\n");
public void start() {java.applet.AudioClip a= Applet.newAudioClip(Applora.class.getResource("a.mid"));
a.play();
public void actionPerformed(ActionEvent ae)
ta.appendText("Inside actionPerformed\n");
try
ta.appendText("Inside try block\n");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
ta.appendText("Class loaded\n");
/********** upto this point it works fine **************/
con=DriverManager.getConnection("jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=C:\\hwzyfa.mdb ");
ta.appendText("Connection created\n");
stmt=con.createStatement();
ta.appendText("Statement created\n");
rs=stmt.executeQuery("select * from aha");
ta.appendText("Resultset created\n");
while(rs.next())
str=str+rs.getString(2)+" "+"\n";
//str=str+rs.getString(2)+" "+"\n";
ta.appendText(str);
con.close();
stmt.close();
rs.close();
}catch(ClassNotFoundException cnfe){System.out.println("Class Not found "+cnfe.getMessage());}
catch(SQLException sqle){System.out.println("SQL Exception "+sqle.getMessage());ta.setText(sqle.getMessage());}
catch(Exception e){ta.setText(e.getMessage());e.getMessage();}
}i want access to database in page html with use AppletFirst of all, that doesn't make any sence, if it's a single user application make it a java
application.
If it's a multu user application make it a client server where the web server connects to
the database when the client requests a connection.
When the applet connects to the database any client running the applet needs a
connection to your database server, the client needs the jdbc drivers and the client's
jre needs to find them (set classpath with runtime parameters or set the classes in
javadir lib). After that the client needs to change thiere java.policy or you need to sign
the applet.
Needless to say that's a lot of trouble. And if you go through all that trouble the client
can de-compile your applet and see the connection to the database server and the
server name. Now the client can destroy your database or worse see date it is not
supposed to see.
Since you are a brainless ... who needed to post this question 6 times did not respond to any of my post in your other threads I can just say good luck with your problem. -
Tried opening a file in library and it states can't open database with library name? It says Relaunch then will not open? and Blocks me completely from Aperture. I have to go to Finder to Rename it? I need this file how do I get it to open?
Aftershotz,
You're going to have to give a bit more information.
What do you mean by "opening a file in library?" There is no function of Aperture to open files -- you can open (switch) libraries.
You'll have to be more specific about error messages, too. Perhaps some screenshots would be useful to diagnose your problem. "Can't open database with library name" is not enough detail about what Aperture is really telling you.
nathan -
SSRS 2012, SQL Server 2012. Problem with changing database
Hi all!
I have a problem with changing database for SSRS.
I have a SSRS 2012 and SQL Server 2012. These programs is on WIndows Server 2012.
I need to link SSRS to the new database instance. For this I run SSRS Configeration Manager, open tab Database, click Change Database. Then I choose option "Choose an existing report server database", click Next, write the server name, test
connection (it's successed) and push Next again. Then I see this error message:
Error
The feature: "Using other editions of SQL Server for report data sources and/or the report server database" is not supported in this edition of Reporting Services.
OK
I'm confused, cause I have compatible versions of programs and THIS error.
Please, help me.
Thanks.Hi Kirill,
From the error message, we can know that the issue may be caused by incorrect editions of SQL Server for report data sources are used as the Report Server Database.
When creating a report server database, please be aware that not all editions of SQL Server can be used to host the database. So we should make sure that we have used the correct database as the
Report Server Database. For more details, please refer to the “Report Server Database Server Edition Requirements” section in the following document:
http://technet.microsoft.com/en-us/library/cc645993.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
User unable to open Database in RSC 3.1
Hey Everyone
I've got a user whose unable to open a database in RoboSource Control 3.1. She receives no error and RSC just sits there like DB connection was never opened. She can open other databases.
I've tried different accounts on her machine and the database won't open for them either, but her account can open the database from other machines. I've repaired and uninstalled/reinstalled RSC but to no avail. I originally thought this to be a cache problem, but since it's affecting other accounts I'm no longer sure.
Has anyone seen something like this before?
Thanks!I am out of the office until 27-07-2009.
If you require assistance please contact the helpdesk at
[email protected] or +1 709 724 8529.
Thanks
Note: This is an automated response to your message "[RoboSource Control]
User unable to open Database in RSC 3.1" sent on 7/24/2009 8:43:06 PM.
This is the only notification you will receive while this person is away.
This e-mail may contain confidential information and the sender does not waive any related rights and obligations. If you are not the intended recipient please notify the sender and discard it. -
Problem in recovering database
I Have Oracle Database 10g (10.2.0.1.0) on Windows Server 2003
I have taken full hot RMAN backup of database.
I have copied the backup files from flash recovery area.
I have one other Machine having windows server 2003 And Oracle 10g Same version. I have copied the backup files from first machine to Flash Recovery Area folder on second machine.
Now i am trying to restore the database of first machine to second machine.
1. I have created a new instance on second machice with same name as in fiirst machine.
2. I have created one ORA password file as well.
3. SET ORACLE_SID=<name of DB as it was in first machine>
4. RMAN TARGET sys/<password given in newly ORA pwd file>@<DB name> nocatalog
5. SET DBID=<dbid of old database>
6. STARTUP NOMOUNT FORCE
7. RESTORE SPFILE TO PFILE '<path of new pfile>' from '<path where backup files are there>';
8. CREATE UDUMP,BDUMP,CDUMP,PFILE,ORADATA FOLDERS where required;
9. SHUTDOWN IMMEDIATE;
10. STARTUP NOMOUNT PFILE='<path of newly created pfile>';
11 RESTORE CONTROLFILE FROM '<path of backup files>';
12. ALTER DATABASE MOUNT;
Everything work fine till here
Now my next step was
13. RESTORE DATABASE;
Then it gives error like:-
RMAN> restore database;
Starting restore at 20-NOV-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=375 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/20/2008 21:00:54
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Firstly i copied backup files to flash recovery area, then i copied files to 'D:\oracle\product\10.2.0\db_1\database' as well. Because i have done it in 9i, in 9i i copied the backup files to this backup folder then while doing restore RMAN succesfully takes file from this folder & restores the database. but in 10g RMAN is not recognising the path of backup. How this problem can be solved? Or is this some different problem which i am not getting?
Waiting for reply..Hi ORADBA,
Thanks for your response. Your solution worked. Actually there was a difference the Oracle installation on server from which i was taking backup is on E drive.
And the server on which i am trying to restore that database has Oracle installation files on D drive. That's why this confusion occurred.
But i have one query again. I am not able to recover my database fully.
Firstly i typed restore database command that worked. Thereafter i tried recover database command. that commant resulted in an error as given below. Than i typed command archive log list on SQL promt, from there i found the information of latest archive log. then i tried recover database until logseq 484 thread 1. That also didn't work. In the same situation i tried to open database i was able to open database using command alter database open resetlogs. I suppose i was not able to recover the database fully. Hi can i recover my database fully?
waiting for reply. Thanks in advance.
RMAN> recover database;
Starting recover at 24-NOV-08
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: E:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSTEM01.DBF
destination for restore of datafile 00002: E:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\UNDOTBS01.DBF
destination for restore of datafile 00003: E:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSAUX01.DBF
destination for restore of datafile 00004: E:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\USERS01.DBF
channel ORA_DISK_1: reading from backup piece E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\BACKUPSET\2008_11_20\O1
MFNNND1_BACKUP_TESTDB_L_1_4LB0PZXS_.BKP*
channel ORA_DISK_1: restored backup piece 1
piece handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\BACKUPSET\2008_11_20\O1_MF_NNND1_BACKUP_TESTDB_L_1_4L
B0PZXS_.BKP tag=BACKUP_TESTDB_L_112008115509
channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
starting media recovery
unable to find archive log
archive log thread=1 sequence=484
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/24/2008 19:47:07
RMAN-06054: media recovery requesting unknown log: thread 1 seq 484 lowscn 11013224
RMAN> recover database until logseq 484;
Starting recover at 24-NOV-08
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/24/2008 19:48:07
RMAN-06556: datafile 1 must be restored from backup older than scn 11009149
RMAN> recover database until logseq 484 thread 1;
Starting recover at 24-NOV-08
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/24/2008 19:48:20
RMAN-06556: datafile 1 must be restored from backup older than scn 11009149
RMAN> recover database until logseq 483 thread 1;
Starting recover at 24-NOV-08
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/24/2008 19:48:58
RMAN-06556: datafile 1 must be restored from backup older than scn 10973094
RMAN> recover database until logseq 482 thread 1;
Starting recover at 24-NOV-08
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/24/2008 19:49:06
RMAN-06556: datafile 1 must be restored from backup older than scn 10952975
RMAN> alter database open;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 11/24/2008 19:49:21
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
RMAN> alter database open resetlogs
*2> ;*
Edited by: user648257 on Nov 24, 2008 6:48 AM -
I am unable to open database in read only mode i used
SQL> STARTUP NOMOUNT
ORACLE instance started.
Total System Global Area 101784276 bytes
Fixed Size 453332 bytes
Variable Size 75497472 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> ALTER DATABASE MOUNT;
Database altered.
SQL> ALTER DATABASE OPEN READ ONLY;
ALTER DATABASE OPEN READ ONLY
ERROR at line 1:
ORA-01187: cannot read from file 1 because it failed verification tests
ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
even
SQL> shut
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open read only
ORACLE instance started.
Total System Global Area 101784276 bytes
Fixed Size 453332 bytes
Variable Size 75497472 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01187: cannot read from file 1 because it failed verification tests
ORA-01110: data file 1: 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
this does'nt works though i am able to open read write
SQL> alter database open;
Database altered.I RENAMED FILE TO SYSTEM01.DBF ????
why you relocate that file ?. That was not the file with problems.
The file with problems is this one.
'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
I propose you to set offline the tablespace that is related to this file ( 'G:\ORACLE\ORADATA\ORCL\O1_MF_SYSTEM_ZYJOFL00_.DBF'
) and try to open the database in read only mode if this get succesful, after we can try to relocate the another file.
What is the tablespace that is related to that datafile ?
Joel P�rez
Maybe you are looking for
-
How do I find and undelete a photo in my iPad mini?
I accidentally deleted a home video tonight and I need to retrieve it. I have iTunes on my desktop, Windows 7 - 64 bit. The photo was on a mini iPad. Any idea on what I can do to recover it? Thanks! Traveling Gramma
-
Thanks in advance for your help!
-
Command to run update all in briefcase
Is It Possible For A CMD Command To Run The Update All Command In Briefcase!!?? I Really Can't Figure Out A CMD Command
-
Is there anyway to use a bluetooth headset with Vista? (Is it something to do with A2DP) The headset I have works in Leopard (and previously in Tiger). It didn't require any driver software, and as far as I know there isn't any available for download
-
Won't reconnect to network when awoken from sleep
What would cause my G5 to not be able to connect to my network when awoken from Sleep? The only way to resolve this is with a complete re-boot of the system - too much like a PC, IMHO. The G5 will not automatically re-connect nor is it possible to co