Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Unix command for system configuration Linux/Unix
  • nfs mount command Linux/Unix
  • Important Script Method for tuning Oracle
  • ORA-01220 Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • checking redhat linux version Linux/Unix
  • New OFA for 11g Oracle
  • Giving Grant on v$DATABASE Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • create user with unlimited quota Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • tab.sql Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Distributed Transaction Troubleshooting. Oracle

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

  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • V$transaction notes for finding XID composition. Oracle
  • Index Range Scan Oracle
  • Jai Shree Ram Oracle
  • lck.sql Oracle
  • logminer and my_lbu Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • oracle_env_10g_CADEV Linux/Unix
  • The most important Tuning Notes Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server
  • Renaming Global Name GLOBAL_NAME Oracle
  • get_vmstat_linux Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • to see when crontab is changed. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme