In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. After installing the Oracle database: execute dbstart and dbshut will prompt:
[oracle@oracle11g ~] $dbstart
ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
Usage: / u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart ORACLE_HOME
The reason for the error is that there is a problem with the setting of ORACLE_HOME_LISTNER in dbstart and dbshut script files. Open two files to find: ORACLE_HOME_LISTNER=$1, modify to
ORACLE_HOME_LISTNER=$ORACLE_HOME, the command is as follows:
[oracle@oracle11g ~] $vi $ORACLE_HOME/bin/dbstart
[oracle@oracle11g ~] $vi $ORACLE_HOME/bin/dbshut
Save and exit after modification, the first problem has been solved
two。 How to automatically start Oracle snooping and instances when Linux starts
First of all, we have to solve the above problems before we can continue!
Step 1: modify the / etc/oratab file with the following command:
[oracle@oracle11g ~] $vi / etc/oratab
Found: oauat:/u01/app/oauat/product/11.2.0/db_1:N modified to: oauat:/u01/app/oauat/product/11.2.0/db_1:Y
Step 2: add lsnrctl start and dbstart to the rc.local file with the following command:
[oracle@oracle11g ~] $vi / etc/rc.d/rc.local
Add:
Su oracle-lc "/ u01/app/oauat/product/11.2.0/db_1/bin/lsnrctl start"
Su oracle-lc / u01/app/oauat/product/11.2.0/db_1/bin/dbstart
Note: the first command has spaces, so use quotation marks
Try rebooting!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.