Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 150184 Details for
Bug 232531
dbora not running when it is enabled as a K-script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
initscript for oracle (dbora)
dbora (text/plain), 2.05 KB, created by
Kurt Heine
on 2007-03-16 00:10:27 UTC
(
hide
)
Description:
initscript for oracle (dbora)
Filename:
MIME Type:
Creator:
Kurt Heine
Created:
2007-03-16 00:10:27 UTC
Size:
2.05 KB
patch
obsolete
>#!/bin/sh > ># ># chkconfig: 345 91 19 ># config: /etc/oratab ># description: Startup/Shutdown Oracle listener and instance(s) > ># Source function library. >. /etc/rc.d/init.d/functions > ># Change the value of ORACLE_HOME to specify the correct Oracle home ># directory for you installation >ORACLE_HOME=/app/oracle/product/10.2.0/db_1 > ># Change the value of ORACLE to the login name of the oracle owner ># at your site >ORACLE=oracle > >PATH=$ORACLE_HOME/bin:$PATH >HOST=`hostname` >PLATFORM=`uname` >export ORACLE_HOME PATH > >LOG=$ORACLE_HOME/startup.log >touch $LOG >chmod a+r $LOG > >function start() { > echo "$0: Starting up" >> $LOG > date >> $LOG > > # Start Oracle Net > echo "Starting Oracle Net Listener" > su -l $ORACLE -c "export ORACLE_HOME=$ORACLE_HOME ; $ORACLE_HOME/bin/lsnrctl start >> $LOG 2>&1" > > # Start the databases > echo "Starting Oracle databases" > su -l $ORACLE -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME >> $LOG 2>&1" > > # Start OEM web interface > echo "Starting Oracle Enterprise Manager" > #su -l $ORACLE -c "$ORACLE_HOME/bin/emctl start dbconsole >> $LOG 2>&1 &" > #su -l $ORACLE -c "$ORACLE_HOME/bin/emstart >> $LOG 2>&1" >} > >function stop() { > echo "$0: Shutting down" >> $LOG > date >> $LOG > > echo "Stopping Oracle Enterprise Manager" > #su -l $ORACLE -c "$ORACLE_HOME/bin/emctl stop dbconsole >> $LOG 2>&1" > #su -l $ORACLE -c "$ORACLE_HOME/bin/emstop >> $LOG 2>&1" > > echo "Stopping Oracle databases" > # su -l $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME >> $LOG 2>&1" > echo "$ORACLE_HOME/bin/dbshut $ORACLE_HOME" > su -l $ORACLE -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME" > > # Stop Oracle Net > # *** Dont need this as dbshut stops the listener service now *** > # echo "Stopping Oracle Net Listener" > # su -l $ORACLE -c "export ORACLE_HOME=$ORACLE_HOME ; $ORACLE_HOME/bin/lsnrctl stop >> $LOG 2>&1" >} > >case "$1" in > start) > start > ;; > stop) > stop > ;; > restart) > stop > start > ;; > *) > echo "usage: $0 {start|stop|restart}" > exit 1 > ;; >esac > >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 232531
: 150184