当前位置:  数据库>oracle

Oracle ASM配置使用FTP和HTML访问ASM

    来源: 互联网  发布时间:2017-04-01

    本文导语:  $ lsnrctl statusLSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-NOV-2010 10:42:52Copyright (c) 1991, 2007, Oracle.  All rights reserved.Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))STATUS of the LISTENER------------------------Alias                     LISTE...


$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-NOV-2010 10:42:52

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_DB07
Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date                29-OCT-2010 13:13:18
Uptime                    5 days 21 hr. 29 min. 34 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oratest/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /home/oratest/product/10.2.0/db_1/network/log/listener_db07.log
Listening Endpoints Summary...

Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TEST" has 2 instance(s).
Instance "TEST1", status READY, has 2 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TESTXDB" has 2 instance(s).
Instance "TEST1", status READY, has 1 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TEST_XPT" has 2 instance(s).
Instance "TEST1", status READY, has 2 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
The command completed successfully


SQL> execute dbms_xdb.sethttpport(8080);

PL/SQL procedure successfully completed.

SQL> execute dbms_xdb.setftpport(2100);

PL/SQL procedure successfully completed.

SQL> commit;

Commit complete.

$ srvctl stop database -d TEST
$ srvctl start database -d TEST

$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-NOV-2010 10:57:31

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_DB07
Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date                29-OCT-2010 13:13:18
Uptime                    5 days 21 hr. 44 min. 13 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /home/oratest/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /home/oratest/product/10.2.0/db_1/network/log/listener_db07.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.32.10.247)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.32.10.72)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TEST" has 2 instance(s).
Instance "TEST1", status READY, has 2 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TESTXDB" has 2 instance(s).
Instance "TEST1", status READY, has 1 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
Service "TEST_XPT" has 2 instance(s).
Instance "TEST1", status READY, has 2 handler(s) for this service...
Instance "TEST2", status READY, has 1 handler(s) for this service...
The command completed successfully
已经正常监听HTTP:8080和FTP:2100端口。

$ ftp> Connected to db07.jiade.com.
220- db07
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
220 db07 FTP Server (Oracle XML DB/Oracle Database) ready.
530  Please login with USER and PASS.
530  Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
ftp> (数据库用户和密码)
331 pass required for SYSTEM
230 SYSTEM logged in

ls  : 列出当前目录下的所有文件和目录
cd : 切换目录

Step-by-Step
ftp> 227 Entering Passive Mode (10,32,10,72,112,6)
150 ASCII Data Connection
drw-r--r--   2 SYS      oracle         0 SEP 14 03:55 home
drw-r--r--   2 SYS      oracle         0 MAR 12 00:59 public















































































































-rw-r--r--   1 SYS      oracle         0 NOV 04 02:50 xdbconfig.xml

ftp> ftp> 200 PORT Command successful
150 ASCII Data Connection
drw-r--r--   2 SYS      oracle         0 MAR 12 00:59 acls
drw-r--r--   2 SYS      oracle         0 MAR 12 00:59 apps
-rw-r--r--   1 SYS      oracle         0 SEP 14 03:55 databaseSummary.xml
drw-r--r--   2 SYS      oracle         0 MAR 12 00:59 log
drw-r--r--   2 SYS      oracle         0 MAR 12 00:59 oid
drw-r--r--   2 SYS      oracle         0 SEP 14 03:55 schemas
226 ASCII Transfer Complete

ftp> 250 CWD Command successful
ftp> ls
227 Entering Passive Mode (10,32,10,72,56,54)
150 ASCII Data Connection
drw-r--r--   2 SYS      oracle         0 NOV 04 03:13                                      (2个DiskGroups)
drw-r--r--   2 SYS      oracle         0 NOV 04 03:13
226 ASCII Transfer Complete

ftp>
257 "/sys/asm/data/test/datafile" is current directory.
ftp> 200 PORT Command successful
150 ASCII Data Connection
-rw-r--r--   1 SYS      oracle  681582592 NOV 04 03:18 SYSAUX.256.734110923
-rw-r--r--   1 SYS      oracle  524296192 NOV 04 03:18 SYSTEM.257.734111145
-rw-r--r--   1 SYS      oracle  104865792 NOV 04 03:18 EXAMPLE.258.734111271
-rw-r--r--   1 SYS      oracle  89137152 NOV 04 03:18 UNDOTBS1.259.734111315
-rw-r--r--   1 SYS      oracle  34611200 NOV 04 03:18 UNDOTBS2.260.734111351
-rw-r--r--   1 SYS      oracle   5251072 NOV 04 03:18 USERS.262.734111393
226 ASCII Transfer Complete

ftp>257 "/sys/asm/flash_recovery_area/test/archivelog/2010_11_04" is current directory.
ftp> 200 PORT Command successful
150 ASCII Data Connection
-rw-r--r--   1 SYS      oracle  45303808 NOV 04 03:20 thread_1_seq_123.472.734176827
226 ASCII Transfer Complete

ftp> Local directory now /

ftp> 227 Entering Passive Mode (10,32,10,72,126,198)
150 ASCII Data Connection
-rw-r--r--   1 SYS      oracle  45303808 NOV 04 03:22 thread_1_seq_123.472.734176827
226 ASCII Transfer Complete
ftp>
200  Type set to I.
ftp> local: thread_1_seq_123.472.734176827 remote: thread_1_seq_123.472.734176827
227 Entering Passive Mode (10,32,10,72,84,203)
150 BIN Data Connection
226 BIN Transfer Complete
45303808 bytes received in 1 seconds (4.4e+04 Kbytes/s)

http://www.linuxidc.com:8080
出来窗口输入数据库用户密码





















































    
 
 

您可能感兴趣的文章:

  • oracle中fdisk导致的ASM磁盘数据丢失的解决方法
  • Oracle ASM自动管理存储管理简介
  • Oracle ASM环境下怎么进行数据库冷备
  • Oracle asm 添加磁盘组
  • 探索ORACLE之ASM概念(完整版)
  • 配置Oracle management server /Oracle启动OMS
  • 在Redhat7.2+Oracle8i如果硬件配置中用P4处理器,对oracle的安装有没有影响(100分)
  • weblogic 中怎样配置 oracle JDBC driver?
  • redhat 8.0+oracle 8.1.7下面配置proc环境的问题
  • linux下怎么配置jdbc 访问oracle ,知情者请告知
  • oracle的jdbc的配置
  • 一个jsp的数据库问题-oracle的服务端如何配置
  • 不会配置oracle怎么办?
  • JDBC from ORACLE 8.1.7的配置问题
  • Linux上怎么配置oracle的ODBC数据源?
  • 请问jboss+oracle文件怎样配置,数据库中文字段不为乱码
  • jdk1.3+tomcat怎样配置oracle驱动程序
  • 请问哪里有 小性机 +linux +oracle 的配置方案?
  • Linux主机下配置Oracle 10G自动启动过程记
  • 如何配置 linux 下 oracle 的 listener .ora 和
  • 求.bash_profile配置oracle详解
  • 用redhat linux8.0+Oracle8i做网络数据库服务器,我需要怎样配置?
  • 配置Oracle RAC需要注意的问题
  • Oracle数据库安装配置示例
  • Linux Apache PHP Oracle 安装配置
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • linux下安装oracle后使用命令行启动的方法 linux启动oracle
  • Oracle9i 9.0.1的JDBC Drivers 可以给Oracle 8.0.5使用马?
  • Suse linux使用oracle问题
  • 请问:在使用oracle数据库作开发时,是使用pro*c作开发好些,还是使用库函数如oci等好一些啊?或者它们有什么区别或者优缺点啊?
  • jbuilder中使用oracle的问题
  • 求redhat linux 9.0下可以使用的oracle 10g或9i,还有redhat linux 9.0下可以使用的eclipse下载地址
  • Oracle事务!使用游标提交过程
  • 在Jbuilder7下,使用DbPilot.exe连接oracle,报错!请教高手!
  • AIX 64位系统上如何使用32位OCI oracle driver
  • Oracle中SQL语句连接字符串的符号使用介绍
  • 使用X manager连接oracle数据库的步骤
  • C++使用OCCI连Oracle10g的错误
  • 使用工具 plsqldev将Excel导入Oracle数据库
  • Linux下Oracle的sqlplus使用光标上下左右方法
  • Oracle 数据 使用游标
  • oracle使用sql脚本生成csv文件案例学习
  • ORACLE 修改表结构 之ALTER CONSTAINTS的使用
  • Linux中Oracle使用相关知识集锦
  • Oracle密码文件的使用和维护第1/3页
  • Oracle 触发器的使用小结
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3