Require database start shut script
Dear Gurus
I need a script of automatic startup and shutdown of database on ibm - aix
rgds
#!/bin/bash
#Oracle Start/Stop the Oracle Enterprise Manager Database11g.
#Start Sequence:
#1. Start Listeners <= Start all the listeners
#2. Start database <= start the database
#3. Start EM <= This will start EM.
#Stoping Grid Control 11g.
#Stop Sequence:
#1. Stop EM
#2. Stop database
#3. Stop Listeners
export ORA_OWNER=oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
# Source function library.
. /etc/init.d/functions
RETVAL=0
# See how we were called.
start() {
echo -n "Starting Enterprise Manager Database 11g:"
# Starting of Database Listener
su - $ORA_OWNER -c "$ORACLE_HOME/bin/lsnrctl start"
# Starting Database
su - $ORA_OWNER -c "$ORACLE_HOME/bin/dbstart"
# Starting EM (Start EM)
su - $ORA_OWNER -c "$ORACLE_HOME/bin/emctl start dbconsole"
return $RETVAL
stop() {
echo -n "Stopping Oracle Enterprise Manager Database 11g"
# Stoping OMS (Stop Webtier and OMS)
su - $ORA_OWNER -c "$ORACLE_HOME/bin/emctl stop dbconsole"
#Stoping Database
su - $ORA_OWNER -c "$ORACLE_HOME/bin/dbshut"
#Stoping of Database Listener
su - $ORA_OWNER -c "$ORACLE_HOME/bin/lsnrctl stop listener"
return $RETVAL
restart() {
stop
start
case "$1" in
start)
start
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
RETVAL=1
esac
exit $RETVAL
above is the script which is doing the database start stop.
i also want to stop start the middleware(weblogic)
and
frontend forms and report
please do share if someone knows as its going away from database.
thanks in advance
Similar Messages
-
Database Startup & Shutting down error
Hi all,
I am having a problem with Oracle 9i R2 Database. While I am trying to log on to database getting following error message :
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Then, I log on to database as sysdba and shutdown the database & try to startup database. While put startup command I got the following :
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1: 'E:\ORACLE\ORADATA\PHARMA\REDO03.LOG'
Please help me what should I do...
Thanks
Niloy784091 wrote:
Hi,
Actually I do nothing. At morning I start my PC & try to logon to database. I got database starting & shutting down error. Then I shutdown the database & try to startup & got the following error :
SQL> startup
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1: 'E:\ORACLE\ORADATA\PHARMA\REDO03.LOG'
Now, wht can I do, please help.
Thanks
NiloyCould you investigate the alert.log file and find out what exactly happend before the error message appears?
Have you multiplexed the redo log file? -
Find Database name through scripts
Hi ALL,
I have a solaris box with 10 Database are running on that.
i am wrirting some scripts on that box to do some activity. So From OS level i am fetching the database name like this.
Ps -ef | grep smon
Now i want to startup all my 10 database to single script.( now database is down).
So in this level how can i fetch the database name in OS level.
Kindly give some ideas....
MAny Thanks
Senthil KumarSenthil,
The Oracle provided script dbstart starts all databases in /var/opt/oracle/oratab.
Likewise the Oracle provided script dbshut shuts down all databases mentioned in this file.
Please don't reinvent the wheel.
Sybrand Bakker
Senior Oracle DBA -
Database Started In Restricted Mode...
Dear Exports,
We are using Oracle 10gR2 on Windows server 2008. My database size is approximately 2tb. Now we are going to setup Dataguard for our primary. We started the database with the changer parameters for dataguard and create spfile from pfile. And started the database with Spfile. But after some time i noticed that the database started automatically in Restricted mode. As in our database Previously dataguard was configured, due to the some problem that setup is not working and the logs are not applied in Standby server. I thought may be for this reason database going to restricted mode automatically so i set the log_archive_dest_state_2='DEFFER' and Now I scanned the whore alert.log file and found the same situation of restricted is happening from Jan 2010. Please Suggest some solution how i can over come the problem.
The alertlog when i started the database recently...
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Fri Apr 12 19:12:39 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
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.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=14328
PSP0 started with pid=3, OS id=15420
MMAN started with pid=4, OS id=9092
DBW0 started with pid=5, OS id=12360
DBW1 started with pid=6, OS id=18112
LGWR started with pid=7, OS id=18360
CKPT started with pid=8, OS id=18448
SMON started with pid=9, OS id=17160
RECO started with pid=10, OS id=18512
CJQ0 started with pid=11, OS id=19324
MMON started with pid=12, OS id=14380
Fri Apr 12 19:12:40 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=2996
Fri Apr 12 19:12:40 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:12:41 2013
ALTER DATABASE MOUNT
Fri Apr 12 19:12:45 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:12:45 2013
Successful mount of redo thread 1, with mount id 1340307369
Fri Apr 12 19:12:45 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=5524
Fri Apr 12 19:12:45 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Apr 12 19:12:46 2013
ALTER DATABASE OPEN
Fri Apr 12 19:12:46 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=18, OS id=11964
ARC1 started with pid=19, OS id=13472
ARC2 started with pid=20, OS id=17960
ARC3 started with pid=21, OS id=18548
ARC4 started with pid=22, OS id=15660
ARC5 started with pid=23, OS id=15548
ARC6 started with pid=24, OS id=14720
ARC7 started with pid=25, OS id=15780
ARC8 started with pid=26, OS id=17992
ARC9 started with pid=27, OS id=17988
ARCa started with pid=28, OS id=19436
ARCb started with pid=29, OS id=16104
ARCc started with pid=30, OS id=6656
ARCd started with pid=31, OS id=6900
ARCe started with pid=32, OS id=10568
ARCf started with pid=33, OS id=16992
ARCg started with pid=34, OS id=14372
ARCh started with pid=35, OS id=18084
ARCi started with pid=36, OS id=5788
ARCj started with pid=37, OS id=4940
ARCk started with pid=38, OS id=18816
ARCl started with pid=39, OS id=14588
ARCm started with pid=40, OS id=16820
ARCn started with pid=41, OS id=8068
ARCo started with pid=42, OS id=18736
ARCp started with pid=43, OS id=8316
ARCq started with pid=44, OS id=5952
ARCr started with pid=45, OS id=16304
ARCs started with pid=46, OS id=14884
Fri Apr 12 19:12:46 2013
ARC0: Archival started
ARCt started with pid=47, OS id=19408
Fri Apr 12 19:12:46 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 117446
Current log# 10 seq# 117446 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117446 mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no FAL' ARCH
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no SRL' ARCH
Fri Apr 12 19:12:46 2013
ARC8: Becoming the heartbeat ARCH
Fri Apr 12 19:12:47 2013
Successful open of redo thread 1
Fri Apr 12 19:12:47 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:12:47 2013
SMON: enabling cache recovery
Fri Apr 12 19:12:48 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:12:48 2013
SMON: enabling tx recovery
Fri Apr 12 19:12:48 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=48, OS id=10048
Fri Apr 12 19:12:51 2013
Completed: ALTER DATABASE OPEN
Fri Apr 12 19:12:51 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_14380.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log
Fri Apr 12 19:13:26 2013
ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows NT Version V6.0 Service Pack 1
CPU : 16 - type 8664, 16 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:55999M/65533M, Ph+PgF:183151M/193356M
Fri Apr 12 19:13:26 2013
Starting ORACLE instance (restrict)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
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.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=18668
PSP0 started with pid=3, OS id=17668
MMAN started with pid=4, OS id=16896
DBW0 started with pid=5, OS id=18204
DBW1 started with pid=6, OS id=16976
LGWR started with pid=7, OS id=14552
CKPT started with pid=8, OS id=4480
SMON started with pid=9, OS id=10236
RECO started with pid=10, OS id=11832
CJQ0 started with pid=11, OS id=18844
MMON started with pid=12, OS id=15320
Fri Apr 12 19:13:27 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=14944
Fri Apr 12 19:13:27 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:13:27 2013
alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:13:31 2013
Successful mount of redo thread 1, with mount id 1340305111
Fri Apr 12 19:13:31 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=12880
Fri Apr 12 19:13:31 2013
Database mounted in Exclusive Mode
Completed: alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
alter database open
Fri Apr 12 19:13:31 2013
Beginning crash recovery of 1 threads
parallel recovery started with 15 processes
Fri Apr 12 19:13:31 2013
Started redo scan
Fri Apr 12 19:13:31 2013
Completed redo scan
735 redo blocks read, 211 data blocks need recovery
Fri Apr 12 19:13:31 2013
Started redo application at
Thread 1: logseq 117446, block 97761
Fri Apr 12 19:13:31 2013
Recovery of Online Redo Log: Thread 1 Group 10 Seq 117446 Reading mem 0
Mem# 0: G:\ORADATA\REDO10A.LOG
Mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:13:31 2013
Completed redo application
Fri Apr 12 19:13:32 2013
Completed crash recovery at
Thread 1: logseq 117446, block 98496, scn 7310601900
211 data blocks read, 211 data blocks written, 735 redo blocks read
Fri Apr 12 19:13:33 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=33, OS id=18508
ARC1 started with pid=34, OS id=14692
ARC2 started with pid=35, OS id=17728
ARC3 started with pid=36, OS id=12476
ARC4 started with pid=37, OS id=19228
ARC5 started with pid=38, OS id=11552
ARC6 started with pid=39, OS id=7576
ARC7 started with pid=40, OS id=6244
ARC8 started with pid=41, OS id=18468
ARC9 started with pid=42, OS id=18492
ARCa started with pid=43, OS id=10352
ARCb started with pid=44, OS id=15516
ARCc started with pid=45, OS id=18216
ARCd started with pid=46, OS id=5660
ARCe started with pid=47, OS id=18756
ARCf started with pid=48, OS id=17828
ARCg started with pid=49, OS id=8696
ARCh started with pid=50, OS id=17736
ARCi started with pid=51, OS id=16736
ARCj started with pid=52, OS id=13208
ARCk started with pid=53, OS id=12012
ARCl started with pid=54, OS id=19180
ARCm started with pid=55, OS id=16632
ARCn started with pid=56, OS id=17588
ARCo started with pid=57, OS id=11948
ARCp started with pid=58, OS id=18416
ARCq started with pid=59, OS id=17888
ARCr started with pid=60, OS id=2144
ARCs started with pid=61, OS id=14392
Fri Apr 12 19:13:33 2013
ARC0: Archival started
ARCt started with pid=62, OS id=19264
Fri Apr 12 19:13:33 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Fri Apr 12 19:13:33 2013
Thread 1 advanced to log sequence 117447 (thread open)
Thread 1 opened at log sequence 117447
Current log# 8 seq# 117447 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117447 mem# 1: H:\ORADATA\REDO08B.LOG
Successful open of redo thread 1
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no FAL' ARCH
Fri Apr 12 19:13:33 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no SRL' ARCH
Fri Apr 12 19:13:33 2013
ARCr: Becoming the heartbeat ARCH
Fri Apr 12 19:13:33 2013
SMON: enabling cache recovery
Fri Apr 12 19:13:33 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:13:33 2013
SMON: enabling tx recovery
Fri Apr 12 19:13:33 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=63, OS id=14896
Fri Apr 12 19:13:34 2013
Completed: alter database open
Fri Apr 12 19:13:34 2013
ALTER SYSTEM disable restricted session;
Fri Apr 12 19:13:35 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_15320.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:13:35 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Fri Apr 12 19:13:36 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
FAL[server, ARC0]: Error 12514 creating remote archivelog file 'stdby'
FAL[server, ARC0]: FAL archive failed, see trace file.
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Fri Apr 12 19:19:33 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:19:33 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 19:22:52 2013
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:09:34 2013
Error 12514 received logging on to the standby
Fri Apr 12 20:09:34 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:13:50 2013
Sat Apr 13 01:54:52 2013
Error 12514 received logging on to the standby
Sat Apr 13 01:54:52 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:35:12 2013
Error 12514 received logging on to the standby
Sat Apr 13 12:35:12 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:37:01 2013
ALTER SYSTEM SET log_archive_dest_state_2='DEFER' SCOPE=MEMORY;
Sat Apr 13 12:38:23 2013
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
Sat Apr 13 12:38:41 2013
ALTER SYSTEM SET db_recovery_file_dest_size='5G' SCOPE=MEMORY;
Sat Apr 13 12:38:41 2013
db_recovery_file_dest_size of 5120 MB is 39.82% 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.
Sat Apr 13 15:42:21 2013
ORA-01555 caused by SQL statement below (SQL ID: 2zb70pwz9p06q, Query Duration=1365847941 sec, SCN: 0x0001.b3c0f735):
Sat Apr 13 15:42:21 2013
SELECT * FROM RELATIONAL("ORISSA_TRANSACTION"."SELLER_BIOMETRICS_TBL")
Sat Apr 13 15:48:37 2013
Thread 1 advanced to log sequence 117452 (LGWR switch)
Current log# 10 seq# 117452 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117452 mem# 1: H:\ORADATA\REDO10B.LOG
Sat Apr 13 20:31:00 2013
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=31, OS id=16196
to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION', 'KUPC$C_1_20130413203100', 'KUPC$S_1_20130413203100', 0);
kupprdp: worker process DW01 started with worker id=1, pid=66, OS id=16200
to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION');
Sun Apr 14 00:00:11 2013
Thread 1 advanced to log sequence 117453 (LGWR switch)
Current log# 8 seq# 117453 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117453 mem# 1: H:\ORADATA\REDO08B.LOG
Sun Apr 14 00:00:52 2013
Thread 1 advanced to log sequence 117454 (LGWR switch)
Current log# 9 seq# 117454 mem# 0: G:\ORADATA\REDO09A.LOG
Current log# 9 seq# 117454 mem# 1: H:\ORADATA\REDO09B.LOGlike you show in the alert.log:
PROBLEM
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
SOLUTION
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************choose one and try again. Post if you have more issues. -
Problem with auto start-stop script
Hi to All,
Logged as root. I have create in /etc/rc.d/init.d this file and saved as dbora (Oracle Linux 5.4):
+#!/bin/sh+
+# chkconfig: 345 99 10+
+# description: Oracle auto start-stop script.+
+#+
+# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
+# from which you wish to execute dbstart and dbshut;+
+#+
+# Set ORA_OWNER to the user id of the owner of the+
+# Oracle database in ORA_HOME.+
ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
ORA_OWNER=oracle
+if [ ! -f $ORA_HOME/bin/dbstart ]+
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
+'start')+
+# Start the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
touch /var/lock/subsys/dbora
+;;+
+'stop')+
+# Stop the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
rm -f /var/lock/subsys/dbora
+;;+
esac
After creation I have execute:
*#chmod 750 /etc/rc.d/init.d/dbora*
*#chkconfig --add /etc/rc.d/init.d/dbora*
The last command return this message:
+"service dbora does not support chkconfig"+.
Can You help me? Have You an idea ?
Thank You and best regards
Gaetanosb92075 wrote:
Oracle RDBMS needs to be started by process running at OS level as owner of Oracle software; typically OS user "oracle" & not as ROOT!Ok,
But I have founded this script at [http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php].
The article report:
Article
When using RAC or ASM under Oracle 10g Release 2 or above, the Oracle Clusterware automatically starts and stops the Oracle database instances, so the following procedures are not necessary. For all other cases, you can use the methods described below.I must suppose, that the author has written an incorrect article?
Best Regards
Gaetano -
Sql developer database diff - generate script not working
Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
ORA-06512: at "SYS.DBMS_METADATA", line 4757
ORA-06512: at line 1
and
Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
Any ideas to solve this issue? Thanks in advance, KellyCan reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
I noticed that 10gR2 allows something like:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
end;
Error report:
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
ORA-06512: at "SYS.DBMS_METADATA", line 3950
Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
Edited by: user5420304 on Jun 15, 2010 10:29 AM -
How to automate the Oracle database start and shutdown process
How we can automate and oracle database start and stop procees with Linux start/shutdown process.
I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.Hi,
I can share my scripts:
1) /home/oracle/start_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
lsnrctl start
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
startup
exit
ENDSQL
emctl start dbconsole
isqlplusctl start
NOTE: emctl and isqlplus are optional
2) /home/oracle/stop_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
isqlplusctl stop
emctl stop dbconsole
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
shutdown immediate
exit
ENDSQL
lsnrctl stop
NOTE: emctl and isqlplus are optional
Then what you need:
1) K91oracle_stop (put it in the desired run level)
#!/bin/bash
# description: Stop Oracle before reboots
su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
2) S91oracle_start (put it in the desired run level)
#!/bin/bash
# description: Start Oracle after reboots
su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
Bye. -
The database is at release 8.52. The PeopleTools being run require database
Created a DEMO system using PeopleTools 8.51 and HCM 9.0 . Connecting through Application Designer shows the message 'The database is at release 8.52. The PeopleTools being run require databases at release 8.51.
Do I need to run rel851.sql to change the level of database to 8.51 from 8.52 ???
Thanks,
Venu.Hi,
You have downloaded HCM Revision 5, which is deliverd with PeopleTools 8.52.03.
Oracle is delivering revision recuts of applications now a days, instead of one release per applications.
Whant to know more about revision recuts, see following
http://www.youtube.com/watch?v=1zE4aOobdr0
Running the rel script, will upgrade you PeopleTools, you cannot downgrade.
You will have to install PeopleTools 8.52.03.
Also see the readme on eDelivery on HCM 9.0
PeopleSoft Human Capital Management and Campus Solutions 9.0 – Revision 5: This part (number V30469-01) has replaced the PeopleSoft Enterprise Human Resources Management System (HRMS) and Campus Solutions 9.0 media (part number B34591-01), the PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0 - Revision 1 media (part number V20635-01) and the PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0: Feature Pack – March 2011 media (part number V24852-01). New installations of PeopleSoft Human Capital Management and Campus Solutions 9.0 should use this part. If you have already installed the original HRMS and Campus Solutions 9.0 (part number B34591-01) media, Revision 1 (part number V20635-01) media, or Feature Pack - March 2011 (part number V24852-01) media, you should install the Maintenance Packs or bundles available on My Oracle Support; you should not install this part. The PeopleSoft Human Capital Management and Campus Solutions 9.0 – Revision 5 media includes all maintenance posted through December 27, 2011 (up to PeopleSoft HCM and CS Maintenance Pack 13, PeopleSoft HRMS Bundle #18, PeopleSoft Campus Solutions Bundle #23, PeopleSoft Payroll Tax Update 11-F, and Global Payroll Update 2011-F). If you install this media, you do not need to separately install these maintenance packs or bundles. All installs of HCM and Campus Solutions 9.0 – Revision 5 require PeopleTools 8.52.03 or higher*. Please check the upgrade documentation for the PeopleTools requirements for your specific upgrade path. For additional information on PeopleSoft Feature Packs, please go to My Oracle Support.
Regards,
Hakan -
Hi to All,
I have create as root in /etc/init.d the file dbora:
+#!/bin/sh+
+# chkconfig: 345 99 10+
+# description: Oracle auto start-stop script.+
+#+
+# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
+# from which you wish to execute dbstart and dbshut;+
+#+
+# Set ORA_OWNER to the user id of the owner of the+
+# Oracle database in ORA_HOME.+
ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
ORA_OWNER=oracle
+if [ ! -f $ORA_HOME/bin/dbstart ]+
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
+'start')+
+# Start the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
touch /var/lock/subsys/dbora
+;;+
+'stop')+
+# Stop the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
rm -f /var/lock/subsys/dbora
+;;+
esac
After I have execute:
*#chmod 750 /etc/init.d/dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc4.d/S99dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora*
At last
*#chkconfig --add /etc/init.d/dbora*
This message is returned
dbora service don't support chkconfig.+
Have You an idea ?
Thank You and best regards
GaetanoSolved !
I have inserted a space before chkconfig and description in the script:
Incorrect Code:
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle auto start-stop script.
This is the correct code
#!/bin/sh
#chkconfig: 345 99 10
#description: Oracle auto start-stop script.Bye
Gaetano -
Why does my database server shut down frequently?
My DB Server just has one HardDisk and 1024MB ram,OS is W2K,RDBMS is Oracle 8i.But it is shutted automatically in often.It doesn't work unless you restart the service or restart the computer.My initORCL.ora file configed as following,could you point where the failure is ?
open_cursurs=600
db_buffer=32000
share_pool_size=256M
large_pool_size=100M
java_pool_size=50M
log_buffer=16M
db_block_size=8192
processes=500
Thanks a lot!Thanks.The following paragraph is in my alert.log,but I can not find the problem yet.And in my trace file ,there is no information for that day.
Sun Apr 06 05:15:53 2003
Thread 1 advanced to log sequence 282
Current log# 3 seq# 282 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO03.LOG
Mon Apr 07 05:15:29 2003
Thread 1 advanced to log sequence 283
Current log# 1 seq# 283 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO01.LOG
Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
Mon Apr 07 19:32:42 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 500
shared_pool_size = 134217728
large_pool_size = 1048576
java_pool_size = 20971520
control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
db_block_buffers = 32000
db_block_size = 8192
compatible = 8.1.0
log_buffer = 16777216
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 10
instance_name = mptdata
service_names = mptdata
mts_dispatchers = (protocol=TCP)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = mptdata
open_cursors = 600
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 60
parallel_max_servers = 2
background_dump_dest = D:\Oracle\admin\mptdata\bdump
user_dump_dest = D:\Oracle\admin\mptdata\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=4
DBW0 started with pid=7
LGWR started with pid=13
CKPT started with pid=19
SMON started with pid=24
RECO started with pid=30
SNP0 started with pid=6
SNP1 started with pid=14
SNP2 started with pid=20
SNP3 started with pid=23
Mon Apr 07 19:32:46 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Apr 07 19:32:47 2003
alter database mount exclusive
Mon Apr 07 19:32:55 2003
Successful mount of redo thread 1, with mount id 1041561895.
Mon Apr 07 19:32:55 2003
Database mounted in Exclusive Mode.
Completed: alter database mount exclusive
Mon Apr 07 19:32:55 2003
alter database open
Beginning crash recovery of 1 threads
Mon Apr 07 19:33:00 2003
Thread recovery: start rolling forward thread 1
Recovery of Online Redo Log: Thread 1 Group 1 Seq 283 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\ORADATA\MPTDATA\REDO01.LOG
Mon Apr 07 19:33:01 2003
Thread recovery: finish rolling forward thread 1
Thread recovery: 0 data blocks read, 0 data blocks written, 0 redo blocks read
Crash recovery completed successfully
Mon Apr 07 19:33:05 2003
Thread 1 advanced to log sequence 284
Thread 1 opened at log sequence 284
Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
Successful open of redo thread 1.
Mon Apr 07 19:33:07 2003
SMON: enabling cache recovery
SMON: enabling tx recovery
Mon Apr 07 19:33:13 2003
Completed: alter database open
Mon Apr 07 19:39:31 2003
Shutting down instance (immediate)
License high water mark = 37
Mon Apr 07 19:40:36 2003
alter database close normal
Mon Apr 07 19:40:36 2003
SMON: disabling tx recovery
SMON: disabling cache recovery
Mon Apr 07 19:40:40 2003
Thread 1 closed at log sequence 284
Mon Apr 07 19:40:40 2003
Completed: alter database close normal
Mon Apr 07 19:40:40 2003
alter database dismount
Completed: alter database dismount
archiving is disabled
Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
Mon Apr 07 19:41:42 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 500
shared_pool_size = 268435456
large_pool_size = 943718400
java_pool_size = 20971520
control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
db_block_buffers = 32000
db_block_size = 8192
compatible = 8.1.0
log_buffer = 16777216
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 10
instance_name = mptdata
service_names = mptdata
mts_dispatchers = (protocol=TCP)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = mptdata
open_cursors = 200
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 60
parallel_max_servers = 2
background_dump_dest = D:\Oracle\admin\mptdata\bdump
user_dump_dest = D:\Oracle\admin\mptdata\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=3
DBW0 started with pid=6
LGWR started with pid=11
CKPT started with pid=15
SMON started with pid=19
RECO started with pid=24
SNP0 started with pid=28
SNP1 started with pid=32
SNP2 started with pid=36
SNP3 started with pid=5
Mon Apr 07 19:41:46 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Apr 07 19:41:47 2003
alter database mount exclusive
Mon Apr 07 19:41:54 2003
Successful mount of redo thread 1, with mount id 1041535042.
Mon Apr 07 19:41:54 2003
Database mounted in Exclusive Mode.
Completed: alter database mount exclusive
Mon Apr 07 19:41:54 2003
alter database open
Mon Apr 07 19:41:57 2003
Thread 1 opened at log sequence 284
Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
Successful open of redo thread 1.
Mon Apr 07 19:41:57 2003
SMON: enabling cache recovery
SMON: enabling tx recovery
Mon Apr 07 19:42:01 2003
Completed: alter database open
Shutting down instance (immediate)
License high water mark = 52
Mon Apr 07 22:28:45 2003
alter database close normal
Mon Apr 07 22:28:45 2003
SMON: disabling tx recovery
SMON: disabling cache recovery
Mon Apr 07 22:28:49 2003
Thread 1 closed at log sequence 284
Mon Apr 07 22:28:50 2003
Completed: alter database close normal
Mon Apr 07 22:28:50 2003
alter database dismount
Completed: alter database dismount
archiving is disabled
Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
Mon Apr 07 22:29:24 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 500
shared_pool_size = 268435456
large_pool_size = 943718400
java_pool_size = 20971520
control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
db_block_buffers = 32000
db_block_size = 8192
compatible = 8.1.0
log_buffer = 16777216
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 10
instance_name = mptdata
service_names = mptdata
mts_dispatchers = (protocol=TCP)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = mptdata
open_cursors = 600
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 60
parallel_max_servers = 2
background_dump_dest = D:\Oracle\admin\mptdata\bdump
user_dump_dest = D:\Oracle\admin\mptdata\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=4
DBW0 started with pid=8
LGWR started with pid=14
CKPT started with pid=21
SMON started with pid=28
RECO started with pid=35
SNP0 started with pid=42
SNP1 started with pid=49
SNP2 started with pid=56
SNP3 started with pid=63
Mon Apr 07 22:29:28 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Apr 07 22:29:29 2003
alter database mount exclusive
Mon Apr 07 22:29:36 2003
Successful mount of redo thread 1, with mount id 1041548688.
Mon Apr 07 22:29:36 2003
Database mounted in Exclusive Mode.
Completed: alter database mount exclusive
Mon Apr 07 22:29:36 2003
alter database open
Mon Apr 07 22:29:38 2003
Thread 1 opened at log sequence 284
Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
Successful open of redo thread 1.
Mon Apr 07 22:29:39 2003
SMON: enabling cache recovery
SMON: enabling tx recovery
Mon Apr 07 22:29:42 2003
Completed: alter database open -
Start up script for EPM 11.1.2 in Unix or Windows...
Is there a sample start up script for starting required services in EPM 11.1.2 ?
I saw that the Program Files item for EPM, has a link to some start up script but
it starts everything and it seems to refer to many scripts and seem complicated.
Is there a simple script for EPM 11 ? In System 9, I used Net Start to start services in a batch file and
used Sleep command between commands to give enough time for the services. But it would be nice
if there is a script which automatically checks to make sure to start the next service only after a dependent service has started.
cheers
ZSimple examples for EPM11.1.2.1 on Windows env.
epmStart.bat
@ECHO OFF
ECHO EPM 11.1.2.1 STARTING / Batch EPM full start script by Antun Kulkov, 2011
ECHO See more at http://silw.blogspot.com
ECHO SQL Server Starting
sc start "MSSQLSERVER"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Oracle Process Manager (ohsInstance)
sc start "OracleProcessManager_ohsInstance1649849633"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (EPM_epmsystem1)
sc start "opmn_EPM_epmsystem1"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ConfigurationManager)
sc start "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Hyperion RMI Registry
sc start "Hyperion RMI Registry"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Hyperion Foundation Services - Managed Server
sc start HyS9FoundationServices
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Administration Services - Web Application
sc start HyS9eas
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Integration Services
sc start "Essbase Integration Server"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Provider Services - Web Application
sc start HyS9aps
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Studio Service BPMS
sc start "Hyperion Studio Service BPMS bpms1"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPM Architect - Process Manager
sc start EPMA_Server
waitfor NONEXISTINGSIGNAL /T 30
ECHO Hyperion EPMA Data Synchronizer - Web Application
sc start HyS9EPMADataSynchronizer
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Web Tier - Web Application
sc start HyS9EPMAWebTier
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion CALC Manager - Web Application
sc start HyS9CALC
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Planning - WebHyS9Planning Application
sc start HyS9Planning
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Web Analysis - Web Application
sc start HyS9WebAnalysis
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework
sc start HyS9RaFrameworkAgent
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Financial Reporting - Web Application
sc start HyS9FRReports
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework - Web Application
sc start HyS9RaFramework
waitfor NONEXISTINGSIGNAL /T 5
ECHO ALL DONE!
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle EPM System has been started.
epmStop.bat
@ECHO OFF
ECHO EPM 11.1.2.1 STOPPING / Batch EPM full stop script by Antun Kulkov, 2011
ECHO See more at http://silw.blogspot.com
ECHO Hyperion Web Analysis - Web Application
sc stop HyS9WebAnalysis
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework
sc stop HyS9RaFrameworkAgent
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Financial Reporting - Web Application
sc stop HyS9FRReports
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Reporting and Analysis Framework - Web Application
sc stop HyS9RaFramework
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Planning - WebHyS9Planning Application
sc stop HyS9Planning
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion CALC Manager - Web Application
sc stop HyS9CALC
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Web Tier - Web Application
sc stop HyS9EPMAWebTier
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPMA Data Synchronizer - Web Application
sc stop HyS9EPMADataSynchronizer
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion EPM Architect - Process Manager
sc stop EPMA_Server
waitfor NONEXISTINGSIGNAL /T 30
ECHO Hyperion Studio Service BPMS
sc stop "Hyperion Studio Service BPMS bpms1"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Provider Services - Web Application
sc stop HyS9aps
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Integration Services
sc stop "Essbase Integration Server"
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Administration Services - Web Application
sc stop HyS9eas
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion Foundation Services - Managed Server
sc stop HyS9FoundationServices
waitfor NONEXISTINGSIGNAL /T 5
ECHO Hyperion RMI Registry
sc stop "Hyperion RMI Registry"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ConfigurationManager)
sc stop "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (ohsInstance)
sc stop "OracleProcessManager_ohsInstance1649849633"
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle Process Manager (EPM_epmsystem1)
sc stop "opmn_EPM_epmsystem1"
waitfor NONEXISTINGSIGNAL /T 10
ECHO SQL Server Stopping
sc stop "MSSQLSERVER"
waitfor NONEXISTINGSIGNAL /T 5
ECHO ALL DONE!
waitfor NONEXISTINGSIGNAL /T 10
ECHO Oracle EPM System has been stopped. -
[SOLVED] Require authentication before my script executes
OK I got a little bash script where I type in how many minutes my computer will poweroff.
Normally, it can be ran with regular user even the code contains command "poweroff" which requires root privilegies so, when times up, instead of poweroff, I get message: "poweroff: must be superuser"
Now, I want it to be like, when I run it (./myscript) to require authentication before the script even start like, for example Gparted requires, so if an authentication passes, my scirpt can run and have permission to do whatever it's written in it (in this case, 'poweroff').
Thanks ^_^
Last edited by broi (2012-03-24 23:38:44)(From another thread)
foppe wrote:
# Check for admin rights. If user is not an admin user, exit the script
if [ $UID != 0 ]
then
echo "You need to be root to run this script! Exiting..."
exit
fi
This snippet checks if you've sudo-ed it (or ran as root). All subsequent commands can be coded without sudo. -
Adobe Application Manager, required to start your trial, is missing or damaged
I have just bought Adobe CC years membership, i have downloaded CC application manager, i have also downloaded InDesign.... when i click to open the application manager it says that the application manager required to start the trial is missing or damaged? one its not a trial and two how can i fix it? I had re installed creative cloud as that is the application manager but still no luck? any ideas guys ...... PLEASE HELP!!
did you download application manager from that link?
if yes, did you install application manager after downloading? -
Start up script fails; Unable to boot...Please, Help.
This is my first major problem that I have had with this computer. It has been running fine until this past Sunday night. I was running AOL, Firefox & iTunes. The computer was running slow and iTunes was skipping frequently. I rebooted and resumed my activities only to have the same problems and the computer booted slower than usual. I closed all my applications and rebooted once again. Then, I ran Disk Utility had used Verify Disk. It found an error on my system volume stating an incorrect block count in one sector and referenced a file cache_003, all other volumes passed. Disk Utility was unable to repair the volume. Repair Disk ran slow. I did a search for the file cache_003 and discovered that it was part of a Netscape profile back up on a different partition. I deleted the profile and used Disk Utility again. This time, the system volume passed and a different volume failed due to incorrect block size, Repair Disk failed. The next time I tried to boot the computer the gray screen with apple and loading indicator came up and stayed for several minutes followed by a blue screen with loading indicator for several minutes and stayed blue for nearly 40 minutes. Eventually, the screen went black and displayed that the start up script failed. Here is some of what was displayed.
Darwin/BSD(Computer Name-Computer.local)(console)
System Starter[35]
login date&time Internet Sharing[96]:Libinfo[Socket_open():2318]connect():2318]connect:()connection refused (This line repeated continuously)
I am able to input commands at this stage but I am not knowledgeable enough to know what to do.
When I push the power button to turn it off the computer beeps once and the led light flashes three times and turns off.
Each time when I attempt to boot either into Safe Mode or from the Software Install DVD I encounter the same problem.
Now, Monday night by chance on another boot attempt the computer started up although it took about 20-30 minutes. It was missing one volume which showed up in Disk Utility under a different name. While I had the computer up I backed up what I could on the volumes that mounted. One file I was unable to burn using Toast 9 due to a data fork error. The computer eventually froze during my activities and since I have had no luck at my start up attempts and have had the same problem. Luckily, I was able to back up everything I needed with the exception of what was on the AWOL volume.
The last thing I had installed recently was the latest Security Update which went fine and was two days before the trouble started.
I am at a loss for what to do next. I would like to retrieve the files on that one volume but at this point if I can start up I would just like to reformat and install the OS.
Any help with this problem would be much appreciated. Thank you.Well, originally when I ran Disk Utility, although it performed slower than usaual it found the error as previously mentioned and was unable to Repair Volume. As to using the Hardware Disc & Install Discs(original & Tiger) the computer failed to boot although you could hear the disc spinnning for awhile. In both and every instance regardless of any or no disc, the computer starts the boot process and you see the gray screen with white apple and loading indicator for about 3 minutes then it switches to the blue screen with loading indicator. After quite some time the loading indicator goes away and it's just a blue screen for nearly a half-hour followed by a black screen which starts the above prompt. I can post all of what that said later as I have written all of it down at home, a portion of it is in my original post. The start up chime doesn't sound at all. I do get a tone and flashing LED lights when I hold the power button down to turn it off after the above described boot process. There is not much I can do except try and try again. I may need to get a new hard drive but I would like to resolve it without doing so if possible. When trying to boot from both discs I was holding down the C key as directed and I have tried just letting the computer boot with disc in drive without any key interaction.
-
How do I start the script for Photoshop CS6 in Bridge CS6 image processor ?
I am new to Bridge and I am lookiing for a way to batch process images. I opened 'preferences' and did not find Photoshop CS6 under the script list. How do I open and run the image processor? Thanks for any help!!
I have clicked on 'tools' within Bridge but there is no 'Photoshop' in the drop-down menu.
Misread your post a bit and see you want the image processor, however, this should be in the same location as the Batch option. If you don't have Photoshop in that list it means the start up script is not active or not installed properly.
First check Bridge preferences / Start up scripts and see if Photoshop is listed inhere and has a checkmark in front. If no checkmark then set it to on, restart Bridge and try again. If no Start upScript at all first try restart Bridge holding down option key (Mac) or ctrl (Win) and choose reset preferences.
If still no luck try a reinstall of PSCS6 to also reinstall Bridge again. (you first have to uninstall PSCS6, be sure to have a back up of custom settings etc).
Maybe you are looking for
-
Ipod shuffle will not sync songs Error -50
Hello i recently got a new ipod shuffle last week and now it wont sync with my songs. it only syncs one song out of the album. im using windows Xp HELP?!?!?!
-
Using external hard drive on a Time Capsule as a network drive for PCs.
I own a Macbook Air and am using a 2TB Time Capsule router. I am currently using for automatic backups for my Macbook Air. I also own 2 PC laptops for the rest of the family. Would it be possible to use an external hard drive connected to the USB por
-
Purchase Requisition Auto Close
When a Standard Purchase Requisition get auto closed. although we have created Purchase Order from Requisition and Delivered items to locations but still it is in Open Status. Edited by: Abdul Wasi on May 24, 2012 12:02 AM
-
Hi all, my business scenario is : CRM(Idocs) --> XI --> JDBC. when CRM sends an Idoc to XI,it receives an ALEAUD message as response. is there any way to stop XI from sending ALEAUD messages back to CRM. regards, -kausik
-
How to download only specific photos from my camera?
Hi, I'm in the habit of not deleting the photo images from my camera's CF card frequently. The problem with using iPhoto is that that it appears to only allow me to download ALL or NOTHING of the photos on my camera. I would like to selectively downl