linux重启oracle监听和服务
- 使用ssh登录到linux服务器,登录成功后会显示last login:最后一次登录的时间。
- 切换到oracle用户
su - oracle
进入oracle的bin目录下cd $ORACLE_HOME/bin
- 重启监听
lsnrctl start #重启监听器
1.重启服务
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Mon Jun 3 16:54:28 2019
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn as sysdba
Enter user-name: system
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 1258293360 bytes
Database Buffers 335544320 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
到此,结束。