Automatic start dbconsole
Hi all,
I'm working with a two nodes RAC with 11.2 Enterprise edition
All is running fine but, when I restart one of my servers, the dbconsole don't start automatically and I've to start it manually with emctl start command.
How can I configure it to start automatically?
Thx in advance
Best regards,
dbajug
Please check:
Automatic start of dbconsole during boot
Similar Messages
-
Automatic start of dbconsole during boot
Is there an easy way to automatically start the dbconsole when a cluster node boots (unix) ? I don't mean putting "emctl start dbconsole" in a rc Skript. I would prefer an integration in clusterware.
Sure, there are several steps but it's not impossible.
Step 1 build application VIP
crs_profile -create dbcVIP1 -t application -a /u01/crs1020/bin/usrvip \
-o oi=eth0,public_ip,on=public_ip_netmask
crs_register dbcVIP1
crs_setperm dbcVIP1 -o root
crs_setperm dbcVIP1 -u user:oracle:r-x
crs_start dbcVIP1
Step 2 write start/stop/status shell script
Place in $CRS_HOME/crs/script on all nodes
#!/bin/sh
case $1 in
'start')
/u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
RET=$?
'stop')
/u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole
RET=$?
'status')
/u01/app/oracle/product/10.2.0/db_1/bin/emctl status dbconsole
RET=$?
esac
exit $RET
Step 3 assemble pieces
crs_profile -create myDBC -t application -r dbcVIP1 -a script.sh -o ci=5,ra=2
crs_register myDBC
crs_setperm myDBC -o oracle
crs_setperm myDBC -u user:oracle:r-x
crs_start myDBC -
Automatic start/shutdown of EM DBCONSOLE using CRS
Hi all
I have a single instance 11gR2 DB with grid infrastructre and ASM implementations on OEL 5.4 platform. My database and ASM services are automically restarted with system restart through Clusterware.
Now I would like to add DBCONSOLE to this automation either through 'crs_profile -create' (or 'srvctl add') utilities but I really don't know how to?
I have created and placed the following script $CRS_HOME/crs/script on the system (crs_dbconsole.sh):
#!/bin/sh
case $1 in
'start')
/u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
RET=$?
'stop')
/u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl stop dbconsole
RET=$?
'check')
/u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl status dbconsole
RET=$?
esac
exit $RET
How do I go about registering this service with OCRHi,
use following, replace node1 with the name of your machine in hosting_members sections, I am assuming you are using a administer managed database:
#crsctl add resource crs_dbconsole type cluster_resource -attr " ACTION SCRIPT= '/u01/app/11.2.0/grid/crs/script/crs_dbconsole.sh' , PLACEMENT= 'restricted' , HOSTING_MEMBERS= 'node1' , CHECK_INTERVAL='30' , START_DEPENDENICES= 'hard(appsvip)' , STOP_DEPENDENCIES= 'hard(appsvip)' , RESTART_ATTEMPTS='2' "
I noticed a mistake in your script you need to set ORACLE_UNQNAME environment variable to point to your database. -
I want to start dbconsole for login in Enterprieise Manager please help
I want to start dbconsole for login in Enterprieise Manager
SET ORACLE_SID=ORCL
Then I rename a folder in D:\app\hp\product\11.2.0\dbhome_1\oc4j\j2ee
OC4J_DBConsole_192.168.1.2_ORCL
Then run emctl status dbconsole
I got following error
EM configuration issue.D:app/..dbhome_1/192.168.1.2_ORCL not foud
Then I run
emca -repos create
Enter the following information:
Database SID:ORCL
Listener port number: 1522
Password for SYS user:ORCL
Pssword for sysman:ORACLE
Then following error generated
ant.java:522)
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repositoryIf you used your computer as part of the VHS to DVD process, then you'll have a digital audio file that we can find, but I'm guessing you used a VHS to DVD standalone recorder. If so, you can use some free software called MPEG Streamclip:
- insert your DVD, and Quit from the DVD Player if it starts automatically.
- start MPEG Streamclip and open the DVD; then open the Video TS folder and open the first of the .VOB files (repeat this step until you find the file you're interested in).
- use the Export to AIFF option and you'll have the audio file.
- you'll be able to bring this file into iTunes, burn it to CD, etc.
John -
Hi everybody.
For almost a year I've had a lab environment which run suse with Oracle 10gR2. First in SuSE 9, and next in SuSE 10.
Since a month ago, none of the Oracle services starts automatically when server boots.
The server has one instance and Apex 2.2.1 (previously had Apex 2.0 and 2.2), and sufficient memory and disk space (1GB / 80 GB)
I review the "oracle" script and found all ok (but I´am not a Linux expert).
The case is that if I run rcoracle start in a console as root user, all the services starts ok. This, then is not a big problem, but I'd know why it's happens.
Somebody can say me where track for a solution?
Help in advance.Ivan, it's a bit large, but I paste below the (/usr/sbin) rcoracle content. I expect that were useful.
Remember that if I run "rcoracle start" as root user, all the services starts perfectly.
#! /bin/sh
# Copyright (c)1995 SuSE GmbH Nuernberg, Germany.
# Author: SuSE Oracle Team <[email protected]>
# Homepage: http://www.suse.com/oracle/
### BEGIN INIT INFO
# Provides: oracle
# Required-Start: $network $syslog $remote_fs raw
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start the Oracle database
### END INIT INFO
# Shell functions sourced from /etc/rc.status:
# rc_check check and set local and overall rc status
# rc_status check and set local and overall rc status
# rc_status -v ditto but be verbose in local rc status
# rc_status -v -r ditto and clear the local rc status
# rc_failed set local and overall rc status to failed
# rc_reset clear local rc status (overall remains)
# rc_exit exit appropriate to overall rc status
. /etc/rc.status
# catch mis-use right here at the start
if [ "$1" != "start" -a "$1" != "stop" -a "$1" !=
"status" -a "$1" != "restart" ]; then
echo "Usage: $0 {start|stop|status|restart}"
exit 1
fi
LOAD_OCFS=/sbin/load_ocfs
MOUNT=/bin/mount
UMOUNT=/bin/umount
MKDIR=/bin/mkdir
RMMOD=/sbin/rmmod
CHECKPROC="/sbin/checkproc"
test -x "$CHECKPROC" || CHECKPROC="test -x "
# Get settings, if file(s) exist(s). If not, we simply use defaults.
if test -f /etc/sysconfig/oracle; then
# new location as of SL 8.0 is directory
/etc/sysconfig/
. /etc/sysconfig/oracle
else
if test -f /etc/rc.config.d/oracle.rc.config; then
# location is directory /etc/rc.config.d/
. /etc/rc.config.d/oracle.rc.config
else
if test -f /etc/rc.config; then
# old SuSE location was to have everything in one
file
. /etc/rc.config
fi
fi
fi
# Determine the base and follow a runlevel link name.
# DISABLED by default because it's very individual...
# base=${0##*/}
# link=${base#*[SK][0-9][0-9]}
# Force execution if not called by a runlevel directory.
# test $link = $base && START_ORACLE_DB="yes" &&
START_ORACLE_DB_LISTENER="yes" &&
SET_ORACLE_KERNEL_PARAMETERS="yes"
# First reset status of this service
rc_reset
# Get and check environment (e.g. ORACLE_HOME)
ora_environment()
test -f /etc/profile.d/oracle.sh && .
/etc/profile.d/oracle.sh
if [ ! -z "$ORACLE_HOME" -a ! -d "$ORACLE_HOME" ];
then
echo
echo "${warn}ORACLE_HOME directory $ORACLE_HOME
does not exist!$norm"
echo "Unsetting ORACLE_HOME, will try to determine
it from system..."
unset ORACLE_HOME
fi
# Try /etc/oratab if it's not set in
/etc/profile.d/oracle.sh
test -z "$ORACLE_HOME" && test -f /etc/oratab &&
ORACLE_HOME=`awk -F: '/^[^#].*:.+:[YN]/ {if
($2!="") print $2; exit}' </etc/oratab` && \
echo && echo "ORACLE_HOME not set, but I found
this in /etc/oratab: $ORACLE_HOME" && echo
if [ -z "$ORACLE_HOME" ]; then
echo "${warn}ORACLE_HOME environment variable not
set.$norm"
echo "Check /etc/profile.d/oracle.sh and
/etc/oratab"
fi
if [ ! -d "$ORACLE_HOME" ]; then
echo "${warn}Cannot find ORACLE_HOME directory
$ORACLE_HOME.$norm"
echo "Environment settings are wrong! Check
/etc/profile.d/oracle.sh"
fi
test -z "$ORACLE_OWNER" && ORACLE_OWNER="oracle"
echo
# Set Intelligent Agent Start/Stop
AGENT_VERSION="unknown"
if test -x "$AGENT_HOME/bin/emctl"; then
# If Oracle Grid Control Agent is installed
AGENT_VERSION="10gA"
AGENT_PROG="$AGENT_HOME/bin/emctl"
AGENT_START="$AGENT_HOME/bin/emctl start agent"
AGENT_STOP="$AGENT_HOME/bin/emctl stop agent"
elif test -x "$ORACLE_HOME/bin/agtctl"; then
# 10g
AGENT_VERSION="10g"
AGENT_HOME=$ORACLE_HOME
AGENT_PROG="$ORACLE_HOME/bin/agtctl"
AGENT_START="$ORACLE_HOME/bin/agtctl startup"
AGENT_STOP="$ORACLE_HOME/bin/agtctl stop"
elif test -x "$ORACLE_HOME/bin/agentctl"; then
# Oracle 9i
AGENT_VERSION="9i"
AGENT_HOME=$ORACLE_HOME
AGENT_PROG="$ORACLE_HOME/bin/agentctl"
AGENT_START="$ORACLE_HOME/bin/agentctl start"
AGENT_STOP="$ORACLE_HOME/bin/agentctl stop"
else
# Oracle 8i
AGENT_VERSION="8i"
AGENT_HOME=$ORACLE_HOME
AGENT_PROG="$ORACLE_HOME/bin/lsnrctl"
AGENT_START="$ORACLE_HOME/bin/lsnrctl
dbsnmp_start"
AGENT_STOP="$ORACLE_HOME/bin/lsnrctl dbsnmp_stop"
if [ `$ORACLE_HOME/bin/lsnrctl help | grep -q
dbsnmp_start; echo $?` = "0" -a
${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
echo "${warn}Cannot start agent - Setting
START_ORACLE_DB_AGENT = no $norm"
START_ORACLE_DB_AGENT="cannot";
fi
fi
# If Oracle Grid Control Agent is installed
# if test -x "$AGENT_HOME/bin/emctl"; then
# AGENT_VERSION="10g"
# AGENT_HOME=$AGENT_HOME
# AGENT_PROG="$AGENT_HOME/bin/emctl"
# AGENT_START="$AGENT_HOME/bin/emctl start agent"
# AGENT_STOP="$AGENT_HOME/bin/emctl stop agent"
# fi
test -d "${TNS_ADMIN}" || TNS_ADMIN="$ORACLE_HOME/network/admin"
if [ "$1" = "start" ]; then
echo -n " ${extd}SETTINGS $1 from /etc/sysconfig/oracle$norm"
if [ ! -f /etc/sysconfig/oracle ]; then
echo " - ${warn}!!! MISSING !!!$norm"
else
echo
fi
echo " - Set Kernel Parameters for Oracle:
${SET_ORACLE_KERNEL_PARAMETERS:-no}"
echo " - Start Oracle OCFS:
${START_ORACLE_DB_OCFS:-no}"
echo " - Start Oracle OCM:
${START_ORACLE_DB_OCM:-no}"
echo " - Start Oracle GSD:
${START_ORACLE_DB_GSD:-no}"
echo " - Start Oracle Listener:
${START_ORACLE_DB_LISTENER:-no}"
echo " - Start Oracle Database:
${START_ORACLE_DB:-no}"
echo " - Start Oracle Webserver:
${START_ORACLE_DB_APACHE:-no}"
echo " - Start Oracle Apex:
${START_ORACLE_APEX_221:-no}"
echo " - Start Oracle EManager:
${START_ORACLE_DB_EMANAGER:-no}"
echo " - Start Oracle iSQLPLUS Manager:
${START_ORACLE_DB_ISQLPLUS:-no}"
echo " - Start Oracle Agent:
${START_ORACLE_DB_AGENT:-no}"
echo " - Start Oracle Internet Filesystem:
${START_ORACLE_DB_IFS:-no}"
echo " - Start Oracle Directory Manager:
${START_ORACLE_DB_OID:-no}"
fi
# Here we finally get to do the real work.
case "$1" in
start)
echo
echo "#########################################"
echo "# Inicio de O R A C L E - #"
echo "#########################################"
echo
ora_environment start
# Check if we really have all the Oracle components we are told to start
if [ ! -x $ORACLE_HOME/bin/dbstart -a
${START_ORACLE_DB:-no} = "yes" ]; then
echo "${warn}No, macho no existe el dbstart - Poniendo el START_ORACLE_DB = no $norm"
START_ORACLE_DB="cannot";
fi
if [ ! -x $ORACLE_HOME/bin/lsnrctl -a
${START_ORACLE_DB_LISTENER:-no} = "yes" ]; then
echo "${warn}No, man not exist el lsnrctl - Poniendo el START_ORACLE_DB_LISTENER = no $norm"
START_ORACLE_DB_LISTENER="cannot";
fi
if [ ! -x
/opt/oracle/product/Area/Apache/Apache/bin/httpd -a
${START_ORACLE_DB_APACHE:-no} = "yes" ]; then
echo "${warn}No, macho no existe el httpd -
Poniendo el START_ORACLE_DB_APACHE = no $norm"
START_ORACLE_DB_APACHE="cannot";
fi
if [ ! -x
/opt/oracle/product/Area/opmn/bin/opmnctl -a
${START_ORACLE_APEX_221:-no} = "yes" ]; then
echo "${warn}No, macho no existe el opmnctl -
Poniendo el START_ORACLE_APEX_221 = no $norm"
START_ORACLE_APEX_221="cannot";
fi
if [ ! -x $ORACLE_HOME/bin/emctl -a
${START_ORACLE_DB_EMANAGER:-no} = "yes" ]; then
echo "${warn}No, macho no existe el emctl -
Poniendo el START_ORACLE_DB_EMANAGER = no $norm"
START_ORACLE_DB_EMANAGER="cannot";
fi
if [ ! -x $ORACLE_HOME/bin/isqlplusctl -a
${START_ORACLE_DB_ISQLPLUS:-no} = "yes" ]; then
echo "${warn}No, macho no existe el isqlplusctl
- Poniendo el START_ORACLE_DB_ISQLPLUS = no $norm"
START_ORACLE_DB_ISQLPLUS="cannot";
fi
case $AGENT_VERSION in
10g)
if [ ! -x $ORACLE_HOME/bin/agtctl -a
${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
echo "${warn}No, macho no existe el agtctl -
Poniendo el START_ORACLE_DB_AGENT = no $norm"
START_ORACLE_DB_AGENT="cannot"
fi
10gA)
if [ ! -x $AGENT_HOME/bin/emctl -a
${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
echo "${warn}No, macho no existe el emctl -
Poniendo el START_ORACLE_DB_AGENT = no $norm"
START_ORACLE_DB_AGENT="cannot"
fi
9i)
if [ ! -x $ORACLE_HOME/bin/agentctl -a
${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
echo "${warn}No, macho no existe el agentctl
- Poniendo el START_ORACLE_DB_AGENT = no $norm"
START_ORACLE_DB_AGENT="cannot"
fi
8i)
if [ ! -x $ORACLE_HOME/bin/lsnrctl -a
${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
echo "${warn}No, macho no existe el lsnrctl
- Poniendo el START_ORACLE_DB_AGENT = no $norm"
START_ORACLE_DB_AGENT="cannot"
fi
echo "Oracle Agent undefinied or not properly
set. Please check."
esac
if [ ! -x /sbin/load_ocfs -a
${START_ORACLE_DB_OCFS:-no} = "yes" ]; then
echo "${warn}No, macho no existe el
/sbin/load_ocfs - Poniendo el START_ORACLE_DB_OCFS =
no $norm"
START_ORACLE_DB_OCFS="cannot";
fi
if [ ! -x $ORACLE_HOME/oracm/bin/oracm -a
${START_ORACLE_DB_OCM:-no} = "yes" ]; then
echo "${warn}No, macho no existe el oracm -
Poniendo el START_ORACLE_DB_OCM = no $norm"
START_ORACLE_DB_OCM="cannot";
fi
if [ ! -x $ORACLE_HOME/bin/gsdctl -a
${START_ORACLE_DB_GSD:-no} = "yes" ]; then
echo "${warn}No, macho no existe el gsdctl -
Poniendo el START_ORACLE_DB_GSD = no $norm"
START_ORACLE_DB_GSD="cannot";
fi
echo
# Set kernel parameters for Oracle
if [ "${SET_ORACLE_KERNEL_PARAMETERS:-no}" ==
"yes" ]; then
echo
echo "Setting kernel parameters for Oracle, see
file"
if test -f /etc/sysconfig/oracle; then
echo "/etc/sysconfig/oracle for explanations."
else
echo "/etc/rc.config.d/oracle.rc.config for explanations."
fi
echo
if [ ! -d /proc/sys/kernel ]; then
echo; echo "No sysctl kernel interface - cannot set kernel parameters."; echo
rc_failed
else
# Set shared memory parameters
echo -n "${extd}Shared memory:$norm "
test -f /proc/sys/kernel/shmmax && echo -n "
SHMMAX=${SHMMAX:-3294967296}"
test -f /proc/sys/kernel/shmmax && echo
${SHMMAX:-3294967296} > /proc/sys/kernel/shmmax
test -f /proc/sys/kernel/shmmni && echo -n "
SHMMNI=${SHMMNI:-4096}"
test -f /proc/sys/kernel/shmmni && echo
${SHMMNI:-4096} > /proc/sys/kernel/shmmni
test -f /proc/sys/kernel/shmall && echo "
SHMALL=${SHMALL:-2097152}"
test -f /proc/sys/kernel/shmall && echo
${SHMALL:-2097152} > /proc/sys/kernel/shmall
test -f /proc/sys/kernel/shmall || echo
# Set the semaphore parameters:
# see Oracle release notes for Linux for how
to set these values
# SEMMSL, SEMMNS, SEMOPM, SEMMNI
echo -n "${extd}Semaphore values:$norm "
test -f /proc/sys/kernel/sem && echo -n "
SEMMSL=${SEMMSL:-1250}"
test -f /proc/sys/kernel/sem && echo -n "
SEMMNS=${SEMMNS:-32000}"
test -f /proc/sys/kernel/sem && echo -n "
SEMOPM=${SEMOPM:-100}"
test -f /proc/sys/kernel/sem && echo "
SEMMNI=${SEMMNI:-256}"
test -f /proc/sys/kernel/sem && echo
${SEMMSL:-1250} ${SEMMNS:-32000} ${SEMOPM:-100}
${SEMMNI:-128} > /proc/sys/kernel/sem
test -f /proc/sys/kernel/sem || echo
echo -n "${extd}Other values:$norm "
test -f /proc/sys/fs/file-max && echo -n "
FILE_MAX_KERNEL=${FILE_MAX_KERNEL:-131072}"
test -f /proc/sys/fs/file-max && echo
${FILE_MAX_KERNEL:-131072} > /proc/sys/fs/file-max
test -f /proc/sys/net/ipv4/ip_local_port_range
&& echo "
IP_LOCAL_PORT_RANGE=${IP_LOCAL_PORT_RANGE:-"1024
65000"}"
test -f /proc/sys/net/ipv4/ip_local_port_range
&& echo ${IP_LOCAL_PORT_RANGE:-"1024 65000"} >
/proc/sys/net/ipv4/ip_local_port_range
test -f /proc/sys/net/core/rmem_default &&
echo -n " RMEM_DEFAULT=${RMEM_DEFAULT:-262144}"
test -f /proc/sys/net/core/rmem_default &&
echo ${RMEM_DEFAULT:-262144} >
/proc/sys/net/core/rmem_default
test -f /proc/sys/net/core/wmem_default &&
echo -n " WMEM_DEFAULT=${WMEM_DEFAULT:-262144}"
test -f /proc/sys/net/core/wmem_default &&
echo ${WMEM_DEFAULT:-262144} >
/proc/sys/net/core/wmem_default
test -f /proc/sys/net/core/rmem_max && echo -n
" RMEM_MAX=${RMEM_MAX:-262144}"
test -f /proc/sys/net/core/rmem_max && echo
${RMEM_MAX:-262144} > /proc/sys/net/core/rmem_max
test -f /proc/sys/net/core/wmem_max && echo -n
" WMEM_MAX=${WMEM_MAX:-262144}"
test -f /proc/sys/net/core/wmem_max && echo
${WMEM_MAX:-262144} > /proc/sys/net/core/wmem_max
test -f /proc/sys/vm/vm_mapped_ratio && echo
-n " VM_MAPPED_RATIO=${VM_MAPPED_RATIO:-100}"
test -f /proc/sys/vm/vm_mapped_ratio && echo
${VM_MAPPED_RATIO:-250} > /proc/sys/vm/vm_mapped_ratio
test -f /proc/sys/fs/aio-max-size && echo "
AIO_MAX_SIZE=${AIO_MAX_SIZE:-262144}"
test -f /proc/sys/fs/aio-max-size && echo
${AIO_MAX_SIZE:-262144} > /proc/sys/fs/aio-max-size
test -f /proc/sys/fs/aio-max-size || echo
# HUGEPAGES
echo -n "${extd}Huge Pages:$norm "
# on SLES9
test -f /proc/sys/vm/disable_cap_mlock && echo
1 > /proc/sys/vm/disable_cap_mlock
# on SLES10
test -f /proc/sys/vm/hugetlb_shm_group && echo
-n " SHM_GROUP=${SHM_GROUP}"
SHM_GROUP_GID=`cat /etc/group | grep -w ${SHM_GROUP}
|awk -F: '{ print $3 }'`
test -f /proc/sys/vm/hugetlb_shm_group && echo
${SHM_GROUP_GID} > /proc/sys/vm/hugetlb_shm_group
test -f /proc/sys/vm/nr_hugepages && echo -n "
NR_HUGE_PAGES=${NR_HUGE_PAGES:-0}"
test -f /proc/sys/vm/nr_hugepages && echo
${NR_HUGE_PAGES:-0} > /proc/sys/vm/nr_hugepages
echo
echo -n "${extd}ULIMIT values:$norm "
echo "
MAX_CORE_FILE_SIZE_SHELL=${MAX_CORE_FILE_SIZE_SHELL:-0}"
ulimit -c ${MAX_CORE_FILE_SIZE_SHELL:-0}
echo -n "
FILE_MAX_SHELL=${FILE_MAX_SHELL:-65536}"
ulimit -n ${FILE_MAX_SHELL:-65536}
echo "
PROCESSES_MAX_SHELL=${PROCESSES_MAX_SHELL:-16384}"
ulimit -u ${PROCESSES_MAX_SHELL:-16384}
# Check if shmmax is really set to what we
want - on some systems and
# certain settings the result could be
shmmax=0 if you set it to e.g. 4GB!
if [ `cat /proc/sys/kernel/shmmax` !=
"${SHMMAX:-3294967296}" ]; then
echo "${warn}---- WARNING - SHMMAX could not
be set properly ----$norm"
echo " Tried to set it to:
${SHMMAX:-3294967296}"
echo " Value is now: `cat
/proc/sys/kernel/shmmax`"
echo " You might try again with a lower
value."
fi
fi
echo
echo -n "Kernel parameters set for Oracle: "
rc_status -v
echo
echo
fi
rc_reset
echo -n " - Starting Oracle Cluster
Filesystem..."
if [ "${START_ORACLE_DB_OCFS:-no}" = "yes" ]; then
$RMMOD ocfs >& /dev/null
$LOAD_OCFS >& /dev/null
rc_status -v -r
echo -n " - Mounting Oracle Cluster
Filesystem(s)..."
$MOUNT -a -t ocfs >& /dev/null
rc_status -v -r
else
if [ ${START_ORACLE_DB_OCFS:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Oracle Cluster Manager..."
if [ "${START_ORACLE_DB_OCM:-no}" = "yes" ]; then
# Fix log directories: 9iR2 RAC installation
forgets these directories on the nodes
su - oracle -c "$MKDIR -p
$ORACLE_HOME/oracm/log"
# Startup oracm
cat <<EOF > /etc/rac_on
This file is created by /etc/rc.d/oracle when
START_ORACLE_DB_OCM="yes"
in /etc/sysconfig/oracle. This is a dirty hack from
Oracle - their
$ORACLE_HOME/bin/dbca script uses the presence of this
file to select
one of two ways to start the JRE and when this file
you are looking at
right now does not exist it uses a method that lets
the JRE crash.
EOF
test -x $ORACLE_HOME/oracm/bin/oracm &&
PATH=${ORACLE_HOME}/oracm/bin:${PATH} oracm
$ORACLE_DB_OCM_PARAMETERS </dev/null 2>&1
$ORACLE_HOME/oracm/log/cm.out &sleep 7
rc_status -v -r
else
if [ ${START_ORACLE_DB_OCM:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
if [ -x /etc/init.d/init.cssd -a ! -x
/etc/init.d/init.crs ]
then
echo -n " - Starting css daemon..."
/etc/init.d/init.cssd start
rc_status -v -r
kill -1 1
sleep 5
fi
echo -n " - Starting Oracle GSD..."
if [ "${START_ORACLE_DB_GSD:-no}" = "yes" ]; then
test -x $ORACLE_HOME/bin/gsdctl && su - oracle
-c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; unset JAVA_BINDIR; unset
JAVA_HOME; $ORACLE_HOME/bin/gsdctl start > /dev/null"
rc_status -v -r
else
if [ ${START_ORACLE_DB_GSD:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Cargando Listener..."
if [ "${START_ORACLE_DB_LISTENER:-no}" = "yes" ];
then
su - oracle -c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/lsnrctl start >
/dev/null"
rc_status -v -r
else
if [ ${START_ORACLE_DB_LISTENER:-no} = "cannot"
]; then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo
echo " Databases start..."
if [ "${START_ORACLE_DB:-no}" = "yes" ]; then
# Fix log directories: 9iR2 RAC installation
forgets these directories on the nodes
su - oracle -c "$MKDIR -p
$ORACLE_HOME/rdbms/audit $ORACLE_HOME/rdbms/log
$ORACLE_HOME/network/log 2>/dev/null"
# The database will not start if the entry in
/etc/oratab is "N"
cat /etc/oratab | while read LINE
do
case $LINE in
\#*) # skip over comment-line in oratab
# Proceed only if third field is 'Y'.
if [ "`echo $LINE | awk -F: '{print $3}' -`"
= "N" ] ; then
ORACLE_SID=`echo $LINE | awk -F: '{print
$1}' -`
ORACLE_HOME=`echo $LINE | awk -F: '{print
$2}' -`
echo; echo -n "No start entry for SID
$ORACLE_SID at $ORACLE_HOME in /etc/oratab"
rc_status -s
fi
# Check if CRS is up before starting ASM
if [ "`echo $LINE | awk -F: '{print $1}' -`"
= "+ASM" ] ; then
if [ "`echo $LINE | awk -F: '{print
$3}' -`" = "Y" ] ; then
false
while (($?)) ; do
echo "Waiting 20
seconds for CRS daemon"
sleep 20
ps -fe|grep -v
grep|grep cssd
done
fi
fi
esac
done
echo -n " "
su - oracle -c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/dbstart"
rc_status
echo -n " Status of Oracle database(s)
start:"
rc_status -v -r
echo
else
if [ ${START_ORACLE_DB:-no} = "cannot" ]; then
rc_status -s
else
rc_status -u
fi
echo
fi
rc_reset
echo -n " - Lanzando Application Express
2.2.1..."
if [ "${START_ORACLE_APEX_221:-no}" = "yes" ];
then
su - oracle -c "export
ORACLE_HOME=$ORACLE_HOME;
/opt/oracle/product/Area/opmn/bin/opmnctl startall >
/dev/null"
if [ "$?" != "0" ]; then rc_failed; else
rc_failed 0; fi
rc_status -v -r
else
if [ ${START_ORACLE_APEX_221:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Apache..."
if [ "${START_ORACLE_DB_APACHE:-no}" = "yes" ];
then
SSL=""
if [ ${ORACLE_DB_APACHE_USE_SSL} = "yes" ];
then
SSL="ssl"
fi
export DISPLAY=:42.0;
/opt/oracle/product/Area/Apache/Apache/bin/apache$SSL>&
/dev/null
if [ "$?" != "0" ]; then rc_failed; else
rc_failed 0; fi
rc_status -v -r
else
if [ ${START_ORACLE_DB_APACHE:-no} = "cannot"
]; then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Lanzando Apache server..."
if [ "${START_ORACLE_AS_ALL:-no}" = "yes" ]; then
su - oracle -c "export
ORACLE_HOME=$ORACLE_HOME;
/opt/oracle/product/Area/Apache/Apache/bin/httpd
startall > /dev/null"
if [ "$?" != "0" ]; then rc_failed; else
rc_failed 0; fi
rc_status -v -r
else
if [ ${START_ORACLE_AS_ALL:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Application Server
Console..."
if [ "${START_ORACLE_AS_CONSOLE:-no}" = "yes" ];
then
su - oracle -c "export
ORACLE_HOME=$ORACLE_HOME; $ORACLE_HOME/bin/emmctl
start iasconsole > /dev/null"
if [ "$?" != "0" ]; then rc_failed; else
rc_failed 0; fi
rc_status -v -r
else
if [ ${START_ORACLE_AS_CONSOLE:-no} = "cannot"
]; then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Agent..."
if [ "${START_ORACLE_DB_AGENT:-no}" = "yes" ];
then
su - oracle -c "export ORACLE_HOME=$AGENT_HOME
TNS_ADMIN=$TNS_ADMIN; $AGENT_START > /dev/null"
rc_status -v -r
else
if [ ${START_ORACLE_DB_AGENT:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Enterprise Manager..."
if [ "${START_ORACLE_DB_EMANAGER:-no}" = "yes" ];
then
for SID in `sed -n
's/^\([^#+]*\):.*:Y/\1/p' /etc/oratab`
do
echo "Starting DB Console for $SID"
su - oracle -c "export ORACLE_SID=$SID
ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$ORACLE_HOME/bin/emctl start dbconsole > /dev/null"
sleep 10
done
rc_status -v -r
else
if [ ${START_ORACLE_DB_EMANAGER:-no} = "cannot"
]; then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting iSQLPLUS Manager..."
if [ "${START_ORACLE_DB_ISQLPLUS:-no}" = "yes" ];
then
su - $oracle -c "export
ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$ORACLE_HOME/bin/isqlplusctl start > /dev/null"
rc_status -v -r
else
if [ ${START_ORACLE_DB_ISQLPLUS:-no} = "cannot"
]; then
rc_status -s
else rc_status -u
fi
fi
rc_reset
echo -n " - Starting Oracle Internet
Filesystem..."
if [ "${START_ORACLE_DB_IFS:-no}" = "yes" ];
then
echo -n " ${extd}Not yet implemented.$norm"
rc_status -s
else
if [ ${START_ORACLE_DB_IFS:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
rc_reset
echo -n " - Starting Oracle Internet
Directory..."
if [ "${START_ORACLE_DB_OID:-no}" = "yes" ]; then
echo -n " ${extd}Not yet implemented.$norm"
rc_status -s
else
if [ ${START_ORACLE_DB_OID:-no} = "cannot" ];
then
rc_status -s
else
rc_status -u
fi
fi
stop)
echo
echo "#######################################"
echo "# Fin de O R A C L E #"
echo "######################################"
echo
ora_environment stop
echo "Shutting down Oracle services (only those
running)"; echo
test -x
/opt/oracle/product/Area/Apache/Apache/bin/httpd &&
$CHECKPROC
/opt/oracle/product/Area/Apache/Apache/bin/httpd &&
echo -n "Shutting down Apache: " && (export
ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
/opt/oracle/product/Area/Apache/Apache/bin/httpd
stopall > /dev/null; rc_status -v -r)
# Shutting Down Agent
if [ ${START_ORACLE_DB_AGENT:-no} = "yes" ]; then
case $AGENT_VERSION in
10g)
test -x $AGENT_PROG && $CHECKPROC $AGENT_PROG &&
echo -n "Shutting down Agent: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$AGENT_STOP > /dev/null"; rc_status -v -r)
10gA)
test -x $AGENT_PROG && $CHECKPROC $AGENT_PROG &&
echo -n "Shutting down Agent: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$AGENT_STOP > /dev/null"; rc_status -v -r)
9i)
test -x $AGENT_PROG && $CHECKPROC $AGENT_PROG &&
echo -n "Shutting down Agent: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$AGENT_STOP > /dev/null"; rc_status -v -r)
8i)
test -x $AGENT_PROG && $CHECKPROC $AGENT_PROG &&
echo -n "Shutting down Agent: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
$AGENT_STOP > /dev/null"; rc_status -v -r)
echo "Oracle Agent undefinied or not properly
set. Please check."
esac
fi
test -x /opt/oracle/product/Area/opmn/bin/opmnctl
&& test "${START_ORACLE_APEX_221:-no}" = "yes"
&& echo -n "Shutting down Apex: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
/opt/oracle/product/Area/opmn/bin/opmnctl stopall >
/dev/null"; rc_status -v -r)
test -x $ORACLE_HOME/bin/isqlplusctl
&& test "${START_ORACLE_DB_ISQLPLUS:-no}" = "yes"
&& echo -n "Shutting down iSQLPLUS Manager: " && (su
- oracle -c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/isqlplusctl
stop > /dev/null"; rc_status -v -r)
test -x $ORACLE_HOME/bin/emctl
&& test "${START_ORACLE_DB_EMANAGER:-no}" = "yes"
&& echo -n "Shutting down Enterprise Manager: " &&
(su - oracle -c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/emctl stop
dbconsole > /dev/null"; rc_status -v -r)
test -x $ORACLE_HOME/bin/lsnrctl
&& $CHECKPROC $ORACLE_HOME/bin/tnslsnr
&& echo -n "Shutting down Listener: " && (su - oracle
-c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/lsnrctl stop >
/dev/null"; rc_status -v -r)
test -x $ORACLE_HOME/bin/dbshut
&& $CHECKPROC $ORACLE_HOME/bin/oracle
&& echo -n "Shutting down Database: " && (su - oracle
-c "export ORACLE_HOME=$ORACLE_HOME
TNS_ADMIN=$TNS_ADMIN; $ORACLE_HOME/bin/dbshut >
/dev/null"; rc_status -v -r)
test -x $ORACLE_HOME/bin/gsdctl
&& test "" != "`ps U oracle|grep 'DPROGRAM=gsd'`"
&& echo -n "Shutting down GSD: " && (su - oracle -c
"export ORACLE_HOME=$ORACLE_HOME TNS_ADMIN=$TNS_ADMIN;
unset JAVA_BINDIR; unset JAVA_HOME;
$ORACLE_HOME/bin/gsdctl stop > /dev/null"; rc_status
-v -r)
test -x $ORACLE_HOME/oracm/bin/oracm
&& $CHECKPROC $ORACLE_HOME/oracm/bin/oracm
&& echo -n "Shutting down OCM: " && (killall oracm >
/dev/null; rm -f /etc/rac_on; rc_status -v -r)
if [ "`$MOUNT -t ocfs | grep ocfs`" != "" ]; then
echo -n "Unmounting all OCFS filesystems: "
&& ($UMOUNT -t ocfs -a; rc_status -v -r)
fi
if [ -x /etc/init.d/init.cssd -a ! -x
/etc/init.d/init.crs ]
then
echo -n "Shutting down CSSD:"
/etc/init.d/init.cssd stop >/dev/null
rc_status -v -r
kill -1 1
sleep 5
fi
status)
echo
echo "#################################"
echo "# Fin de O R A C L E #"
echo "#################################"
echo
ora_environment status
echo "${extd}Kernel Parameters$norm"
echo -n "Shared memory:"
echo -n " SHMMAX=" `cat /proc/sys/kernel/shmmax`
echo -n " SHMMNI=" `cat /proc/sys/kernel/shmmni`
echo " SHMALL=" `cat /proc/sys/kernel/shmall`
echo -n "Semaphore values:"
echo " SEMMSL, SEMMNS, SEMOPM, SEMMNI: " `cat
/proc/sys/kernel/sem`
echo
if [ -x $ORACLE_HOME/bin/oracle ]; then
echo "${extd}Database-Instances$norm"
# loop over the instances (very simple !!!)
IFS=:
grep -v '^\(#\|$\)' /etc/oratab | while read sid
ohome autostart ; do
state=up
su - oracle -c "export ORACLE_SID=$sid;
sqlplus /nolog" <<-! 2>/dev/null | grep ORA-01034
/dev/null && state=downconnect / as sysdba
show sga
echo "Instance $sid is $state (autostart:
$autostart)"
done
echo
fi
if [ -x $ORACLE_HOME/bin/lsnrctl ]; then
state=up
su - oracle -c "$ORACLE_HOME/bin/lsnrctl status"
| grep "[nN]o [lL]istener" >/dev/null && state=down
echo "${extd}TNS-Listener:$norm $state"
echo
fi
numhttpd=`ps -e | grep httpd | wc -l | sed 's/
//g'`
state=up
if [ "$numhttpd" -lt 1 ] ; then state=down ; fi
echo "${extd}Web-Server (Apache httpd):$norm
$state ($numhttpd processes)"
echo
if [ -x $ORACLE_HOME/bin/agentctl ]; then
state=up
su - oracle -c "agentctl status" | grep "Could
not contact agent" >/dev/null && state=down
echo "${extd}Intelligent Agent:$norm $state"
echo
fi
echo "${extd}Process list for user oracle:$norm"
ps U oracle
ps ax | grep oracm | grep -v grep
restart)
## Stop the service and regardless of whether it
was
## running or not, start it again.
$0 stop
$0 start
echo "Usage: $0 start"
exit 1
esac
echo
echo "###################################"
echo "# Fin de O R A C L E #"
echo "###################################"
echo
# Global return value of this script is "success", always. We have too many
# individual return values...
rc_status -r
rc_exit -
Automatically starting Oracle Enterprise Manager with chkconfig
Folks,
While Oracle Linux 6 is out (6.2 actually), Oracle has yet to get everything 'working out of the box' with 6.2. Right now (June 2012) you've got to download patches from Oracle, the new way to start services in Linux 6, upstart, doesn't work with all Oracle features yet, etc. Update: You can still use chkconfig with OL6.
Because of the above, I've been using Oracle Linux 5.8. Linux 5 uses something called chkconfig to register services. You first need to put a script in the right directory: /etc/rc.d/init.d. Linux looks in this directory for scripts and runs those scripts with either a start or stop after them depending on if the system is coming up or going down. Technically this happens every time you change your runlevel (google Unix runlevels for more info), not just when the system goes up or down.
Here's a script that you can put in /etc/rc.d/init.d. I named mine oracleEM:
[root@localhost ~]# cd /etc/rc.d/init.d
[root@localhost init.d]# vi oracleEM
Enter i to enter insert mode and then enter the below (or just copy and paste it)
*#!/bin/sh*
*#chkconfig: 2345 80 05*
*#description: Oracle Enterprise Manager*
ORA_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORA_OWNER=oracle
ORA_SID=orcl
*# We're checking to see if ps returns 1 or 2 results for pmon_orcl*
*# If there are two, Oracle is running, one we are just seeing our grep*
ORACLE_STATUS=$(ps -eaf | grep pmon_$ORA_SID | wc -l)
*if [ ! -f $ORA_HOME/bin/emctl ]*
then
echo "Enterprise Manager startup: cannot start"
exit
fi
case "$1" in
*"start")*
*if [ $ORACLE_STATUS -lt 2 ]*
then
echo "Waiting for Oracle instance $ORA_SID to start before starting Enterprise Manager"
fi
*while [ $ORACLE_STATUS -lt 2 ];do*
echo "Waiting...."
sleep 5
ORACLE_STATUS=$(ps -eaf | grep pmon_$ORA_SID | wc -l)
done
su - $ORA_OWNER -c "$ORA_HOME/bin/emctl start dbconsole"
*"stop")*
su - $ORA_OWNER -c "$ORA_HOME/bin/emctl stop dbconsole"
esac
Press the Esc key to leave insert mode, then type *:wq* to write the file and quit.
We'll need to make the script executable, so we need to run the following command:
[root@localhost init.d]# *chmod +x oracleEM*
Finally we need to register the oracleEM script with Linux using the chkconfig command:
[root@localhost init.d]# *chkconfig --add oracleEM*
Now Enterprise Manager will start up automatically when you start your system, but only after Oracle has started.
Rich
Edited by: RichS on Jun 9, 2012 1:00 AMThe script you are using will not work for RHEL or Oracle Linux since it is incorrect and missing important coding.
You can probably fix the script by removing the dash (-) from the su command and adding the lockfile that is required for RHEL to process the stop routine at system shutdown. The dash will reset the shell environment and the startup won't work. You should also start it in the background in order not to prolong the system startup more then necessary.
lockfile=/var/lock/subsys/oracleEM
start)
su $ORA_OWNER -c "$ORA_HOME/bin/emctl start dbconsole &" &>/dev/null
touch $lockfile
stop)
su $ORA_OWNER -c "$ORA_HOME/bin/emctl stop dbconsole"
rm -rf $lockfile
...You do not need to start your Oracle instance before starting dbconsole. So there is no need for the "sleep" routine. You can start the Oracle Database control console even when the instance is down:
For instance:
<pre>
[oracle@vm005 ~]$ ps -ef | grep pmon
oracle 17749 10343 0 22:48 pts/3 00:00:00 grep pmon
$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://vm005.example.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ....... started.
</pre> -
Cannot start dbconsole in Oracle Personal 11g
I just installed Oracle Personal, but the command emctl start fbconsole will not run - it gives a not found error message.
IT says OC4J Configuration issue followed by a long path and I followed the path to OC4J_DBCONSOLE.
the file not found is referring to that path plus the folder name continues which is in the format my host name : my SID
I have no such folder under OC4J_DBCONSOLE I have 4 folders under it that are spplication-deployments, config, connectors, and META-INF.
Bsaed on the long error message it looks like the last folder in the path is actually "j2ee" and the rest beginning with OC4J_DB_CONSOLE plus hostname plus SID is the missing file name.
Can anyone tell me how to correct this? How does this long file get created?Here is the output I got from running emva...drop & create
Thank you for looking at it
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\steve>emca -dbcontrol db -repos drop
C:\app\steve\product\11.2.0\dbhome_2\bin\emca.bat [operation] [mode] [dbType] [f
lags] [parameters]
-h | h | -help | help: prints this help message
-version: prints the version
-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
[parameters]: configure Database Control for a database
-config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
tral agent management
-config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
meters]: configure both Database Control and central agent management
-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
gure Database Control
-deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
re central agent management
-deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
oth Database Control and central agent management
-addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node
for a database
-deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a databas
e on node getting deleted
-addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
-deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
AC instance
-reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
rts
-reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
ontrol deployment
-displayConfig dbcontrol -cluster [-silent] [parameters]: displays information a
bout the RAC Database Control configuration
-migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [p
arameters]: migrates EM configuration from Database Control to central agent
-upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earl
ier version of the EM configuration to the current version
-updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontro
l and central agents on crs upgrade
-restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the cur
rent version of the EM configuration to an earlier version
Parameters and Options:
[parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
db: perform configuration operation for a database (including databases that use
ASM)
asm: perform configuration operation for an ASM-only instance
db_asm: perform upgrade/restore operation for a database and an ASM instance
-repos create: create a new Database Control repository
-repos drop: drop the current Database Control repository
-repos recreate: drop the current Database Control repository and recreate a new
one
-cluster: perform configuration operation for a RAC database
-silent: perform configuration operation without prompting for parameters
-backup: configure automatic backup for a database
Parameters for single instance databases
ORACLE_HOSTNAME: Local hostname
SID: Database SID
PORT: Listener port number
ORACLE_HOME: Database ORACLE_HOME
LISTENER_OH: Listener ORACLE_HOME
HOST: Listener Host
HOST_USER: Host username for automatic backup
HOST_USER_PWD: Host user password for automatic backup
BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
EMAIL_ADDRESS: Email address for notifications
MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
ASM_OH: ASM ORACLE_HOME
ASM_SID: ASM SID
ASM_PORT: ASM port
ASM_USER_ROLE: ASM user role
ASM_USER_NAME: ASM username
ASM_USER_PWD: ASM user password
SRC_OH: ORACLE_HOME for the database to be upgraded
DBSNMP_PWD: Password for DBSNMP user
SYSMAN_PWD: Password for SYSMAN user
SYS_PWD: Password for SYS user
DBCONTROL_HTTP_PORT: Database Control HTTP port
AGENT_PORT: EM agent port
RMI_PORT: RMI port for Database Control
JMS_PORT: JMS port for Database Control
EM_SWLIB_STAGE_LOC: Software library location
PORTS_FILE: Path to a static file specifying the ports to use (Default v
alue : ${ORACLE_HOME}/install/staticports.ini).
Additional Parameters for cluster databases
CLUSTER_NAME: Cluster name
DB_UNIQUE_NAME: Database unique name
SERVICE_NAME: Service name
EM_NODE: Database Control node name
EM_NODE_LIST: Agent Node list [comma separated]
Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
as "localhost" to any emca command
C:\Users\steve>emca -dbcontrol db -repos create
C:\app\steve\product\11.2.0\dbhome_2\bin\emca.bat [operation] [mode] [dbType] [f
lags] [parameters]
-h | h | -help | help: prints this help message
-version: prints the version
-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup]
[parameters]: configure Database Control for a database
-config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure cen
tral agent management
-config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [para
meters]: configure both Database Control and central agent management
-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-confi
gure Database Control
-deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configu
re central agent management
-deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure b
oth Database Control and central agent management
-addNode (db | asm) [-silent] [parameters]: configure EM for a newly added node
for a database
-deleteNode (db | asm) [-silent] [parameters]: de-configure EM for for a databas
e on node getting deleted
-addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
-deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified R
AC instance
-reconfig ports [-cluster] [parameters]: explicitly reassign Database Control po
rts
-reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database C
ontrol deployment
-displayConfig dbcontrol -cluster [-silent] [parameters]: displays information a
bout the RAC Database Control configuration
-migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [p
arameters]: migrates EM configuration from Database Control to central agent
-upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earl
ier version of the EM configuration to the current version
-updateTargets crs [-silent] [parameters]: updates new crs home for all dbcontro
l and central agents on crs upgrade
-restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the cur
rent version of the EM configuration to an earlier version
Parameters and Options:
[parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
db: perform configuration operation for a database (including databases that use
ASM)
asm: perform configuration operation for an ASM-only instance
db_asm: perform upgrade/restore operation for a database and an ASM instance
-repos create: create a new Database Control repository
-repos drop: drop the current Database Control repository
-repos recreate: drop the current Database Control repository and recreate a new
one
-cluster: perform configuration operation for a RAC database
-silent: perform configuration operation without prompting for parameters
-backup: configure automatic backup for a database
Parameters for single instance databases
ORACLE_HOSTNAME: Local hostname
SID: Database SID
PORT: Listener port number
ORACLE_HOME: Database ORACLE_HOME
LISTENER_OH: Listener ORACLE_HOME
HOST: Listener Host
HOST_USER: Host username for automatic backup
HOST_USER_PWD: Host user password for automatic backup
BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
EMAIL_ADDRESS: Email address for notifications
MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
ASM_OH: ASM ORACLE_HOME
ASM_SID: ASM SID
ASM_PORT: ASM port
ASM_USER_ROLE: ASM user role
ASM_USER_NAME: ASM username
ASM_USER_PWD: ASM user password
SRC_OH: ORACLE_HOME for the database to be upgraded
DBSNMP_PWD: Password for DBSNMP user
SYSMAN_PWD: Password for SYSMAN user
SYS_PWD: Password for SYS user
DBCONTROL_HTTP_PORT: Database Control HTTP port
AGENT_PORT: EM agent port
RMI_PORT: RMI port for Database Control
JMS_PORT: JMS port for Database Control
EM_SWLIB_STAGE_LOC: Software library location
PORTS_FILE: Path to a static file specifying the ports to use (Default v
alue : ${ORACLE_HOME}/install/staticports.ini).
Additional Parameters for cluster databases
CLUSTER_NAME: Cluster name
DB_UNIQUE_NAME: Database unique name
SERVICE_NAME: Service name
EM_NODE: Database Control node name
EM_NODE_LIST: Agent Node list [comma separated]
Note: For Desktop Class Install always pass parameter ORACLE_HOSTNAME
as "localhost" to any emca command
C:\Users\steve>emctl start dbconsole
OC4J Configuration issue. C:\app\steve\product\11.2.0\dbhome_2/oc4j/j2ee/OC4J_DB
Console_steve-Laptop_XESTD not found.
C:\Users\steve>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\steve\AppData\Roaming
asl.log=Destination=file
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STEVE-LAPTOP
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\steve
LOCALAPPDATA=C:\Users\steve\AppData\Local
LOGONSERVER=\\STEVE-LAPTOP
NUMBER_OF_PROCESSORS=3
OnlineServices=Online Services
ORACLE_HOME=C:\app\steve\product\11.2.0\dbhome_2
ORACLE_SID=XESTD
ORACLE_UNQNAME=XESTD
OS=Windows_NT
Path=C:\app\steve\product\11.2.0\dbhome_2\bin;C:\Program Files\Common Files\Micr
osoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\W
indows Live;C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin;C:\Users\Publi
c\Documents\RAD Studio\9.0\Bpl;C:\Program Files (x86)\Embarcadero\RAD Studio\9.0
\bin64;C:\Users\Public\Documents\RAD Studio\9.0\Bpl\Win64;C:\Program Files (x86)
\Embarcadero\RAD Studio\9.0\bin;C:\Users\steve\Documents\RAD Studio\9.0\Bpl;C:\P
rogram Files (x86)\Embarcadero\RAD Studio\9.0\bin64;C:\Users\steve\Documents\RAD
Studio\9.0\Bpl\Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologie
s\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Users\Public
\Documents\RAD Studio\9.0\Bpl;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PCBRAND=Pavilion
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 5 Stepping 3, AuthenticAMD
PROCESSOR_LEVEL=16
PROCESSOR_REVISION=0503
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\steve\AppData\Local\Temp
TMP=C:\Windows\TEMP
USERDOMAIN=STEVE-LAPTOP
USERNAME=steve
USERPROFILE=C:\Users\steve
windir=C:\Windows
C:\Users\steve>emctl status dbconsole
OC4J Configuration issue. C:\app\steve\product\11.2.0\dbhome_2/oc4j/j2ee/OC4J_DB
Console_steve-Laptop_XESTD not found.
C:\Users\steve> -
How can I disable iPhoto from automatically starting when I connect my iPhone?
Whenever I connect my iPhone to my Mac it automatically starts iPhoto? How can I make this not happen?
Go into iPhoto's General preference pane and set the Connecting camera opens to No Application:
OT -
How can i disable imessage from automatically starting up when i turn on macbook air?
how can i disable imessage from automatically starting up when i turn on macbook air? i dont know my imessages to pop up on my laptop when it turns on. But i dont want to disable imessage totally on my macbook.
Welcome to the Apple Support Communities
First of all, check that Messages is closed when you turn off your MacBook. This is so important because, by default, OS X will reopen all opened apps the next time you start your Mac.
Apart from that, when you go to > Shut Down, or > Restart, in the window you see to restart or turn off your MacBook, unmark "Reopen windows when logging back in". This will avoid that your Mac opens all opened apps the next time you start the MacBook, so Messages won't start automatically at startup -
Hi,
Actually I have gone through many posts based on this thread. but no one really have a proper solution for it ...I have a situation like this,
I have a 2 node cluster on 10RAC. I was able to access respective oem url's from both the nodes before. But now somehow I am not able to access the OEM url from the first node. I can still access the OEM url from other node. When I tried to troubleshoot, I noticed that it is dbconsole problem. I am getting error while starting the dbconsole as follows,
oracle10g>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.1.0.4
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://rac01:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory oracle/app/product/10.1.0/rac01_abc1/sysman/log
you have mail in /var/mail//oracle
When I looked into emdctl.trc, i can see following error message is repeating.
2006-09-06 16:43:05 Thread-1 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (error = 146)
2006-09-06 16:45:36 Thread-1 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (error = 146)
2006-09-06 16:48:08 Thread-1 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (error = 146)
in emagent.trc i am getting following errors.
2006-09-06 16:50:34 Thread-192 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (erro
r = 146)
2006-09-06 16:50:34 Thread-192 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://racnyc01:5500/em/upload
/: retStatus=-32
2006-09-06 16:50:34 Thread-192 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (erro
r = 146)
2006-09-06 16:50:34 Thread-192 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://racnyc01:5500/em/upload
/: retStatus=-32
2006-09-06 16:50:37 Thread-194 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2006-09-06 16:50:50 Thread-196 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2006-09-06 16:51:04 Thread-197 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (erro
r = 146)
2006-09-06 16:51:04 Thread-197 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://racnyc01:5500/em/upload
/: retStatus=-32
2006-09-06 16:51:04 Thread-197 WARN http: snmehl_connect: connect failed to (racnyc01:5500): Connection refused (erro
r = 146)
2006-09-06 16:51:04 Thread-197 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://racnyc01:5500/em/upload
/: retStatus=-32
emagent.log says
2006-09-06 16:22:27 Thread-1 Starting Agent 10.1.0.4.0 from /orasw/app/oracle/product/10.1.0 (00701)
2006-09-06 16:22:32 Thread-1 EMAgent started successfully (00702)
emdb.nohup shows following error message
----- Wed Sep 6 16:53:10 2006::DBConsole exited at Wed Sep 6 16:53:10 2006 with return value 7. -----
----- Wed Sep 6 16:53:10 2006::Restarting DBConsole. -----
----- Wed Sep 6 16:53:10 2006::Console Launched with PID 18803 at time Wed Sep 6 16:53:10 2006 -----
06/09/06 16:53:24 Error starting ORMI-Server. Unable to bind socket: Address already in use
~
If anyone has solved this type of problem, then please guide me in this.
Thanks in advance !!!Replies Here:
Re: Error in starting dbconsole -
Unable to start dbconsole ???
i am installing oracle 10g on rhel 5. i am able to install oracle and create database. but when i try to configure database console with the command
emca -config dbcontrol db -repos recreate
it throws the folloging error.
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
[oracle@ny2prdbs02 database]$ vi /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log
the logfile is
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'drop' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: prod
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: This is expected, as we might be calling it from a non-rac home
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Error retrieving the local node for the cluster
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user:
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:31:55 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Mar 14, 2008 6:31:59 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:21 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EMAIL_ADDRESS value:
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MAIL_SERVER_NAME value:
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 61135663
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /opt/db/oracle/product/10.2.0/prod/install/staticports.ini
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getConfiguredPorts
CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_prod value: 3938
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_prod value: 1158
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_prod value: 5540
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_prod value: 5520
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getConfiguredPorts
CONFIG: Configured ports for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0/prod]
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: 5540 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: 5520 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: 1158 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: 3938 from /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/config/emd.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole completed successfully
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in /opt/db/oracle/product/10.2.0/prod/sysman/config/emca.properties
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [EMDROOT=/opt/db/oracle/product/10.2.0/prod, LD_LIBRARY_PATH=/opt/db/oracle/product/10.2.0/prod/lib32:/opt/db/oracle/product/10.2.0/prod/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib:null, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, PERL5LIB=/opt/db/oracle/product/10.2.0/prod/perl/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib/site_perl:/opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts:/opt/db/oracle/product/10.2.0/prod/bin:]
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod completed successfully
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: nmccollector process does not exist
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
CONFIG: Successfully stopped nmc-collector process
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [ORACLE_HOME=/opt/db/oracle/product/10.2.0/prod, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin]
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log completed successfully
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Enter SYS user's password :
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Environment :
ORACLE HOME = /opt/db/oracle/product/10.2.0/prod
REPOSITORY HOME = /opt/db/oracle/product/10.2.0/prod
SQLPLUS = /opt/db/oracle/product/10.2.0/prod/bin/sqlplus
SQL SCRIPT ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/sql
EXPORT = /opt/db/oracle/product/10.2.0/prod/bin/exp
IMPORT = /opt/db/oracle/product/10.2.0/prod/bin/imp
LOADJAVA = /opt/db/oracle/product/10.2.0/prod/bin/loadjava
JAR FILE ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/lib
JOB TYPES ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin
Arguments :
Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)))
Action = drop
Repos User = SYSMAN
Default tablespace = MGMT_TABLESPACE
Default Data file = mgmt.dbf
Dflt Dfile Init size = 20m
Dflt Dfile Ext size = 20m
ECM tablespace = MGMT_ECM_DEPOT_TS
ECM Data file = mgmt_ecm_depot1.dbf
ECM Dfile Init size = 100m
ECM Dfile Ext size = 100m
TEMP tablespace = TEMP
Create options = 3
Verbose output = 1
Output File = /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Repos creation mode = CENTRAL
MetaLink user name = NOTAVAILABLE_
MetaLink URL = http://updates.oracle.com
Export Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
Import Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
Checking SYS Credentials ... File - /tmp/rnyK6fhnSO/wLqKcwtPyQ.sql.Return code = 0.OK.
Dropping the repository..
Quiescing DB ... File - /tmp/YwZHBTVEIu/bzDxfeO9FG.sql.Return code = 0.Done.
Checking for Repos User ... File - /tmp/dy1P6wGFBP/VS8m86m9Hs.sql.Return code = 0.Exists.
Repos User exists..
Clearing EM Contexts ... Clearing contexts. File - /tmp/oOROSl66kk/sgZFnKo6jz.sql.
Clearing contexts. Return code = 0.
OK.
Dropping EM users ...
Drop EM Users. File - /tmp/bYei4slzVy/wQbq6YLNKI.sql.
Drop EM Users. Return code = 0.
Done.
Dropping Repos User ... Drop Repos User. File - /tmp/qUP3yHcMBH/UNDSwGP2l7.sql
Drop Repos User. Return code = 0.
Done.
Dropping Roles/Synonymns/Tablespaces ... File - /tmp/L0t3oofhca/jxDRMIfdev.sql.Return code = 0.Done.
Unquiescing DB ... Temp File - /tmp/PJ9h6I55jX/ysfFzgNAsy.sql. Return code = 0.Done.
Dropped Repository Successfully.
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_create_2008-03-14_06-33-13-AM.log
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully granted priviliges to dbsnmp.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocked mgmt_view account
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYSMAN
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties ...
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig deleteOC4JDir
CONFIG: Deleting state directories
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence/_pages
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms0
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/persistence
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/log
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Copying OC4J config files from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/data-sources.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/internal-settings.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/application.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/http-web-site.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/mime.types
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/principals.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/oc4j-connectors.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/java2.policy
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/server.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn-data.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/rmi.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/global-web-application.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF/MANIFEST.MF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp/orion-web.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Finished copying OC4J config files
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/install/portlist.ini.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/install/portlist.ini
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /opt/db/oracle/product/10.2.0/prod/install/portlist.ini is successfully updated
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/log
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)Hi,
before trying to issue the command emca -config dbcontrol db -repos recreate you should:
1)set the ORACLE_HOME env variable
2)set the ORACLE_HOSTNAME env variable
Greetings...
Sim -
SAP system doesn't automatically start after restart (but manual start ok)
Hi,
We've got a new production line of SAP EP 7.0 systems, which have CI on HP-UX and DIs on windows. The version is NW2004s SPS09.
What we see is that after a restart of the windows servers (usually because of windows patching), the SAP system doesn't automatically start up. It doesn't start up if I restart the SAP<SID>_<instance> service either.
However, I've got no problem starting the system with the MMC.
Any idea what I am missing here? is it as simple as a profile parameter ?
As far as I can see the profile used seem ok.
After a restart of the windows server the following files have log entries in the c:\usr\sap\<SID>\J<instance>\work folder
sapstartsrv.log
trc file: "sapstartsrv.log", trc level: 0, release: "700"
Fri Nov 17 15:51:26 2006
<<- ERROR: SapSSLInit(read_profile=1)==SSSLERR_LIB_NOT_FOUND
sapstart.log
Starting WebService thread
SapSSLInit failed => https support disabled
Webservice named pipe thread started, listening on port
.\pipe\sapcontrol_97
Webservice thread started, listening on port 59713
sapstart.trc
Starting WebService thread
SapSSLInit failed => https support disabled
Webservice named pipe thread started, listening on port
.\pipe\sapcontrol_97
Webservice thread started, listening on port 59713
The windows event log have the application events
(first)SAP Service SAP<SID>_<instance> successfully started.
(at the same time)
Failed to update service environment from user (STATOIL-NET\<sid>adm) environment. [ntservmgr.cpp 201]
(note that this doesn't happen for all systems which have this problem, for other there is no entry like this)
I see no failed login attemps in the security event log, but see the that a login is performed for SAPService<SID>.
Since it also fails to automatically startup when I restart the service, I am able to use filemon to see what happens at a file level. Here I see that it can access the shared file system without any problems, and can read the profile and everything.
MOM is running on the server and gets some Access denied errors since it doesn't have access to the shared file system, but I don't think that matters.
Cheers
Dagfinnhi we are using sap bw 3.5 . database is oracle 9i
i applied a kernel patch and when i tried to start the services . there was no problem with the oracle services and saposcol but the service sap<sid>_nr did not start .
when i went to check the error in work folder ..
it say " SapSSLinit failed => https support disabled .
then i tried to start sap from cmd pmt . din`t work .
is there a way to statrt this ...
thanks alot.
arjun -
When I insert an audio CD into my iMac, it automatically starts playing
When I insert an audio CD into my iMac, it automatically starts playing, and I can't figure out why, nor how to stop this behavior. When I click in the upper right corner of my screen where it says "Finder", it shows the Finder as the only application running, and yet SOMETHING must be causing the CD to play. If it is an Extension that is being loaded, is it possible to terminate the Extensions one by one without restarting the computer to see which one is playing the CD?
Is the OS9.1 operating system supposed to automatically play audio CD's when they are inserted into the iMac? Or could it be an Extension that is doing it?And if so, why is no means provided to actually CONTROL the playing of the CD (such as a control panel with PLAY, STOP, SKIP, etc. buttons)?
On a PC, I can press Control/Alt/Delete to bring up the "Task List" that will show me ALL applications and processes currently running, and then terminate apps and processes one by one without having to restart the computer to see which one is playing the CD. Is there an equivalent way to display this information on an iMac that will show me which application or process or extension might be causing the audio CD to play, and allow me to terminate them one by one without restarting the computer until I can see which one is the "problem"?
JerryHi, Jerry -
Welcome to Apple's Discussions.
Finder uses QuickTime in the background to do that, hence no specific app is shown in the Application menu (the far right item in the main menu bar) in addition to Finder.
To unset automatic playing of CDs (and DVDs) -
Open the QuickTime Settings control panel (Apple menu > Control Panels > QuickTime Settings).
In that control panel, select AutoPlay from the pulldown menu in the control panel. Uncheck both the items shown in the new window. Close the control panel.
No restart should be needed in order to make the change effective.
Doing this will also guard against the (now ancient) AutoPlay virus, which could still be lurking somewhere on the net. -
tried to reinstall OSX Mountain Lion 10.8.4 and every time i start with the installation i get a requested time out message, had to shut down my MacBook Pro retina. Now when i start up it automatically start internet recovery for two ouers. After the internet recovery the same problem with reinstalling OSX message
Gave up on the GUI. This script derived from http://blog.netnerds.net/2012/07/os-x-how-to-setup-nat-on-lion-and-mountain-lion / seems to work for me:
gwdev=en0 # This is my WiFi connection (has Internet connection)
targetdev=en1 # This is the USB to Ethernet adapter (to give Internet connection)
/sbin/ifconfig $targetdev down
/sbin/ifconfig bridge0 create
/sbin/ifconfig bridge0 up
/sbin/ifconfig bridge0 addm $gwdev
/sbin/ifconfig bridge0 $HOST_ADDR
/sbin/route add default -interface bridge0 -ifscope bridge0 -cloning
/usr/sbin/sysctl -w net.inet.ip.forwarding=1
/sbin/ipfw add 100 divert natd ip from any to any via $gwdev
/usr/sbin/natd -interface $gwdev -use_sockets -same_ports -unregistered_only -dynamic -clamp_mss -enable_natportmap -natportmap_interface $targetdev -
Whenever i start my ipad2 the applications automatically starts to open and close automatically jumps from one screen to another cannot operate the ipad at all, tried switching off and back on again, also restored the ipad but of no use
try restart
http://support.apple.com/kb/HT1430
Maybe you are looking for
-
Why do we, and the law, allow HD manufacturers to screw us?
First of all, before anyone calls me a n00b, I DO understand why a 16GB (for example) drive is actually less, because manufacturers use decimal values when advertising, where as a gigabyte is actually measured in powers of two, giving 1024 megs. My q
-
Convert a string to date, so that i can insert it on SQL database
Hi, me again.. i have this variable date.getText() i want to convert it to date, so i did this: d = (Date) DateFormat.parse(date.getText()); but it says "Cannot make a static reference to the non-static method parse(String) from the type DateFormat"
-
Storing Data in multiple tables of a database
HI In my process i need to store all the data from the process to a database.i want to store the data in multiple tables of the database.Is it possible to store the data in multiple tables using the database acitivity in livecycle and how to do it?
-
Installed FMS4 in a different port number, but its not working..
Hi.. Parden me if this question was asked earlier. While installing FMS i have entered the port numbers 1935,100 instead of normal 1935,80 as i already have wamp in my default port 80, but when i try to call the localhost url, both the port (http://
-
Arch Linux Pumpkin Carving!
After seeing Best Halloween Pumpkin Carvings from Ghost1227's blog, it inspired me to do a unique pumpkin carving this year. Looking through the archive of awesome pumpkin carvings, of course I didn't see Arch Linux (but there was Tux fortunately). S