Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Boot self-start of ORACLE under AIX

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Platform: AIX 5.3 ORACLE 10.2.0.1

Prerequisite: ORACLE software and instances have been installed

Purpose: ORACLE boot self-startup

Specific operations:

Step 1: modify / etc/oratab to change "N" to "Y" to support boot

# vi / etc/oratab

Zydb:/oracle/product/10.2.0/db_1:Y

Step 2:

Create a startup script and grant relevant permissions

Under the / home/oracle directory, create start_db.sh / / this path is not specific

$su-oracle

$vi start_db.sh

#! / bin/sh

ORACLE_HOME=/oracle/product/10.2.0/db_1

ORACLE_BASE=/oracle

ORACLE_SID=zydb

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.:/oracle/product/10.2.0/db_1/bin:.:/usr/local/bin

Export ORACLE_HOME

Export ORACLE_BASE

Export ORACLE_SID

Export PATH

Echo "#"

Echo "# Starting the Listener #"

Echo "#"

Lsnrctl start

Echo ""

Echo ""

Echo ""

Echo "#"

Echo "# Starting the instance: $ORACLE_SID #"

Echo "#"

Sqlplus / nolog / home/oracle/oracle.log 2 > & 1

At this time, the boot automatic configuration is completed, and ORACLE starts automatically when the system is rebooted.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report