[solved]ps -ef|grep pmon ???? Databases not up
Hi all,
ps -ef | grep pmon | grep -v grep | tr -s " " |cut -d " " -f8
This command displaying all the process which contains pmon in it
ie.,
ora_pmon_scott2
ora_pmon_scott3
ora_pmon_scott5
I have set a database other than this in my system...they are
ora_pmon_scott1
ora_pmon_scott2
ora_pmon_scott3
ora_pmon_scott4
ora_pmon_scott5
Now My question is
I want to display below two ...i.e., databases which are not up
ora_pmon_scott1
ora_pmon_scott4
Help me how to do that?
if this can be implemented with shell script please tell me how to do that?
Of course you can't use processes to show not running DBs, since processes are not there. You need a list of all DBs, which could be /etc/oratab. If so, then you could create a script like the following :
echo "Databases not running"
echo
grep -v "^#" /etc/oratab | while read LINE
do
if [ ! "$LINE" ]; then
continue
fi
SID=`echo $LINE | cut -f1 -d':'`
if [ ! "`ps -ef | grep pmon | grep -v grep | grep $SID`" ]; then
echo $SID
fi
done
Similar Messages
-
[SOLVED] pacman error: database not found (during an install)
i am trying to install an app
when installing
# pacman -S /path/to/dir/app.tar.gz
error: database not found
when i look inside the tar, theres only one file, app.bin
im sure its some fundamental that im missing. so i have to makepkg first , or am i missing a command during the intallation, or is the file broken?
Last edited by wolfdogg (2011-06-04 05:50:09)well, im geting some errors with the program, im wondering if i need to make a package? i think i will try that next.
heres the beginning of the log, Java errors mainly
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.equinox.ds
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
ok, i downloaded a different binary of this program, and it installed successfully. thanks for the help
Last edited by wolfdogg (2011-06-04 05:49:37) -
RMAN saying database not started??
Hi there,
If I log into my database through OEM, it connects fine.
Through Unix, I set my SID and type in:
rman target /
It connects me to rman but says: connected to target database (not started)
I then try and run a crosscheck archivelog all and it says this:
Erro message stack....
failure of crosscheck command
automatic channel allocation initialization failed
could not obtain a fully authorized session
ORACLE not available
shared memory realm does not exist
Linux Error: No such file or directory.
Any thoughta on what is going on here?
Thanks in advance!herb:oradbp2 ~$ id
uid=500(herb) gid=501(dba) groups=501(dba)
herb:oradbp2 ~$ env | sort
_=/bin/env
DISPLAY=oradbp2.lilydale:33
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/herb
HOSTNAME=oradbp2.lilydale
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US
LD_ASSUME_KERNEL=2.4.19
LD_LIBRARY_PATH=:/d01/app/oracle/9ise/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=herb
LS_COLORS=no=00:fi=00:di=00;33:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/herb
ORACLE_BASE=/d01/app/oracle
ORACLE_HOME=/d01/app/oracle/9ise
ORACLE_SID=LSDB
PATH=/d01/app/oracle/9ise/bin:/d01/app/oracle/9ise/OPatch:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/herb/bin
PWD=/home/herb
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=::ffff:10.1.6.200 50766 22
SSH_CONNECTION=::ffff:10.1.6.200 50766 ::ffff:10.1.0.193 22
SSH_TTY=/dev/pts/1
TERM=xterm
USER=herb
herb:oradbp2 ~$ ps -ef | grep -i pmon
herb 1934 1 0 2010 ? 00:02:32 ora_pmon_lsdb
herb 3984 3359 0 11:06 pts/1 00:00:00 grep -i pmon
herb:oradbp2 ~$ ls -l $ORACLE_HOME/dbs
total 18960
lrwxrwxrwx 1 herb dba 53 Dec 4 2008 initanalyzer.ora -> /d01/app/oracle/admin/analyzer/pfile/initanalyzer.ora
lrwxrwxrwx 1 herb dba 49 Nov 12 2008 initcit1p1.ora -> /d01/app/oracle/admin/cit1p1/pfile/initcit1p1.ora
lrwxrwxrwx 1 herb dba 45 Oct 25 2008 initlsdb.ora -> /d01/app/oracle/admin/lsdb/pfile/initlsdb.ora
lrwxrwxrwx 1 herb dba 45 Nov 22 2008 initpvsp.ora -> /d01/app/oracle/admin/pvsp/pfile/initpvsp.ora
lrwxrwxrwx 1 herb dba 43 Nov 12 2008 initrep.ora -> /d01/app/oracle/admin/rep/pfile/initrep.ora
-rw-rw---- 1 herb dba 24 Dec 13 2008 lkANALYZER
-rw-rw---- 1 herb dba 24 Dec 12 2008 lkCIT1P1
-rw-rw---- 1 herb dba 24 Dec 9 2008 lkKRON43
-rw-rw---- 1 herb dba 24 May 18 2010 lkLSDB
-rw-rw---- 1 herb dba 24 Dec 13 2008 lkPVSP
-rw-rw---- 1 herb dba 24 Dec 12 2008 lkREP
-rwSr----- 1 herb dba 2048 Dec 4 2008 orapwanalyzer
-rwSr----- 1 herb dba 2048 Nov 12 2008 orapwcit1p1
-rwSr----- 1 herb dba 2048 Nov 25 2008 orapwkron43
-rwSr----- 1 herb dba 1536 Oct 25 2008 orapwlsdb
-rwSr----- 1 herb dba 2048 Nov 22 2008 orapwpvsp
-rwSr----- 1 herb dba 2048 Nov 12 2008 orapwrep
-rw-rw---- 1 herb dba 4718592 Mar 10 2009 p1k9ipga_1_1
-rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_analyzer.f
-rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_cit1p1.f
-rw-rw---- 1 herb dba 1679360 Dec 9 2008 snapcf_kron43.f
-rw-rw---- 1 herb dba 6397952 Jan 16 18:27 snapcf_lsdb.f
-rw-rw---- 1 herb dba 1630208 Dec 12 2008 snapcf_pvsp.f
-rw-rw---- 1 herb dba 1630208 Dec 11 2008 snapcf_rep.f
-rw-rw---- 1 herb dba 2560 Oct 25 2008 spfilelsdb.ora.bak -
Logical Stanbdy database not working
Dear Friends,
I configured a logical standby database in oracle 11g. First i configured the physical standby. Its working fine. Data transfered. Then i convert to logical standby. The commands are working correctly. SCN also changed in logical standby. Archives from primary to standby moving correctly. But its not applying.
Please help me to solve this issue.
STANDBY DATABASE
SQL> select type,high_scn,status from v$logstdby;
TYPE HIGH_SCN STATUS
COORDINATOR 1250354 ORA-16116: no work available
ANALYZER 1250258 ORA-16116: no work available
APPLIER 1250258 ORA-16116: no work available
APPLIER 1248628 ORA-16116: no work available
APPLIER 1250251 ORA-16116: no work available
APPLIER ORA-16116: no work available
APPLIER ORA-16116: no work available
READER 1250354 ORA-16116: no work available
BUILDER 1250292 ORA-16116: no work available
PREPARER 1250291 ORA-16116: no work available
10 rows selected.
SQL> select name,value from v$logstdby_stats where name = 'coordinator state';
NAME VALUE
coordinator state IDLE
SQL> select applied_scn,latest_scn from v$logstdby_progress;
APPLIED_SCN LATEST_SCN
1250393 1250396
standby alertlog
Primary database is in MAXIMUM PERFORMANCE mode
kcrrvslf: inactive RFS archival for log 4 thread 1 sequence 96
kcrrvslf: inactive RFS archival for log 5 thread 1 sequence 97
kcrrvslf: inactive RFS archival for log 7 thread 1 sequence 93
kcrrvslf: inactive RFS archival for log 8 thread 1 sequence 94
RFS[3]: Successfully opened standby log 6: 'D:\APP\THI\ORADATA\LOGDB\STDREDO3.LOG'
Sun Sep 11 18:45:32 2011
LOGMINER: End mining logfile for session 1 thread 1 sequence 97, D:\APP\THI\ORADATA\LOGDB\STDREDO2.LOG
LOGMINER: Begin mining logfile for session 1 thread 1 sequence 98, D:\APP\THI\ORADATA\LOGDB\STDREDO3.LOG
LOGMINER: End mining logfile for session 1 thread 1 sequence 98, D:\APP\THI\ORADATA\LOGDB\STDREDO3.LOG
Primary database is in MAXIMUM PERFORMANCE mode
kcrrvslf: inactive RFS archival for log 4 thread 1 sequence 96
kcrrvslf: inactive RFS archival for log 5 thread 1 sequence 97
kcrrvslf: inactive RFS archival for log 6 thread 1 sequence 98
kcrrvslf: inactive RFS archival for log 7 thread 1 sequence 93
kcrrvslf: inactive RFS archival for log 8 thread 1 sequence 94
RFS[3]: No standby redo logfiles of size 102400 blocks available
Sun Sep 11 18:47:35 2011
ARCH: Archival stopped, error occurred. Will continue retrying
Errors in file c:\app\thi\diag\rdbms\logdb\logdb\trace\logdb_arc2_1044.trc:
ORA-16014: log 7 sequence# 93 not archived, no available destinations
ORA-00312: online log 7 thread 1: 'D:\APP\THI\ORADATA\LOGDB\STDREDO4.LOG'
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
log_archive_dest_1 string LOCATION=D:\APP\THI\arch\ VALID_FOR=(ONLINE_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=logdb
SQL> show parameter log_archive_dest_2
NAME TYPE VALUE
log_archive_dest_2 string service=proddb LGWR SYNC valid_for=(online_logfiles,primary_role) db_unique_name=proddb
SQL> show parameter log_archive_dest_3
NAME TYPE VALUE
log_archive_dest_3 string service=logdb LGWR SYNC valid_for=(online_logfiles,primary_role) db_unique_name=logdb
PRODUCTION
SQL> select current_scn from v$database;
CURRENT_SCN
1250406
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
log_archive_dest_1 string LOCATION=c:\app\arch\ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=proddb
SQL> show parameter log_archive_dest_3
NAME TYPE VALUE
log_archive_dest_3 string service=logdb LGWR SYNC valid_for=(online_logfiles,primary_role) db_unique_name=logdb
If any doubt, please tell me.
Please help me.I happy to help but you can help too ( Total Questions: 11 (11 unresolved)) Please consider marking some of your old questions answered.
You have a valid_for attribute mismatch issue :
Yours :
log_archive_dest_1 string LOCATION=D:\APP\THI\arch\ VALID_FOR=(ONLINE_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=logdb
log_archive_dest_1 string LOCATION=c:\app\arch\ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=proddbI think the ONLINE_LOGFILES should be replaced with ALL_LOGFILES.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_arch_dest_param.htm
Great details by the way.
Best Regards
mseberg
I also noticed this Oracle note :
Logical Apply stops with ora-16260 [ID 784743.1]
Edited by: mseberg on Sep 12, 2011 7:58 AM -
Ora-01219 database not open; only queries on fixed tables and views.
Hi everyone
There is another post stating this error, but since the source is different, I think is okay to make a different post as well.
Our database was working fine until the other day, when suddenly power went off, UPS was damaged and didn't hold, and when we restarted the database this is what happens:
Using Enterprise Manager Console, we can make a succesful connection in the same machine, but if we choose Schema, the following error appears:
ora-01219 database not open; only queries on fixed tables and views.
When accesing from a different machine:
ORA-01033: ORACLE initialization or shutdown in progress
Thanks in advanceHere is the last entries of alert log
Fatal NI connect error 12638, connecting to:
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 11.1.0.7.0 - Production
Time: 20-JUL-2010 15:48:31
Tracing not turned on.
Tns error struct:
ns main err code: 12638
TNS-12638: Fallo de recuperación de credenciales
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Tue Jul 20 15:50:50 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 11.1.0.7.0.
Using parameter settings in server-side spfile E:\ORACLE\CRIMINALISTICA\PRODUCT\11.1.0\DB_1\DATABASE\SPFILECRIM.ORA
System parameters with non-default values:
processes = 150
memory_target = 816M
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL01.CTL"
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL02.CTL"
control_files = "E:\ORACLE\ORADATA\CRIM\CONTROL03.CTL"
db_block_size = 8192
compatible = "11.1.0.0.0"
db_recovery_file_dest = "E:\Oracle\flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
db_domain = ""
dispatchers = "(PROTOCOL=TCP) (SERVICE=CRIMXDB)"
audit_file_dest = "E:\ORACLE\ADMIN\CRIM\ADUMP"
audit_trail = "DB"
db_name = "CRIM"
open_cursors = 300
diagnostic_dest = "E:\ORACLE"
Tue Jul 20 15:50:55 2010
PMON started with pid=2, OS id=1688
Tue Jul 20 15:50:55 2010
VKTM started with pid=3, OS id=2236 at elevated priority
Tue Jul 20 15:50:55 2010
DIAG started with pid=4, OS id=2332
Tue Jul 20 15:50:55 2010
DBRM started with pid=5, OS id=2328
Tue Jul 20 15:50:55 2010
PSP0 started with pid=6, OS id=2432
VKTM running at (20)ms precision
Tue Jul 20 15:50:55 2010
DIA0 started with pid=7, OS id=2160
Tue Jul 20 15:50:55 2010
MMAN started with pid=8, OS id=2156
Tue Jul 20 15:50:55 2010
DBW0 started with pid=9, OS id=2064
Tue Jul 20 15:50:55 2010
LGWR started with pid=10, OS id=3176
Tue Jul 20 15:50:55 2010
CKPT started with pid=11, OS id=3180
Tue Jul 20 15:50:55 2010
SMON started with pid=12, OS id=3184
Tue Jul 20 15:50:55 2010
RECO started with pid=13, OS id=3188
Tue Jul 20 15:50:55 2010
MMON started with pid=14, OS id=3192
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = E:\Oracle
Tue Jul 20 15:50:55 2010
MMNL started with pid=15, OS id=3196
Tue Jul 20 15:50:56 2010
alter database mount exclusive
Setting recovery target incarnation to 2
Successful mount of redo thread 1, with mount id 1304879008
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
ORA-01110: data file 9: 'E:\ORACLE\ORADATA\STOPCRIM5\STOPCRIM5TABLESPACE.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 16 - see DBWR trace file
ORA-01110: data file 16: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSTABLESPACE.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
Errors in file e:\oracle\diag\rdbms\crim\crim\trace\crim_dbw0_2064.trc:
ORA-01157: cannot identify/lock data file 17 - see DBWR trace file
ORA-01110: data file 17: 'E:\ORACLE\ORADATA\PRUEBACARLOS\PRUEBACARLOSINDEX.ORA'
ORA-27047: unable to read the header block of file
OSD-04006: fallo de ReadFile(); no se ha podido leer del archivo
O/S-Error: (OS 38) Se ha alcanzado el final del archivo.
ORA-1157 signalled during: alter database open...
Tue Jul 20 16:04:39 2010
db_recovery_file_dest_size of 2048 MB is 0.00% 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. -
ORA-01109:database not open
ORA-01109:database not open, how to solve this problem please give me steps.
Connect to the instance as sysdba:sqlplus /nolog
conn / as sysdbaGet the instance status:SELECT STATUS FROM V$INSTANCE;Depending on reported status:
. MOUNT:ALTER DATABASE OPEN;. STARTED:ALTER DATABASE MOUNT;
ALTER DATABASE OPEN;Report any problem encounterred there.
Regards,
Yoann. -
DBCA hangs with 'database not open'
I've installed the Oracle 9i ver.2 Enterprise Edition software on a Tru64 Unix machine with 512MB of memory. The software was installed without any problems. However, while creating any database thru the Database Configuration Assistant it hangs on 46% on "Creating & starting Oracle instance" with errors of 'ORA-01109: database not open' in cloneDBCreation.log and 'ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...' in alert_SID.log.
I have also tried to create a DB via a script file but this hangs up in the 'CREATE DATABASE' command.
Thanks,
Robert LiebI am giving up on dbca and will try to get a script to create a db. Included are a log file, and a trace file that shows the script process hanging on "Waiting for smon to enable cache recovery" during the execution of CreateDB.sql.
Any ideas?
============= alert_oraCUP1.log ======================
Tue Aug 10 13:24:30 2004
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.1.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 33554432
large_pool_size = 12582912
java_pool_size = 0
control_files = /oracle02/app/oracle/oradata/oraCUP1/control01.ctl, /oracle02/app/oracle/oradata/oraCUP1/control02.ctl, /oracle02/app/oracle/oradata/oraCUP1/control03.ctl
db_block_size = 4096
db_cache_size = 29360128
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 8
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain = TestAlpha.com
instance_name = oraCUP1
dispatchers = (PROTOCOL=TCP) (SERVICE=oraCUP1XDB)
hash_join_enabled = TRUE
background_dump_dest = /oracle01/app/oracle/admin/oraCUP1/bdump
user_dump_dest = /oracle01/app/oracle/admin/oraCUP1/udump
core_dump_dest = /oracle01/app/oracle/admin/oraCUP1/cdump
sort_area_size = 524288
db_name = oraCUP1
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 20971520
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Tue Aug 10 13:24:44 2004
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Aug 10 13:24:58 2004
CREATE DATABASE oraCUP1
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE '/oracle02/app/oracle/oradata/oraCUP1/system01.dbf' SIZE 250M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/oracle02/app/oracle/oradata/oraCUP1/temp01.dbf' SIZE 40M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
UNDO TABLESPACE "UNDOTBS1" DATAFILE '/oracle02/app/oracle/oradata/oraCUP1/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
CHARACTER SET WE8ISO8859P1
NATIONAL CHARACTER SET AL16UTF16
LOGFILE GROUP 1 ('/oracle02/app/oracle/oradata/oraCUP1/redo01.log') SIZE 1M,
GROUP 2 ('/oracle02/app/oracle/oradata/oraCUP1/redo02.log') SIZE 1M,
GROUP 3 ('/oracle02/app/oracle/oradata/oraCUP1/redo03.log') SIZE 1M
Tue Aug 10 13:25:00 2004
Database mounted in Exclusive Mode.
Tue Aug 10 13:25:02 2004
Successful mount of redo thread 1, with mount id 130099050.
Assigning activation ID 130099050 (0x7c1276a)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /oracle02/app/oracle/oradata/oraCUP1/redo01.log
Successful open of redo thread 1.
Tue Aug 10 13:30:10 2004
Waiting for smon to enable cache recovery.
===================================
============= oracup1_ora_2364.trc ======================
/oracle01/app/oracle/admin/oraCUP1/udump/oracup1_ora_2364.trc
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
ORACLE_HOME = /oracle01/app/oracle/product/9.2.0.1.0
System name: OSF1
Node name: TestAlpha.com
Release: V5.1
Version: 1885
Machine: alpha
Instance name: oraCUP1
Redo thread mounted by this instance: 1
Oracle process number: 10
Unix process pid: 2364, image: [email protected] (TNS V1-V3)
*** SESSION ID:(7.1) 2004-08-10 13:30:10.838
Waiting for smon to enable cache recovery.
*** 2004-08-10 13:35:20.268
Waiting for smon to enable cache recovery.
=================================== -
Database not supported on oracle9i
Hello,
in our company we use zfd4.01 ir6 and oracle 8 for inventory. All is
working fine. Now we have to upgrade our oracle 8 to oracle 9i. When
inventory starts, we get error 627 - database not supported, even though
novell supports oracle 9i since ir6. Is there any opportunity to solve the
problem?
Thanks
Robert SchmidRobertschmid,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Oracle database not getting Up after patch upgrade
Hi,
I have upgraded my oracle database from 10.0.2.1 to 10.0.2.4. after this databse is not coming up. I am able to start/stop listner but while starting SAP it is not able to start databse. Pasting error log below.
Wed Jun 24 14:56:45 PDT 2009
LOGFILE FOR STARTING ORACLE
Trying to start CRD database ...
Wed Jun 24 14:56:45 PDT 2009
checking required environment variables
ORACLE_HOME is >/oracle/CRD/102_64<
ORACLE_SID is >CRD<
Wed Jun 24 14:56:45 PDT 2009
check initora
Wed Jun 24 14:56:45 PDT 2009
check initora
Wed Jun 24 14:56:45 PDT 2009
checking V2 connect
TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 24-JUN-2009 14:56:45
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/usr/sap/CRD/SYS/profile/oracle/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = CRM) (PORT = 1527))) (CONNECT_DATA = (SID =
CRD) (GLOBAL_NAME = CRD.WORLD)))
OK (0 msec)
tnsping: V2 connect to CRD
Wed Jun 24 14:56:45 PDT 2009
Connect to the database to check the database state:
R3trans: connect check finished with return code: 12
Database not available
Wed Jun 24 14:56:45 PDT 2009
Shutdown database
First trying to shutdown the database - May be,
the database is in the nomount or mount state
Wed Jun 24 14:56:45 PDT 2009
starting database
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Jun 24 14:56:45 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1224736768 bytes
Fixed Size 2083560 bytes
Variable Size 620758296 bytes
Database Buffers 587202560 bytes
Redo Buffers 14692352 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Wed Jun 24 14:56:53 PDT 2009
Connect to the database to verify, that the database is now open
R3trans check finished with return code: 12
ERROR: Startup of database failed
Notify Database Administrator.
/usr/sap/CRD/SYS/exe/run/startdb: Terminating with error code 12
thanks,
BhanuHi,
I have tried to start and stop oracle from SPLplus but no luck. i am pasting alert log file which is saying some block courruption......
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 96
event = 10191 trace name context forever, level 1
sga_max_size = 1224736768
shared_pool_size = 587202560
shared_pool_reserved_size= 57982058
filesystemio_options = setall
control_files = /oracle/CRD/origlogA/cntrl/cntlrCRD.dbf, /oracle/CRD/origlogB/cntrl/cntrlCRD.dbf, /oracle/CRD/sapdata1/cntrl/cntrlCRD.dbf
control_file_record_keep_time= 30
db_block_size = 8192
db_cache_size = 587202560
compatible = 10.2.0
log_archive_dest = /oracle/CRD/oraarch/CRDarch
log_buffer = 14246912
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 = /oracle/CRD/saptrace/background
user_dump_dest = /oracle/CRD/saptrace/usertrace
core_dump_dest = /oracle/CRD/saptrace/background
optimizer_features_enable= 10.2.0.1
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = CRD
open_cursors = 800
optimpeek_user_binds = FALSE
pga_aggregate_target = 773094113
workarea_size_policy = AUTO
statistics_level = typical
PMON started with pid=2, OS id=25204
PSP0 started with pid=3, OS id=25206
MMAN started with pid=4, OS id=25208
DBW0 started with pid=5, OS id=25210
LGWR started with pid=6, OS id=25212
CKPT started with pid=7, OS id=25214
SMON started with pid=8, OS id=25216
RECO started with pid=9, OS id=25218
CJQ0 started with pid=10, OS id=25220
MMON started with pid=11, OS id=25222
MMNL started with pid=12, OS id=25224
Wed Jun 24 15:06:19 2009
ALTER DATABASE MOUNT
Wed Jun 24 15:06:24 2009
Setting recovery target incarnation to 1
Wed Jun 24 15:06:24 2009
Successful mount of redo thread 1, with mount id 182910572
Wed Jun 24 15:06:24 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Jun 24 15:06:24 2009
ALTER DATABASE OPEN
Wed Jun 24 15:06:24 2009
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Wed Jun 24 15:06:24 2009
Started redo scan
Wed Jun 24 15:06:24 2009
Completed redo scan
1 redo blocks read, 0 data blocks need recovery
Wed Jun 24 15:06:24 2009
Started redo application at
Thread 1: logseq 16126, block 2, scn 1104239482
Wed Jun 24 15:06:24 2009
Recovery of Online Redo Log: Thread 1 Group 2 Seq 16126 Reading mem 0
Mem# 0: /oracle/CRD/origlogB/log_g12m1.dbf
Mem# 1: /oracle/CRD/mirrlogB/log_g12m2.dbf
Wed Jun 24 15:06:24 2009
Completed redo application
Wed Jun 24 15:06:24 2009
Completed crash recovery at
Thread 1: logseq 16126, block 3, scn 1104259484
0 data blocks read, 0 data blocks written, 1 redo blocks read
Wed Jun 24 15:06:25 2009
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=16, OS id=25232
Wed Jun 24 15:06:25 2009
ARC0: Archival started
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC1 started with pid=17, OS id=25234
Wed Jun 24 15:06:25 2009
Thread 1 advanced to log sequence 16127 (thread open)
Thread 1 opened at log sequence 16127
Current log# 3 seq# 16127 mem# 0: /oracle/CRD/origlogA/log_g13m1.dbf
Current log# 3 seq# 16127 mem# 1: /oracle/CRD/mirrlogA/log_g13m2.dbf
Successful open of redo thread 1
Wed Jun 24 15:06:25 2009
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Wed Jun 24 15:06:25 2009
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
Wed Jun 24 15:06:25 2009
ARC1: Becoming the heartbeat ARCH
Wed Jun 24 15:06:25 2009
SMON: enabling cache recovery
Wed Jun 24 15:06:25 2009
Errors in file /oracle/CRD/saptrace/usertrace/crd_ora_25226.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Wed Jun 24 15:06:25 2009
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 25226
ORA-1092 signalled during: ALTER DATABASE OPEN...
Thanks,
Bhanu -
Hi All
I am using Crysta; Reports 8.5 with Visual Basic 6.0 and Sql Server 2000.
Report viewer is showing an error "Physical Database not found" when running at user's machine.
If i install the crystal reports, the reports shows perfect.
which are the files to be included for the deployment setup.
does anybody know how to solve this problem.
thanks in advance.
sam alexMy solution:
Copy p2bbde.dll to windows dir, system and system32
Ciao,
Willy -
5.0 database not working in lookout 6.6
5.0 database not working in lookout 6.0. I converted the database using the lks file and then saved it. that all worked fine but my modbus stats are in 100% error connected with direct serial! any known fixes? help please!
Is this MODBUS or the database?
To use the 5.0 Databaes you need to use the NI MAX utility to convert a citadel 4 to Citadel 5 database.
Forshock - Consult.Develop.Solve. -
I need the code to delete record in the database not in the form???
I need the code to delete record in the database not in the form...
because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
i'm spanish an my english is bad sorry.
thank, javierWell, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation
-
Add current Date/Time to a database note?
If we set the database note when we are loading the cube, what would be the syntax to set the current date/time?<BR><BR>For example...<BR><BR>ALTER DATABASE <NAME> SET NOTE <COMMENT><BR><BR>What would go in <COMMENT> in order to set current date/time?<BR><BR>Cheers!
Hi Philip,
There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
Hope this helps... -
Oracle Database Not Starting Up Properly
On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. I kinda figured that I wouldn't run into the exact same issue on Oracle VM. I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still here. I didn't find anything in this forum about the database not starting up, so I'm wondering if others are running into the same problem and how to resolve the issue. Thanks a bunch for your help.
keithrust wrote:
On VMware there's a known issue with Oracle databases on a Windows client not starting up properly all the time and a manual startup using oradim -start -sid <whatever> is required to get it fully running. Hmmm, doing it several time, and never seen such issue. Which "known issue" and by who are you talking about ?
I created a brand new Oracle VM Windows 2003 32-bit server, installed the Oracle drivers for paravirtualization, and whammo, the problem is still hereI'm sure, you miss something somewhere in the config. Right now, you're on supported configuration, you could either raise a SR to the support, or get help from your peer on Oracle Database General forum.
Ah, but it's not a Windows issue. On a non-VM Windows box the database starts just fine all the time. Again, this is a known issue acknowledged by Oracle on the VMware side, I'm just surprised it exists on the Oracle VM side.Again, give more details about this "known issue". Never heard about that, eventhough I've been around for years.
I was afraid you were going to ask that. I'll have to search for it again, but I think you can do the same as well....Well, I doubt you could find a Metalink note about Oracle on VMWare. So far, Oracle has always refused to support database on OS virtualized on VMWare (or any VM software other than Oracle VM). Based on that, you could be sure, your "known issue" is not an issue on Oracle VM.
If you want more help, again, give more details about your issue.
Nicolas. -
Standby Database not succeeded
Hi experts, I need your assistance.
I am configuring physical stby database on the same host on oracle Release 11.1.0.6.0 win xp. But not not succeeded.
These are the steps I followed
Host name = sumanr
Primary database = orcl
Stby database = stby
1. On the same host I created the instance as 'stby' for the standby database using oradim
2. created the password file using orapwd
3. added the entry for stby databse in tnsnames and listener files
4. created the initstby.ora file with the single entry for db_name=orcl
5. started the stby database in nomount mode.
-------On Primary created the stby redologs
alter database add standby logfile group 4
('C:\app\oracle\oradata\orcl\sby_redo01.rdo') size 50M;
alter database add standby logfile group 5
('C:\app\oracle\oradata\orcl\sby_redo02.rdo') size 50M;
alter database add standby logfile group 6
('C:\app\oracle\oradata\orcl\sby_redo03.rdo') size 50M;
alter database add standby logfile group 7
('C:\app\oracle\oradata\orcl\sby_redo04.rdo') size 50M;
--------OnStandby
sqlplus / as sysdba
startup nomount
------On Primary RMAN
connect target sys/oracle@orcl
connect auxiliary sys/oracle@stby
run {
allocate channel c1 type disk;
allocate auxiliary channel s1 type disk;
duplicate target database
for standby
from active database
dorecover
spfile
parameter_value_convert 'orcl','stby'
set db_unique_name='stby'
set db_file_name_convert='orcl','stby'
set log_file_name_convert='orcl','stby'
set control_files='C:\app\oracle\oradata\stby\control01.ctl','C:\app\oracle\oradata\stby\control02.ctl','C:\app\oracle\oradata\stby\control03.ctl'
set fal_client='stby'
set fal_server='orcl'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(orcl,stby)'
set log_archive_dest_2='service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'
set log_archive_dest_state_2='enable'
set log_archive_format='stby_%t_%s_%r.arc';
sql channel c1 "alter system archive log current";
run {
allocate auxiliary channel s1 type disk;
sql channel s1 "alter database recover managed standby database using current logfile disconnect";
}Now in stby when I check v$log, it gives
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
1 1 0 52428800 1 YES UNUSED
2064244 17-AUG-09
2 1 0 52428800 1 NO CURRENT
2064280 17-AUG-09
3 1 0 52428800 1 YES UNUSED
2063000 17-AUG-09where as in primary it is
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
FIRST_CHANGE# FIRST_TIM
1 1 67 52428800 1 NO CURRENT
2067534 17-AUG-09
2 1 65 52428800 1 YES INACTIVE
2067226 17-AUG-09
3 1 66 52428800 1 YES INACTIVE
2067532 17-AUG-09dont know what I am missing. Pl. help me.
ThnaksHello SYbrand
Thanks for your resply. I have created the stby redologs in the primary and RMAN is creating them in the standby database.As I checked in the standby
SQL> select type,member
2 from v$logfile;
TYPE
MEMBER
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO03.LOG
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO02.LOG
ONLINE
C:\APP\ORACLE\ORADATA\STBY\REDO01.LOG
TYPE
MEMBER
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO01.RDO
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO02.RDO
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO03.RDO
TYPE
MEMBER
STANDBY
C:\APP\ORACLE\ORADATA\STBY\SBY_REDO04.RDO
7 rows selected.
SQL>This is my RMAN outcome
Recovery Manager11.1.0.6.0
RMAN> connect auxiliary sys/oracle@stby
connected to auxiliary database: ORCL (not mounted)
RMAN> connect target sys/oracle@orcl
connected to target database: ORCL (DBID=1222322644)
RMAN>
RMAN>
RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24>
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=114 device type=DISK
allocated channel: s1
channel s1: SID=97 device type=DISK
Starting Duplicate Db at 17-AUG-09
contents of Memory Script:
backup as copy reuse
file 'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDorcl.ORA' auxiliary format
'C:\app\oracle\product\11.1.0\db_1\DATABASE\PWDstby.ORA' file
'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORCL.ORA' auxiliary format
'C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA' ;
sql clone "alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''";
executing Memory Script
Starting backup at 17-AUG-09
Finished backup at 17-AUG-09
sql statement: alter system set spfile= ''C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILESTBY.ORA''
contents of Memory Script:
sql clone "alter system set audit_file_dest =
''C:\app\oracle\admin\stby\adump'' comment=
'''' scope=spfile";
sql clone "alter system set dispatchers =
''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment=
'''' scope=spfile";
sql clone "alter system set db_unique_name =
''stby'' comment=
'''' scope=spfile";
sql clone "alter system set db_file_name_convert =
''orcl'', ''stby'' comment=
'''' scope=spfile";
sql clone "alter system set log_file_name_convert =
''orcl'', ''stby'' comment=
'''' scope=spfile";
sql clone "alter system set control_files =
''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment=
'''' scope=spfile";
sql clone "alter system set fal_client =
''stby'' comment=
'''' scope=spfile";
sql clone "alter system set fal_server =
''orcl'' comment=
'''' scope=spfile";
sql clone "alter system set standby_file_management =
''AUTO'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_config =
''dg_config=(orcl,stby)'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_dest_2 =
''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_dest_state_2 =
''enable'' comment=
'''' scope=spfile";
sql clone "alter system set log_archive_format =
''stby_%t_%s_%r.arc'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount ;
executing Memory Script
sql statement: alter system set audit_file_dest = ''C:\app\oracle\admin\stby\adump'' comment= '''' scope=spfile
sql statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE=stbyXDB)'' comment= '''' scope=spfile
sql statement: alter system set db_unique_name = ''stby'' comment= '''' scope=spfile
sql statement: alter system set db_file_name_convert = ''orcl'', ''stby'' comment= '''' scope=spfile
sql statement: alter system set log_file_name_convert = ''orcl'', ''stby'' comment= '''' scope=spfile
sql statement: alter system set control_files = ''C:\app\oracle\oradata\stby\control01.ctl'', ''C:\app\oracle\oradata\stby\control02.ctl'', ''C:\app\oracle\oradata\stby\control03.ctl'' comment= '''' scope=spfile
sql statement: alter system set fal_client = ''stby'' comment= '''' scope=spfile
sql statement: alter system set fal_server = ''orcl'' comment= '''' scope=spfile
sql statement: alter system set standby_file_management = ''AUTO'' comment= '''' scope=spfile
sql statement: alter system set log_archive_config = ''dg_config=(orcl,stby)'' comment= '''' scope=spfile
sql statement: alter system set log_archive_dest_2 = ''service=orcl LGWR ASYNC valid_for=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=stby'' comment= '''' scope=spfile
sql statement: alter system set log_archive_dest_state_2 = ''enable'' comment= '''' scope=spfile
sql statement: alter system set log_archive_format = ''stby_%t_%s_%r.arc'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 171967380 bytes
Database Buffers 356515840 bytes
Redo Buffers 5844992 bytes
contents of Memory Script:
backup as copy current controlfile for standby auxiliary format 'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
restore clone controlfile to 'C:\APP\ORACLE\ORADATA\STBY\CONTROL02.CTL' from
'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
restore clone controlfile to 'C:\APP\ORACLE\ORADATA\STBY\CONTROL03.CTL' from
'C:\APP\ORACLE\ORADATA\STBY\CONTROL01.CTL';
sql clone 'alter database mount standby database';
executing Memory Script
Starting backup at 17-AUG-09
channel c1: starting datafile copy
copying standby control file
output file name=C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SNCFORCL.ORA tag=TAG20090817T150925 RECID=19 STAMP=695142585
channel c1: datafile copy complete, elapsed time: 00:00:15
Finished backup at 17-AUG-09
Starting restore at 17-AUG-09
channel clone_default: skipped, AUTOBACKUP already found
channel c1: copied control file copy
Finished restore at 17-AUG-09
Starting restore at 17-AUG-09
channel clone_default: skipped, AUTOBACKUP already found
channel c1: copied control file copy
Finished restore at 17-AUG-09
sql statement: alter database mount standby database
contents of Memory Script:
set newname for tempfile 1 to
"C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF";
set newname for tempfile 2 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1";
set newname for tempfile 3 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2";
switch clone tempfile all;
set newname for datafile 1 to
"C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF";
set newname for datafile 2 to
"C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF";
set newname for datafile 3 to
"C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF";
set newname for datafile 4 to
"C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF";
set newname for datafile 5 to
"C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF";
set newname for datafile 6 to
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT";
backup as copy reuse
datafile 1 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF" datafile
2 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF" datafile
3 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF" datafile
4 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF" datafile
5 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF" datafile
6 auxiliary format
"C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT" ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
renamed tempfile 1 to C:\APP\ORACLE\ORADATA\STBY\TEMP01.DBF in control file
renamed tempfile 2 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_1 in control file
renamed tempfile 3 to C:\APP\ORACLE\ORADATA\STBY\CHECKUP_TEMP_2 in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 17-AUG-09
channel c1: starting datafile copy
input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\ORCL\CHECKUP_DFLT.DAT
output file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:02:55
channel c1: starting datafile copy
input datafile file number=00001 name=C:\APP\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:35
channel c1: starting datafile copy
input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:35
channel c1: starting datafile copy
input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:07
channel c1: starting datafile copy
input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:03
channel c1: starting datafile copy
input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\ORCL\USERS01.DBF
output file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF tag=TAG20090817T151028 RECID=0 STAMP=0
channel c1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 17-AUG-09
sql statement: alter system archive log current
contents of Memory Script:
backup as copy reuse
archivelog like "C:\APP\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC00067_0694541910.001" auxiliary format
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC" archivelog like
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2009_08_17\O1_MF_1_67_58LLGDYR_.ARC" auxiliary format
"C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_%U_.ARC" ;
catalog clone recovery area;
switch clone datafile all;
executing Memory Script
Starting backup at 17-AUG-09
channel c1: starting archived log copy
input archived log thread=1 sequence=67 RECID=119 STAMP=695142910
output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC RECID=0 STAMP=0
channel c1: archived log copy complete, elapsed time: 00:00:01
channel c1: starting archived log copy
input archived log thread=1 sequence=67 RECID=120 STAMP=695142910
output file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC RECID=0 STAMP=0
channel c1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 17-AUG-09
searching for all files in the recovery area
List of Files Unknown to the Database
=====================================
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
File Name: C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2JKMU2G4_.ARC
datafile 1 switched to datafile copy
input datafile copy RECID=19 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSTEM01.DBF
datafile 2 switched to datafile copy
input datafile copy RECID=20 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\SYSAUX01.DBF
datafile 3 switched to datafile copy
input datafile copy RECID=21 STAMP=695142923 file name=C:\APP\ORACLE\ORADATA\STBY\UNDOTBS01.DBF
datafile 4 switched to datafile copy
input datafile copy RECID=22 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\USERS01.DBF
datafile 5 switched to datafile copy
input datafile copy RECID=23 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\EXAMPLE01.DBF
datafile 6 switched to datafile copy
input datafile copy RECID=24 STAMP=695142924 file name=C:\APP\ORACLE\ORADATA\STBY\CHECKUP_DFLT.DAT
contents of Memory Script:
set until scn 2080890;
recover
standby
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 17-AUG-09
starting media recovery
archived log for thread 1 with sequence 67 is already on disk as file C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC
archived log file name=C:\APP\ORACLE\FLASH_RECOVERY_AREA\STBY\ARCHIVELOG\2009_08_17\O1_MF_1_67_ARCH_D-ORCL_ID-1222322644_S-67_T-1_A-694541910_2IKMU2G0_.ARC thread=1 sequence=67
media recovery complete, elapsed time: 00:00:03
Finished recover at 17-AUG-09
Finished Duplicate Db at 17-AUG-09
sql statement: alter system archive log current
released channel: c1
Maybe you are looking for
-
Can't make "Back to my mac" work for me.
Hello world I tried everything! Set routers on UPnP. Updated Firmware. Enabeld sharing. Logged out an in .Mac on all my Computers (same .Mac-account). Nothing! B2MM just won't work. Home mac doesn't show up on office mac and the other way round. I'll
-
AppleTV won't recognize signal
AppleTV won't recognize WiFi signal. The base is 50 ft. away with 2 walls. Is this too far and if so, can I put a NetGear router connected to the modem with a firewire half way?
-
Podcasts download when i don't want them to
When I sync my ipod, some (although not all) of my podcasts download onto the ipod even though I have not selected the "sync" setting for them. Can I stop this from happening? Can I delete those that have already downloaded?
-
Run Adobe AIR application as frame in other windows app.
Is there possibility to intagrate Adobe AIR application to the windows application as ActiveX, or another way, and will be such functionality provided in future?
-
Submit report to Oracle 6i Report Server via dbms_jobs or server side pl/sq
Is there a way to submit an Oracle report to an Oracle 6i Report Server from a dbms_job or a server-side pl/sql package?