- 停止:
$ 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;