Oracle automated startup
Hi I have been able to automatically start the dbstart so that oracle is warm and started but I want to know a way of automating the STARTUP PFILE command that you have to use to start a oracle instance or session, if you could help I would be greatful. I am working on a linux platform and am using Red Hat 6.2. The situation is that if i have my system running and it crashs, when it comes to starting again I want it to start the database and the Pfile so that the database is automatically restarted with out any hassle
Peter,
Normally the problem here is that the environment is not set, or
is not being set correctly OR that things that Oracle needs to be
available have already been killed (lower run level) or have not
been started (higher run level).
Check that the environment is OK when the dbora script is run and
check that your scripts are called in the right order of things
when moving between run levels.
Regards,
Mark
Pete Petersen (guest) wrote:
: I am trying to get make my Oracle database shutdown and startup
: automatically at boot, but am having a hard time getting this
to
: work properly. I have created a file in /etc/rc.d/init.d called
: dbora:
: case "$1" in
: 'start')
: su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
: 'stop')
: su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
: esac
: I also created the following links in EVERY (out of
frustration)
: /etc/rc.d/rc#.d directory:
: lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora
: > /etc/rc.d/init.d/dbora
: lrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora
: > /etc/rc.d/init.d/dbora
: The problem does not really appear to be linked to the actual
: database shutdown or startup, but rather with LINUX. I have
: replaced the contents of dbstart.sh & dbshut.sh with a simple
: echo redirect to file to prove this out. Specifically, here is
: what is happening:
: * Running "dbora start" or "dbora stop" manually always works.
: * Neither "dbora start" or "dbora stop" work when booting or
: switching runlevels, although the message STARTING DBORA does
: scroll past the console.
: I have several people look at this here and no one can figure
: out why this isn't working. Can you assist?
null
Similar Messages
-
Oracle Automated startup & shudown on Linux 6.0
I am trying to get make my Oracle database shutdown and startup
automatically at boot, but am having a hard time getting this to
work properly. I have created a file in /etc/rc.d/init.d called
dbora:
case "$1" in
'start')
su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
'stop')
su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
esac
I also created the following links in EVERY (out of frustration)
/etc/rc.d/rc#.d directory:
lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora -
/etc/rc.d/init.d/dboralrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora -
/etc/rc.d/init.d/dboraThe problem does not really appear to be linked to the actual
database shutdown or startup, but rather with LINUX. I have
replaced the contents of dbstart.sh & dbshut.sh with a simple
echo redirect to file to prove this out. Specifically, here is
what is happening:
* Running "dbora start" or "dbora stop" manually always works.
* Neither "dbora start" or "dbora stop" work when booting or
switching runlevels, although the message STARTING DBORA does
scroll past the console.
I have several people look at this here and no one can figure
out why this isn't working. Can you assist?
nullrajeev (guest) wrote:
: I encounter the following problem after making all the kernel,
: unix, user and group modifications/creations and installing
jre
: and linking it;installing the enlightenment update
: $ ./runInstaller
: Initializing Java Virtual Machine from /usr/local/jre/bin/jre.
: Please wait...
: /usr/local/jre/bin/../bin/checkVersions: /tmp/ldd.out.3722:
: Permission denied
: SIGSEGV 11* segmentation violation
: stackbase=(nil), stackpointer=(nil)
: Full thread dump:
: NULL (TID:0x406a20b0, sys_thread_t:0x81a53a0, state:R)
prio=5
: Any solutions.
I had the same problem. Try the following:
Use jre_1.1.6-v5-glibc-x86.tar.gz instead of jre_1.1.6-v5-libc5-
x86.tar.gz
and load the following RPM's
compat-binutils-5.2-2.9.1.0.23.1
compat-egcs-c++5.2-1.0.3a.1
compat-egcs-g77-5.2-1.0.3a.1
compat-egcs-objc-5.2-1.0.3a.1
compat-glibc-5.2-2.0.7.1
compat-libs-5.2-1
of which all are on the Redhat 6.0 cd.
This solved my problem!
Good luck
null -
Kindly suggest oracle automation testing tools supporting oracle 10g forms
Hi,
We would like to automate oracle 10g forms in our company. kindly suggest oracle automation tools supporting oracle 10g forms other than OATS.
If only OATS tool is available in Oracle, please suggest user guide for OATS.
Regards,
SairamHi Sairam,
You can find OATS docs in OATS installation package itself. You can find separate pdf files for each OATS product(OpenScript Programmer Preference, OFT, OLT, OTM, Administrator etc).
Regards,
Deepu M -
Hi
I am trying out the OAST[Oracle Automated Stress/System Testing].
I could found out one user guide .Apart no other information.
Where can I find the installable file for OAST. Its not mentioned in the user guide as wel.
Is it same as OATS?
Support team aked me to check out in CMS portal, but that didn't help.
I heared its part of Oracle Certification Environment kit . Where can I get the installation files for it?
What exactly Ineed to install for it...am kind of lost!!!!!!
Anybody has any idea, please help me .
Thanks
Anirban
email:[email protected]Never heard about OAST in 4 years and half at Oracle...
Guess this is exactly OATS (aka ATS). SO go ahead with OATS dl and installation.
JB -
Automating oracle applications startup and shutdown
can some one share as to how we can start and stop oracle application automatically in linux
Check the following thread:
Automating shutdown and startup procedure in oracle apps
Re: Automating shutdown and startup procedure in oracle apps -
ORACLE 9i startup problems. Try to open dbf file which doesn't exist
Hi all,
I'm trying to startup one oracle instance from sqlplus.
I can mount the database but i can't open it because try to open one dbf file incorrect.
Anyone know where i can indicate wich files should use? Perhps it's in the init.ora file?
RegardsI am not sure which method rdomene used but I would think he probably used the alter database backup control file to trace command (since he could mount the db)to create a text version that he could look at.
I have head about people who did not know Oracle provided a means of dumping a text version of the control file to trace who used UNIX strings or a binary editor to see the contents.
It is unfortunat that the text version, which can be used to reconstruct the control file, does not preserve the rman data.
HTH -- Mark D Powell -- -
Hi Guys,
I just installed oracle 9i on windows Xp. i have one
question as we all know that oracle 9i not supporting internal
user and svrmgrl utility.How i can start database using dos
command.i don't want to start database useing windows service.i
also know that we can use sqlpuse but i am not sure that if
database is down or not open how m i going to connect as sys
user and start database ? i am relatively new with 9i database
so can any one replay me?
ThanksHi:
I hope this will help:
1) go to DOS (Root directory)
2) c:> sqlplus
3) enter user name: (ex: system)
4) enter password: (ex: manager)
4) c:> connect system/manager as sysdba
5) c:> shutdown (will shutdown defualt database)
6) c:> STARTUP PFILE=c:\ora90\admin\orcl\pfile\init.ora
To start any database, you must find the init.ora for that database. Exmaple above:
init.ora for database called "orcl" is in directory c:>\ora90\admin\orcl\pfile\init.ora
Have a good one
Bahram -
Hello,
I have the following problem If I tried to start the oracle xe database I got the following error message.
SQL> startup
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
Any ideas?
thxHi,
I found something out.
I installed the rpm package.
I use gentoo for oracle after the install I tried /etc/init.d/oracle-xe configure to create
the database and the listener.
But the script didn`t create the database or the database files.
After this I tried manually to create the database with the following script:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/createdatabase.sh
The database created and then I tried the following script with error messages: XE.sh.
ORA-01081: ORACLE lauft noch. Erst stoppen.
TO_CHAR(SYSTIMESTAMP,'YYYYMMDDHH:MI:SS')
20060621 07:50:12
Allocating device....
Specifying datafiles...
Specifing datafiles...
Restoring ...
declare
FEHLER in Zeile 1:
ORA-19624: Vorgang nicht erfolgreich, Neuversuch moglich
ORA-19870: Fehler beim Lesen von Backup Piece
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/seeddb/xeseed.dfb
ORA-19505: Fehler beim Identifizieren von Datei
"/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/seeddb/xeseed.dfb"
ORA-27037: Dateistatus nicht abrufbar
Linux Error: 2: No such file or directory
Additional information: 3
ORA-06512: in "SYS.X$DBMS_BACKUP_RESTORE", Zeile 5149
ORA-06512: in Zeile 16
TO_CHAR(SYSTIMESTAMP,'YYYYMMDDHH:MI:SS')
20060621 07:50:12
Create controlfile reuse set database "XE"
FEHLER in Zeile 1:
ORA-01503: CREATE CONTROLFILE nicht erfolgreich
ORA-01565: Fehler bei der Identifizierung von Datei
'/usr/lib/oracle/xe/oradata/XE/undo.dbf'
ORA-27037: Dateistatus nicht abrufbar
Linux Error: 2: No such file or directory
Additional information: 3
BEGIN dbms_backup_restore.zerodbid(0); END;
FEHLER in Zeile 1:
ORA-00210: Angegebene Kontrolldatei kann nicht geoffnet werden
ORA-06512: in "SYS.X$DBMS_BACKUP_RESTORE", Zeile 4168
ORA-06512: in Zeile 1
ORA-01507: Datenbank nicht mit Mount angeschlossen
ORACLE-Instance heruntergefahren.
ORACLE-Instance hochgefahren.
Total System Global Area 247463936 bytes
Fixed Size 1258244 bytes
Variable Size 79695100 bytes
Database Buffers 163577856 bytes
Redo Buffers 2932736 bytes
Create controlfile reuse set database "XE"
FEHLER in Zeile 1:
ORA-01503: CREATE CONTROLFILE nicht erfolgreich
ORA-01565: Fehler bei der Identifizierung von Datei
'/usr/lib/oracle/xe/oradata/XE/undo.dbf'
ORA-27037: Dateistatus nicht abrufbar
Linux Error: 2: No such file or directory
Additional information: 3
System wurde geändert.
alter database "XE" open resetlogs
FEHLER in Zeile 1:
ORA-01507: Datenbank nicht mit Mount angeschlossen
alter database rename global_name to "XE"
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter system switch logfile
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter system checkpoint
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter database drop logfile group 3
FEHLER in Zeile 1:
ORA-01507: Datenbank nicht mit Mount angeschlossen
ALTER TABLESPACE TEMP ADD TEMPFILE '/usr/lib/oracle/xe/oradata/XE/temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
select tablespace_name from dba_tablespaces where tablespace_name='USERS'
FEHLER in Zeile 1:
ORA-01219: Datenbank nicht geoffnet: Abfragen sind nur auf feste Tabellen/Views
erlaubt
SID
PROGRAM
SERIAL#
USERNAME
49
oracle@new_intranet (PMON)
1
SID
PROGRAM
SERIAL#
USERNAME
41
oracle@new_intranet (MMON)
3
SID
PROGRAM
SERIAL#
USERNAME
42
oracle@new_intranet (RECO)
1
SID
PROGRAM
SERIAL#
USERNAME
40
oracle@new_intranet (MMNL)
3
SID
PROGRAM
SERIAL#
USERNAME
44
oracle@new_intranet (CKPT)
1
SID
PROGRAM
SERIAL#
USERNAME
48
oracle@new_intranet (PSP0)
1
SID
PROGRAM
SERIAL#
USERNAME
45
oracle@new_intranet (LGWR)
1
SID
PROGRAM
SERIAL#
USERNAME
46
oracle@new_intranet (DBW0)
1
SID
PROGRAM
SERIAL#
USERNAME
47
oracle@new_intranet (MMAN)
1
SID
PROGRAM
SERIAL#
USERNAME
43
oracle@new_intranet (SMON)
1
SID
PROGRAM
SERIAL#
USERNAME
39
sqlplus@new_intranet (TNS V1-V3)
1
SYS
11 Zeilen ausgewählt.
alter user sys identified by "oracle"
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user system identified by "oracle"
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
System wurde geändert.
CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libqsmashr.so';
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
create or replace directory DATA_PUMP_DIR as '/usr/lib/oracle/xe/app/oracle/admin/XE/dpdump/'
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
commit
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
FEHLER in Zeile 1:
ORA-06550: Zeile 1, Spalte 7:
PLS-00201: Bezeichner 'DBMS_SWRF_INTERNAL.CLEANUP_DATABASE' muss deklariert
werden
ORA-06550: Zeile 1, Spalte 7:
PL/SQL: Statement ignored
commit
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
dbms_xdb.sethttpport('8080');
FEHLER in Zeile 2:
ORA-06550: Zeile 2, Spalte 4:
PLS-00201: Bezeichner 'DBMS_XDB.SETHTTPPORT' muss deklariert werden
ORA-06550: Zeile 2, Spalte 4:
PL/SQL: Statement ignored
ORA-06550: Zeile 3, Spalte 4:
PLS-00201: Bezeichner 'DBMS_XDB.SETFTPPORT' muss deklariert werden
ORA-06550: Zeile 3, Spalte 4:
PL/SQL: Statement ignored
Datei erstellt.
ORA-01507: Datenbank nicht mit Mount angeschlossen
ORACLE-Instance heruntergefahren.
ORACLE-Instance hochgefahren.
Total System Global Area 247463936 bytes
Fixed Size 1258244 bytes
Variable Size 79695100 bytes
Database Buffers 163577856 bytes
Redo Buffers 2932736 bytes
Datenbank mit MOUNT angeschlossen.
ORA-01221: Datendatei 1 stimmt fur Hintergrundprozesse nicht uberein
'UTL_RECOMP_BEGIN:'||TO_CHAR(SYSDATE,'HH:MI:SS')
utl_recomp_begin: 07:50:23
BEGIN utl_recomp.recomp_serial(); END;
FEHLER in Zeile 1:
ORA-06550: Zeile 1, Spalte 7:
PLS-00201: Bezeichner 'UTL_RECOMP.RECOMP_SERIAL' muss deklariert werden
ORA-06550: Zeile 1, Spalte 7:
PL/SQL: Statement ignored
'UTL_RECOMP_END:'||TO_CHAR(SYSDATE,'HH:MI:SS')
utl_recomp_end: 07:50:23
alter user hr password expire account lock
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user ctxsys password expire account lock
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user outln password expire account lock
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user mdsys password expire
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user flows_020100 password expire
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
alter user flows_files password expire
FEHLER in Zeile 1:
ORA-01109: Datenbank nicht geoffnet
ANy ideas? -
hi all
i installed oracle 8i database on windows .but at startup it gives the error
SQL> startup;
ORA-04031: unable to allocate 76043176 bytes of shared memory
any help plzafter installation this is the first time to startup database
operating system is windows xp and oracle 8 database
the $oracle_home\database\initdb.ora contain the path IFILE='D:\oracle8\admin\db\pfile\init.ora'
content of D:\oracle8\ADMIN\db\pfile\init.ora file are
db_name = db
instance_name = db
service_names = db
db_files = 1024 # INITIAL
control_files = ("D:\oracle8\oradata\db\control01.ctl", "D:\oracle8\oradata\db\control02.ctl")
db_file_multiblock_read_count = 8 # INITIAL
db_files = 1024 # INITIAL
control_files = ("D:\oracle8\oradata\db\control01.ctl", "D:\oracle8\oradata\db\control02.ctl")
db_file_multiblock_read_count = 8 # INITIAL
db_block_buffers = 559141 # INITIAL
shared_pool_size = 262144000
java_pool_size = 20971520
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 59 # INITIAL
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # INITIAL
global_names = true
oracle_trace_collection_name = ""
background_dump_dest = D:\oracle8\admin\db\bdump
user_dump_dest = D:\oracle8\admin\db\udump
db_block_size = 2048
remote_login_passwordfile = exclusive
os_authent_prefix = ""
job_queue_processes = 2
job_queue_interval = 10
open_links = 4
distributed_transactions = 500
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_servers = 1
compatible = 8.1.0
java_pool_size = 20971520
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 59 # INITIAL
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # INITIAL
max_dump_file_size = 10240 # limit trace file size to 5M each
global_names = true
oracle_trace_collection_name = ""
background_dump_dest = D:\oracle8\admin\db\bdump
user_dump_dest = D:\oracle8\admin\db\udump
db_block_size = 2048
remote_login_passwordfile = exclusive
os_authent_prefix = ""
job_queue_processes = 2
job_queue_interval = 10
open_links = 4
distributed_transactions = 500
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_servers = 1
compatible = 8.1.0 -
Automating startup of 9iAS services on Unix
Hello,
could you please guide me through the recommended procedure for
enabling automatic startup of 9iAS services when my server
starts.
I know that /etc/oratab should be modified, what else need to be
done.
NB. I am running 9iAS on HP-UX (64-bits)
thanks in advance for your replies
Kind regards
Yogeerajhi folks,
i know that this may be a trivial issue for some of you. Please
spare some time to send me some guidelines.
should i do it the same way as Oracle? or is there another way?
kind regards
yogeeraj -
Hi,
I have Oracle 10g installed on Windows 2000 SP4. Oracle automatically starts up... is there any way to change this so that I can manually startup Oracle every time?
Thanks
MarkIn Configuration Panel\Administration Tools\Services windows, Configure the service OracleService<SID> as manually.
Nicolas. -
Oracle automatic startup at boot time
Hello all,
I need one help.I need oracle db server automatic startup at boot time in solaris 10 environment.
I need to know also location of ORATAB .
Thanks in advance.Oh no, it is not very urgent.
In a forum of volunteers there is no such thing as 'very urgent', and using 'very urgent' is considered insulting and rude.
It is even more insulting as you expect to do me what you refuse to do: consult the documentation.
As you failed to mention a version I can't even look up the documentation, nor will I do that: I'm not going to stand in voluntarily to do for either people for free what they get paid for: their work
Sybrand Bakker
Senior Oracle DBA -
Oracle Automatic Startup & Shutdown
My automatic Database startup/Shutdown script won't work while system reboot. I have Oracle 8.1.7/Sun solaris. When I ran the script by hand it works fine both for startup and shutdown but not while system reboot. I am putting the script in the proper run levels rc0.d and rc3.d.
even /etc/rc0.d/K01oracle and /etc/rc3.d/S90oracle is working fine.
Could someone please tell me what am i missing.
Appreciate your help
-JayHi,
Have you settled your issue? I would think the problem was caused by the environment under which the script was run. Normally the rc scripts are run as root and the PATH will not be set to run Oracle executables. So inside the script if you run the startup script as the user who has execute permission to the Oracle executables and whose path is SET in .profile then it should work. -
OPEN VMS 시스템에서의 ORACLE AUTO STARTUP
제품 : ORACLE SERVER
작성날짜 : 1995-11-07
* OpenVMS 의 SYSTEM Account는 DBA 관련 작업을 할 수 없게 되어
있기 때문에 오라클의 Startup도 할 수 없다. 이 문제를 해결하기
위해서는 두가지 방법을 생각해 볼 수 있다.
[방법1] 시스템의 기동 시에 ORACLE7 에 의해서 작업이 수행되도록 설정한다.
1. 다음과 같은 내용을 갖는 프로시져(STARTUP_ORACLE7.COM)를 만든다.
$@ddcn:[oracle_root_directory.UTIL]ORAUSER.COM
$@ORA_RDBMS:INSORACLE.COM
$@ddcn :
[oracle_root_directory.DB_dbname]STARTUP_EXCLUSIVE_dbname.COM
여기서
ddcn: : 오라클이 인스톨된 디스크
oracle_root_directory : 오라클의 최상위 디렉토리
dbname : 오라클 데이타베이스 이름
만약 병렬 서버를 사용중이라면 프로시져 이름을
STARTUP_EXCLUSIVE_dbname.COM
에서 STARTUP_PARALLEL_dbname.COM 으로 바꾼다. 그리고 여러 개의 데이타
베이스를 Startup 시키려고 한다면 세번째 라인과 같은 항목을 각각의 데이타
베이스에 대해서 모두 기술해 주도록 한다.
2. 위에서 만든 프로시져를 ORACLE7 에 의해서 수행되도록 한다.
$SUBMIT/USER=ORACLE7 STARTUP_ORACLE7.COM
여기서 ORACLE7은 OpenVMS 의 ORACLE7 의 Account 이다. 필요한 내용이
있으면 SUBMIT 명령에 추가해도 된다. 예를 들어 ORACLE을 위의 프로시져로
Startup 시킬 때 에러가 발생하는 경우를 고려하여 배치 로그 화일을
저장하려고 한다면 /LOG/NOPRINT 스위치를 사용하면 된다.
[방법2] SET UIC 명령으로 ORACLE 을 Startup 시키기
1. 다음의 명령들을 시스템의 startup procedure 에 추가한다.
OpenVMS V5.x: SYS$STARTUP:SYSTARTUP_V5.COM
OpenVMS V6.x: SYS$STARTUP:SYSTARTUP_VMS.COM
$ SET UIC[ORACLE7]
$ SET RIGHTS_LIST/ENABLE ORA_DBA
$ @ddcn:[oracle_root_directory.UTIL]ORAUSER.COM
$ @ORA_RDBMS:INSORACLE.COM
$ @ddcn:[oracle_root_directory.DB_dbname]STARTUP_EXCLUSIVE_dbname.COM
$ SET UIC[SYSTEM]
여기서
ddcn: : 오라클이 인스톨된 디스크
oracle_root_directory : 오라클의 최상위 디렉토리
dbname : 오라클 데이타베이스 이름
ORACLE7 : OpenVMS ORACLE7 account
SYSTEM : OpenVMS SYSTEM account
만약 병렬 서버를 사용중이라면 프로시져 이름을 STARTUP_EXCLUSIVE_dbname.COM
에서 STARTUP_PARALLEL_dbname.COM 으로 바꾼다. 그리고 여러 개의 데이타
베이스를 Startup 시키려고 한다면 여섯번째 라인과 같은 항목을 각각의
데이타 베이스에 대해서 모두 기술해 주도록 한다.
SID 별로 ORA_<sid>_DBA 와 같은 ORACLE 권한 Identifier를 사용한다면
이와 같은 것들도 Enable 시켜야 한다. ORA_DBA 권한 Identifier 를
사용하지 않는다면 이것은 Enable 시키지 말도록 하고 만약 ORA_DBA 와
ORA_<sid>_DBA 를 모두 사용한다면 두가지 모두 Enable 시킨다.
2. OpenVMS SYSTEM Account 가 ORA_DBA and/or ORA_<sid>_DBA 권한 Identifier를 부여하였음을 확인하고 그렇지 않다면 다음과 같이 한다.
$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF>GRANT/IDENTIFIER ORA_DBA SYSTEM
and/or
UAF>GRANT/IDENTIFIER ORA_<sid>_DBA SYSTEM
UAF>EXITIf you follow the installation documentation it directs you to create dbora in /etc/init.d. This will start the listener and database.
I then alter the dbora file to run my script for the database instead.
It does a startup mount. At this point DG either opens it read-only or for automatic recovery.
If you are not using DG then you can manually open for read-only or recovery but not both at the same time.
Part of /etc/init.d/dbora...
start() {
echo -n $"Starting $prog: "
su - $ORA_OWNER -c "/u01/disks/data/scripts/dbmount"
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
su - $ORA_OWNER -c "$AGENT_HOME/bin/emctl start agent"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/dbora
return $RETVAL
/u01/disks/data/scripts/dbmount...
#! /bin/bash
export ORAENV_ASK=NO
export ORACLE_SID=????
. oraenv
sqlplus / as sysdba <<!
startup mount;
alter database recover managed standby database disconnect;
!I also have two scripts to change the databases to read-only or recovery...
#! /bin/bash
export ORAENV_ASK=NO
export ORACLE_SID=????
. oraenv
dgmgrl / "edit database 'dr' set state='read-only'"
#! /bin/bash
# Start DR database in standby mode
export ORAENV_ASK=NO
export ORACLE_SID=????
. oraenv
dgmgrl / "edit database 'dr' set state='ONLINE'"I have these two scripts run at set times via cron. -
Oracle 8i startup password.
After i finish installed oracle 8i personal edition, when i start SQL++, it prompt startup password. may i know the startup password?? thank you.
Hi,
Normally this combination should work.
Anyway, try this out.
In the command prompt,
set ORACLE_SID=<sid name>
start server manager/svrmgrl
connect internal.
At this juncture , if you are getting errors, exit the svrmgr application.
try to reset the password for internal with a new password file. (Backup the old one).
Tr connecting.
Regards
Lakshmanan, K
Maybe you are looking for
-
Input ready query is not showing loaded data in the cube
Dear Experts, In Input ready query we have problem that it is not showing the values which was not entered by throught hat query. Is any settings in input ready query that we can do to populate the loaded data on the cube as well as data entered thro
-
Authorisation Active Directory Win2003 users in Solaris 10
Now I am having the task to configure kereberos authentication and ldap authorisation users of Win2003 Active Directory in Solaris 10. Kerberos authentication configured by native pam_krb5 according paper http://www.microsoft.com/technet/itsolutions/
-
Changing File Media Type To Podcast
Hi, I am having issues with a podcast that I have to manually download. In the past, I would download the file and add it to iTunes. This would then have it show-up under the media library. I would then go and change the media type to podcast; thi
-
Youtube Embeds displaying on every tabbed panel
So I am having a problem with spry tabbed panels. Everything seems to be going fine, except that every youtube video that is embeded shows on every page ( or almost every page) even though they are only contained with certain tabbedPanelContentGroups
-
How to review all questions in a question pool ?
Captivate v4 I have created projects each with a question pool of approx 15 questions from which 5 random questions with answers shuffled will be drawn at the end of the project. I find that creating questions in v4 is very hit and miss and the forma