Linux system under the website problems, you can restart the oracle database for processing, and restart the oracle database methods are many, you can log in to the database for operation, but also in the terminal operation Let's take a look at the specifics with Xiaobian.
website service disruption, and is found next restart oralce service does not exist, do not want to restart the machine, you reboot oralce, and then restart the service.
The operation is oracle9i:
(1) Log in to the database as oracle, command: su – oracle
(2) Enter Sqlplus console, command: sqlplus /Nolog
(3) Log in as the system administrator, command: connect /as sysdba
(4) Start the database, command: startup
(5) If the database is closed , command: shutdown immediate
(6) Exit sqlplus console, command: exit
(7) Enter the firmware console, command: lsnrctl
(8) Start Firmware, (if you have already started it, you don't need it) Command: start
(9) Exit the console, command: exit
(10) Restart the database
Other reference methods are as follows:
Method 1:
Log in to linux as root with ssh, open the terminal and enter the following command:
Code Copy code as follows
cd $ORACLE_HOME #Enter the oracle installation directory
dbstart #restart the server
lsnrctl start #restart listener
cd $ORACLE_HOME #Enter the oracle installation directory
dbstart #restart server
lsnrctl start #restart listener
Method 2:
Sql Code
Code Copy Code as follows
cd $ORACLE_HOME/bin #Enter the oracle installation directory
. /dbstart #restart server
. /lsnrctl start #restart listener
Supplement
Starting oracle in linux is mainly divided into two steps:
One is to start the listener, one is to start the instance (usually forgot This step), the specific command is as follows, for your reference:
1: Connect to the server
telnet ip
2: Enter the administrator user and password
user-name:oracle
password:oracle
3: Enter the oracle root directory
cd $ORACLE_HOME/bin
4: Enter the listener < Br>
. /lsnrctl
5: Start Listener
start
6: Exit Listening
exit
7: Enter sqlplus
sqlplus /nolog
8: Using an administrator connection
connect as sysdba
9: Entering a user and password
user-name:oracle
password:oracle
10: Start ORACLE instance
startup
The above is the Linux restart oracle database method introduced, in addition to the introduction of the oracle database The restart method also introduces the method of starting the oracle database, I hope to help friends who do not understand the oracle database.
Although the Ubuntu system will have a graphics card driver installed after installing a version, th
When we use a computer, we always open many applications and processes. How do we c
The biggest feature of the vsftpd server is that it is safe enough to run on a Linu
When doing a Java website project, if you encounter a problem that the Tomcat serve
Linux installation third-party library error Python version 2.7 how to do?
How does the Linux system redirect data streams?
Linux software raid operation guide
Example of isosize instruction operation in Linux
Ways to debug network performance using tools under Linux
How to use the cut command to intercept file information in Linux
How does Linux distinguish whether a computer has a USB 3.0 interface
How to hide the administrator user name of the Win7 login interface
How to create .ISO files from Windows 7.VHD files
Win7 system browser browsing page prompts the website can not display the solution of the page
How does Win10 prohibit the annoying prompt box that pops up when opening a new app
Win10 vpn connection 720 error how to do? vpn720 error solution
Win10 technology preview release announcement: will not start after more than
Win10 cumulative update KB3194798 allows the disk to generate 3.99TB of removable garbage