在linux操作系统下,如何启动服务与监听命令?首先必须以oracle用户登陆:
1、启动数据库:
以下为引用的内容:
oracle@suse92:~> sqlplus /nolog
sql*plus: release 9.2.0.4.0 - production on fri jan 20 02:29:37 2006
copyright (c) 1982, 2002, oracle corporation. all rights reserved.
sql> connect /as sysdba
connected to an idle instance.
sql> startup
oracle instance started.
total system global area 135352820 bytes
fixed size 455156 bytes
variable size 109051904 bytes
database buffers 25165824 bytes
redo buffers 679936 bytes
database mounted.
2、关闭数据库:
以下为引用的内容:
oracle@suse92:~> sqlplus /nolog
sql*plus: release 9.2.0.4.0 - production on fri jan 20 02:29:37 2006
copyright (c) 1982, 2002, oracle corporation. all rights reserved.
sql> connect /as sysdba
connected to an idle instance.
sql> shutdwon abort;
3、启动监听器
以下为引用的内容:
oracle@suse92:~> lsnrctl start
4、停止监听器
以下为引用的内容:
oracle@suse92:~> lsnrctl stop
5、查看监听器状态
以下为引用的内容:
oracle@suse92:~> lsnrctl
lsnrctl> status
lsnrctl> exit
中国足彩网信息请查看IT技术专栏
2025国考·省考课程试听报名