- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle 9i startup error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 09:29 PM
07-11-2004 09:29 PM
Oracle 9i startup error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 09:42 PM
07-11-2004 09:42 PM
Re: Oracle 9i startup error
I am not very sure of your question. If you are having problems starting Oracle, make sure that the following are ok
1. Look thru your inittab and make sure that
the startup for Oracle is present
2. Make sure that all your environment
variables are poiting properly
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 11:18 PM
07-11-2004 11:18 PM
Re: Oracle 9i startup error
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 11:36 PM
07-11-2004 11:36 PM
Re: Oracle 9i startup error
Where you have something like that on your startup/shtudown DB script:
svrmgrl << EOT
connect internal;
startup;
quit
EOT
exit_code=$?
else
echo
echo "Shutting down database $DB_NAME ..."
echo
svrmgrl << EOT
connect internal;
shutdown $shutdown_mode;
quit
EOT
You should have now:
sqlplus << EOT
connect / as sysdba;
startup;
quit
EOT
exit_code=$?
else
echo
echo "Shutting down database $DB_NAME ..."
echo
sqlplus << EOT
connect / as sysdba;
shutdown $shutdown_mode;
quit
EOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 06:49 PM
07-12-2004 06:49 PM
Re: Oracle 9i startup error
Since the 8i version svrmgrl would be replace with sqlplus, on 8i database the 2 tools could be used.
In 9i U should use sqlplus
In our shell, we use the folling thing
# -- Startup base
echo "- Action : `date +%H:%M:%S` : Startup ${L_Base}" >> ${L_FicLog}
sqlplus /nolog <
shutdown immediate
startup
exit
EOC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 08:08 PM
07-12-2004 08:08 PM
Re: Oracle 9i startup error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2004 01:30 AM
07-13-2004 01:30 AM
Re: Oracle 9i startup error
If /etc/oratab has a 'Y' at the end of the line, $ORACLE_HOME/bin/dbstart will start your database. dbstart and dbshut check this file and terminate if they "see" anything other than Y. The last root.sh script sets up /etc/oratab.
If you want to start automatically on bootup, there should be
1.) /etc/rc.config.d/oracle that sets the variable ORACLE_START=1
2.) /sbin/init.d/oracle that contains the script to start oracle and print the cool messages that you see on the console when you start.
3.) A symbolic link Snnnoracle in /sbin/rc3.d that points to /sbin/init.d/oracle
where nnn is a number. The scripts starting with S in this directory are executed in alphabetical order when the system enters run level 3.
4.) /sbin/rc2.d has a symobolic Knnnoracle link also pointing /sbin/init.d/oracle. When you leave run level 3 for run level 2 the K scripts are run. The numbers for the K and the S scripts should add together to be 1000.
This way the last service started will be the first service stopped. (S900oracle and K100oracle for example)
These should have been created standard when Oracle installed. The only tweak I recommend is that you modify the dbshut script to do a shutdown immediate. A simple shutdown is too polite in that you have to wait for everyone to log off before it shuts down. PAVIC's tweak that echos the db startup time is a nice one too.
If you don't want Oracle to start at bootup, you might consider putting them at run-level 4. /etc/inittab is sets up your run level after boot (typically 3), but there is nothing to prevent root from changing the run level to 4, 5 or 6 to start additional services after boot.