oracle 檢視監聽是否啟動:lsnrctl service
oracle 啟動監聽:lsnrctl start
oracle 停止監聽:lsnrctl stop
oracle 啟動資料庫:sqlplus '/as sysdba' startup
oracle 停止資料庫:shutdown immediate
如果在安裝完資料庫後以root使用者修改/etc/oratab檔案,如下:
把 資料庫執行個體名(如ora10g)/database/product/10.2.0/db_1:N中的“N”改為“Y”,儲存
以作業系統使用者oracle登陸到系統,使用dbstart,dbshut即可實作Oracle資料庫的啟動,停止。