1. 如果未在环境变量中指定实例名,则lsnrctl命令需要指定实例名。
2. lsnrctl stop 实例名
3. 1、启动数据库:
4. oracle@suse92:~> sqlplus /nolog
5.
6. SQL*Plus: Release 9.2.0.4.0 - Production on Fri Jan 20 02:29:37 2006 oracle登录命令
7.
8. Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
9.
10. SQL> connect /as sysdba
11. Connected to an idle instance.
12. SQL> startup
13. ORACLE instance started.
14.
15. Total System Global Area 135352820 bytes
16. Fixed Size 455156 bytes
17. Variable Size 109051904 bytes
18. Database Buffers 25165824 bytes
19. Redo Buffers 679936 bytes
20. Database mounted.
21.
22. 2、关闭数据库:
23. oracle@suse92:~> sqlplus /nolog
24.
25. SQL*Plus: Release 9.2.0.4.0 - Production on Fri Jan 20 02:29:37 2006
26.
27. Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
28.
29. SQL> connect /as sysdba
30. Connected to an idle instance.
31. SQL> shutdwon abort;
32.
33. 3、启动
34. oracle@suse92:~> lsnrctl start
35.
36. 4、停止
37. oracle@suse92:~> lsnrctl stop
38.
39. 5、查看状态
40. oracle@suse92:~> lsnrctl
41. LSNRCTL> status
42. LSNRCTL> exit
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论