Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to change hostname in Linux Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • process id based files and processes Linux/Unix
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • Unix split command to split files Linux/Unix
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Oracle Identifiers Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • set_env_dba Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress

How do I get Oracle to automatically start when my server boots up?

Posted on 23-Aug-2005 By Admin No Comments on How do I get Oracle to automatically start when my server boots up?

Make sure the entry for your database SID in the ORATAB file ends in a capital “Y”. Eg:

# $ORACLE_SID:$ORACLE_HOME:[N|Y]

#

ORCL:/u01/app/oracle/product/8.0.5:Y

#

The scripts for starting and stopping databases are: $ORACLE_HOME/bin/dbstart and dbshut. SQL*Net (or Net8) is started with the lsnrctl command. Add the following entries to your /etc/rc2.d/S99dbstart (or equivalent) file:

su – oracle -c “/path/to/$ORACLE_HOME/bin/dbstart” # Start DB’s

su – oracle -c “/path/to/$ORACLE_HOME/bin/lsnrctl start” # Start listener

su – oracle -c “/path/tp/$ORACLE_HOME/bin/namesctl start” # Start OraNames (optional)

Oracle, SQL scripts

Post navigation

Previous Post: Check Oracle installed products using one command
Next Post: Monitor and Trace Unix processes using truss

Related Posts

  • Sequence Resetting Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Updated LCK.SQL file. Oracle
  • Oracle 10g for solaris 10 Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • My Minimum Tuning Programs Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Logic to chech # of parameters command line parameters Linux/Unix
  • Committing distributed transaction using commit force Oracle
  • tab.sql Oracle
  • note id 373303.1 Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • Jai Shree Ram Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • refre.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme