- 停止:
$ sudo su - oracle
$ lsnrctl stop
$ sqlplus "/as sysdba"
SQL> shutdown immediate;
SQL> quit
- 启动:
$ lsnrctl start
$ sqlplus /nolog
SQL> connect / as sysdba
SQL> startup;
$ sudo su - oracle
$ lsnrctl stop
$ sqlplus "/as sysdba"
SQL> shutdown immediate;
SQL> quit
$ lsnrctl start
$ sqlplus /nolog
SQL> connect / as sysdba
SQL> startup;