好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > oracle iSQL*PLUS配置設置圖文說明

oracle iSQL*PLUS配置設置圖文說明

熱門標簽:貴陽智能電銷機器人官網 北京外呼系統公司排名 北京營銷外呼系統廠家 沈陽400電話是如何辦理 溫州人工外呼系統 外呼系統口號 外呼系統鄭州 地圖標注付款了怎么找不到了 百度地圖標注員是干什么

iSQL*PLUS介紹

iSQL*PLUS是從ORACLE 9i開始提供的新功能,是SQL*PLUS的Web形式(ORACLE 11g已經不支持)。是基于三層結構設計的。其client、middle、server可以位于同一臺機器上也可以位于不同的機器。iSqlPlus不需要單獨安裝,通過isqlplus,用戶可以不需要安裝任何ORACLE客戶端,就能夠通過瀏覽器方式的使用SQL*PLUS進行數據操作與數據庫管理。普通的數據庫用戶可以直接通過isqlplus的網址http://ip:port/isqlplus登陸,進入該網址后會直接進入數據庫用戶登陸界面,使用數據庫中的普通用戶即可登陸;但如果是DBA用戶登陸isqlpus,則需要首先配置iSQL*PLUS DBA的用戶和口令,然后輸入網址http://ip:port/isqlplus/dba,進入該網址后首先會彈出一個登陸框,要求先輸入iSQL*Plus DBA的用戶和密碼,注意這里不是數據庫用戶,而是iSQL*PLUS應用服務器要求的用戶和密碼,然后才能出現iSQL*PLUS登陸界面,此時可以輸入sys或者system用戶,登陸數據庫進行管理。要以DBA身份登陸isqlplus,必須先配置好oc4j用戶。采用xml配置文件認證的方式。該配置文件位于$ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus/config但是該配置文件中的密碼是加密過的,所以我們不能手動修改該文件,而是通過JAZN(Java AuthoriZatioN)來配置。JAZN是ORACLE提供的一個JASS(Java Authentication and Authorization Service)工具.

如何進入JAZN命令環境?

1.進入到目錄$ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus/下,如下所示:

[oracle@DB-Server isqlplus]$ pwd

/database/product/dbhome_1/oc4j/j2ee/isqlplus/application-deployments/isqlplus

[oracle@DB-Server isqlplus]$ ls

application.log config isqlplus orion-application.xml

2.確保JAVA_HOME環境變量指向了正確的jdk(需要1.4以上)路徑,可以使用ORACLE自帶的jdk,位于$ORACLE_HOME/jdk

3.執行以下命令

[oracle@DB-Server isqlplus]$ $ORACLE_HOME/jdk/bin/java -Djava.security.properties=$ORACLE_HOME/oc4j/j2ee/home/config/jazn.security.props -jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -shell

其中realm=iSQL*Plus DBA,user=admin,這些可以從xml配置文件中看到,admin的默認密碼是welcome,但是admin用戶默認沒有webDba權限,不能直接用于登陸isqlplus。通過JAZN,可以完成以下任務

1:新建用戶kerry 密碼設置為etl123!@#

JAZN:> adduser "iSQL*Plus DBA" kerry etl123!@#

2:列出用戶

查看這個組的用戶

JAZN:> listusers "iSQL*Plus DBA"

admin

kerry

JAZN:> listusers

iSQL*Plus DBA/admin

iSQL*Plus DBA/kerry

3.授予用戶kerry DBA的權限

JAZN:> grantrole webDba "iSQL*Plus DBA" kerry

4.撤銷用戶kerry DBA的權限

JAZN:> revokerole webDba "iSQL*Plus DBA" kerry

5.查看角色

JAZN:> listroles

iSQL*Plus DBA/webDba

iSQL*Plus DBA/admin

6.刪除用戶

JAZN:> remuser "iSQL*Plus DBA" kerry

7.修改用戶密碼

JAZN:> setpasswd "iSQL*Plus DBA" kerry etl123!@# 123456

8.退出JAZN命令環境

JAZN:> exit

上面我們創建了一個用戶kerry,密碼為etl123!@#,并且已經授予webDba權限。接下來重新啟動isqlplus應用服務器isqlplusctl stop、isqlplusctl start

再進入網址http://ip:5560/isqlplus/dba,在彈出的對話框中輸入kerry和etl123!@#,就可以進入到數據庫登陸界面了,選擇以sysdba或sysoper身份登陸了。

 

啟動iSQL*PLUS

 

如果登錄isqlplus頁面打不開(報錯): http://ip:5560/isqlplus/,首先檢查isqlplus服務啟動沒有,然后檢查一下端口

[oracle@DB-Server ~]$ isqlplusctl start

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

Starting iSQL*Plus ...

iSQL*Plus started.

[oracle@DB-Server ~]$ netstat -an | grep 5560

tcp 0 0 0.0.0.0:5560 0.0.0.0:* LISTEN

停止iSQL*PLUS

[oracle@DB-Server ~]$ isqlplusctl stop

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

iSQL*Plus instance on port 5560 is not running ...

 

日志信息

 

iSQL*PLUS使用的是Log4j,如下所示:

[oracle@DB-Server isqlplus]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes

[oracle@DB-Server classes]$ ls

log4j.properties oracle

[oracle@DB-Server classes]$ more log4j.properties

# Log4j configuration file.

# Set root logger level and its only appender to A1.

#log4j.rootLogger=ALL, A1

#log4j.rootLogger=DEBUG, A1

#log4j.rootLogger=INFO, A1

#log4j.rootLogger=WARN, A1

#log4j.rootLogger=ERROR, A1

log4j.rootLogger=FATAL, A1

#log4j.rootLogger=OFF, A1

# A1 is set to be a ConsoleAppender.

log4j.appender.A1=org.apache.log4j.ConsoleAppender

# A1 uses PatternLayout.

log4j.appender.A1.layout=org.apache.log4j.PatternLayout

log4j.appender.A1.layout.ConversionPattern=%d{ISO8601} %-5.5p [%t] %-20.20c{2} - %m%n

# R is a rolling log file appender

log4j.appender.R=org.apache.log4j.RollingFileAppender

log4j.appender.R.File=isqlplus.log

log4j.appender.R.MaxFileSize=100KB

# Keep one backup file

log4j.appender.R.MaxBackupIndex=1

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%d{ISO8601} %-5.5p [%t] %-20.20c{2} - %m%n

[oracle@DB-Server classes]$

 

在ORACLE 10g的$oracle_home/oc4j/j2ee/isqlplus/log目錄下,你可以看到如下一些日志:

日志文件位于$ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus/application.log

[oracle@DB-Server WEB-INF]$ cd $ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus

[oracle@DB-Server isqlplus]$ ls

application.log config isqlplus orion-application.xml

[oracle@DB-Server isqlplus]$ more application.log

12/04/22 13:31:07 Started

12/04/22 13:31:09 isqlplus: jsp: init

12/04/22 13:31:09 isqlplus: config: init

12/04/22 13:31:09 isqlplus: uix: init

12/04/22 13:31:09 isqlplus: 9.0.4.1.0 Started

12/04/22 14:07:13 isqlplus: config: destroy

12/04/22 14:07:13 isqlplus: 9.0.4.1.0 Stopped

12/04/22 14:07:13 Stopped (JVM termination)

12/09/27 17:23:21 Started

12/09/27 17:23:29 isqlplus: jsp: init

12/09/27 17:23:30 isqlplus: config: init

12/09/27 17:23:31 isqlplus: uix: init

12/09/27 17:23:31 isqlplus: 9.0.4.1.0 Started

幫助的日志記錄在:

$ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplushelp/application.log

[oracle@DB-Server log]$ ls

global-application.log http-web-access.log rmi.log server.log

[oracle@DB-Server log]$ more rmi.log

12/04/22 13:31:07 9.0.4.1.0 Started

12/04/22 14:07:13 9.0.4.1.0 Stopped (JVM termination)

12/09/27 17:23:19 9.0.4.1.0 Started

12/11/08 17:43:38 9.0.4.1.0 Started

12/11/08 17:54:01 9.0.4.1.0 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost), 2)

12/11/08 17:55:42 9.0.4.1.0 Started

[oracle@DB-Server log]$ more server.log

12/04/22 13:31:07 9.0.4.1.0 Started

12/04/22 13:31:07 9.0.4.1.0 Started

12/04/22 14:07:13 9.0.4.1.0 Stopped (JVM termination)

12/09/27 17:23:19 9.0.4.1.0 Started

12/09/27 17:23:21 9.0.4.1.0 Started

12/11/08 17:43:37 9.0.4.1.0 Started

12/11/08 17:43:38 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...

12/11/08 17:43:38 Recovery completed, 0 connections committed and 0 rolled back...

12/11/08 17:43:38 9.0.4.1.0 Started

12/11/08 17:54:01 9.0.4.1.0 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost), 2)

12/11/08 17:55:42 9.0.4.1.0 Started

12/11/08 17:55:42 9.0.4.1.0 Started

[oracle@DB-Server log]$ more http-web-access.log

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/ HTTP/1.1" 200 9154

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/cabo/styles/cache/blaf-A0-zh_CN-ie-windows.css HTTP/1

.1" 200 13850

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/cabo/images/cache/c-ghss.gif HTTP/1.1" 200 97

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/images/logo.gif HTTP/1.1" 200 7361

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/cabo/images/t.gif HTTP/1.1" 200 85

172.20.61.185 - - [27/Sep/2012:17:24:39 +0800] "GET /isqlplus/images/help.gif HTTP/1.1" 200 288

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/jsLibs/MarlinCoreA4.js HTTP/1.1" 200 26036

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-ghsc.gif HTTP/1.1" 200 72

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-ghe.gif HTTP/1.1" 200 85

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-ghse.gif HTTP/1.1" 200 219

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-ghc.gif HTTP/1.1" 200 133

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/zhs/b-login.gif HTTP/1.1" 200 715

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-skir.gif HTTP/1.1" 200 66

172.20.61.185 - - [27/Sep/2012:17:24:43 +0800] "GET /favicon.ico HTTP/1.1" 404 135

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "POST /isqlplus/login.uix HTTP/1.1" 200 11618

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/t.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/logo.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/jsLibs/MarlinCoreA4.js HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/logout.gif HTTP/1.1" 200 360

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/styles/cache/blaf-A0-zh_CN-ie-windows.css HTTP/1

.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghss.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/zhs/tb-56-0.gif HTTP/1.1" 200 971

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/help.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghsc.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghc.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghse.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/i

[oracle@DB-Server log]$ more global-application.log

12/04/22 13:31:07 Started

12/04/22 13:31:08 defaultWebApp: jsp: init

12/04/22 13:31:08 defaultWebApp: 9.0.4.1.0 Started

12/04/22 14:07:13 defaultWebApp: 9.0.4.1.0 Stopped

12/04/22 14:07:13 Stopped (JVM termination)

12/09/27 17:23:20 Started

12/09/27 17:23:27 defaultWebApp: jsp: init

12/09/27 17:23:27 defaultWebApp: 9.0.4.1.0 Started

12/11/08 17:43:38 Started

12/11/08 17:43:39 defaultWebApp: jsp: init

12/11/08 17:43:39 defaultWebApp: 9.0.4.1.0 Started

12/11/08 17:54:01 defaultWebApp: 9.0.4.1.0 Stopped

12/11/08 17:54:01 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost), 2)

12/11/08 17:55:42 Started

12/11/08 17:55:43 defaultWebApp: jsp: init

12/11/08 17:55:43 defaultWebApp: 9.0.4.1.0 Started

配置問題

1:變更session的有效期:

在$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF下的web.xml文件中。

設置:

session-config>

session-timeout>15/session-timeout>

/session-config>

為分鐘狀態。

2:限制登錄

[oracle@DB-Server WEB-INF]$ vi web.xml

?xml version = '1.0' encoding = 'windows-1252'?>

!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

web-app>

display-name>iSQL*Plus/display-name>

description>iSQL*Plus Configuration File/description>

servlet>

servlet-name>config/servlet-name>

servlet-class>oracle.sqlplus.iplus.core.Config/servlet-class>

init-param>

param-name>iSQLPlusAllowUserMarkup/param-name>

param-value>none/param-value>

description>Valid values are: none | all/description>

/init-param>

init-param>

param-name>iSQLPlusConnectIdList/param-name>

param-value>wgods;bics;orcl/param-value>

description>The database(s) to which iSQL*Plus users are restricted. The list should contain the Oracle SIDs or SERVICE NAMEs

, separated by a semicolon (;). If there are no entries, database access is not restricted through iSQL*Plus./description>

/init-param>

其中的param-value>代表$ORACLE_HOME/network/admin/tnsnames.ora中的名字,如果設置服務名后,只能從下拉框選擇。

如果param-value>沒有設置值,那么可以手動輸入SID。如下所示:

3:修改iSQL*PLUS端口

轉到$ORACLE_HOME/oc4j/j2ee/isqlplus/config下,編輯http-web-site.xml文件

問題錦集

1:中文環境,按鈕字體出現亂碼。可以選址語言。切換到英文環境即可看到按鈕的字體

解決辦法

[oracle@DB-Server zhs]$ cd $ORACLE_HOME/jdk/jre/lib

[oracle@DB-Server lib]$ ls

audio font.properties.ja.Redhat6.2 font.properties.zh_CN.Redhat2.1 images

charsets.jar font.properties.ja.Redhat7.2 font.properties.zh_CN.Sun jce.jar

cmm font.properties.ja.Redhat7.3 font.properties.zh_CN_UTF8.Sun jsse.jar

content-types.properties font.properties.ja.Redhat8.0 font.properties.zh_HK.Sun jvm.hprof.txt

ext font.properties.ja.Turbo font.properties.zh_HK_UTF8.Sun jvm.jcov.txt

flavormap.properties font.properties.ja.Turbo6.0 font.properties.zh_HK_UTF8.Sun2003 locale

font.properties font.properties.ko_KR.Sun font.properties.zh.Turbo logging.properties

font.properties_back font.properties.ko_KR_UTF8.Sun font.properties.zh_TW.Redhat plugin.jar

font.properties.ja font.properties.ko_KR_UTF8.Sun2003 font.properties.zh_TW.Redhat2.1 psfontj2d.properties

font.properties.ja_JP.Sun font.properties.ko.Redhat font.properties.zh_TW.Sun psfont.properties.ja

font.properties.ja_JP.Sun2003 font.properties.ko.Redhat2.1 font.properties.zh_TW_UTF8.Sun rt.jar

font.properties.ja_JP_UTF8.Sun font.properties.Redhat6.1 font.properties.zh_TW_UTF8.Sun2003 security

font.properties.ja_JP_UTF8.Sun2003 font.properties.Redhat8.0 fonts sunrsasign.jar

font.properties.ja.Redhat3 font.properties.SuSE8.0 i386 zi

font.properties.ja.Redhat6.1 font.properties.zh_CN.Redhat im

[oracle@DB-Server lib]$

備份font.properties

[oracle@DB-Server lib]$ cp font.properties font.properties_back

[oracle@DB-Server lib]$ cp font.properties.zh_CN.Redhat font.properties

查看font.properties文件,確認文件中指定的字體文件zysong.ttf在系統內存在。若不存在需要修改此文件或安裝這個字體

[oracle@DB-Server lib]$ tail -10 font.properties

fontset.dialoginput.plain=\

-bh-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\

-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0

fontset.default=\

-bh-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\

-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0

filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf

[oracle@DB-Server lib]$

轉到/usr/share/fonts目錄下,發現沒有zh_CN目錄,新建目錄zh_CN/TrueType,去網上下載字體zysong.ttf放在/usr/share/fonts/zh_CN/TrueType目錄下。

然后

[oracle@DB-Server fonts]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/cabo/images/cache/zhs/

[oracle@DB-Server zhs]$ ls

b-0dac.gif b-54.gif b-cancel.gif b-execute.gif b-login.gif b-save.gif tb-56-0.gif

b-0dac.imx b-54.imx b-cancel.imx b-execute.imx b-login.imx b-save.imx tb-56-0.imx

[oracle@DB-Server zhs]$ rm *

[oracle@DB-Server zhs]$ isqlplusctl stop

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

Stopping iSQL*Plus ...

iSQL*Plus stopped.

[oracle@DB-Server zhs]$ isqlplusctl start

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

Starting iSQL*Plus ...

iSQL*Plus started.

[oracle@DB-Server zhs]$

2:以DBA賬號登錄時,如果不指定連接標識符,則會報如下錯誤:ORA-12154:TNS:could not resolve the connect identifier specified.

 

您可能感興趣的文章:
  • Python調用SQLPlus來操作和解析Oracle數據庫的方法
  • Oracle SqlPlus設置Login.sql的技巧
  • Oracle數據庫使用sqlplus時的連接錯誤與方向鍵亂碼解決
  • Linux中Oracle的sqlplus下退格和Del鍵無效的問題解決
  • oracle 安裝與SQLPLUS簡單用法
  • oracle sqlplus 常用命令大全
  • Oracle環境通過SQL*PLUS本地登錄時報錯的解決過程

標簽:潮州 包頭 淮北 定西 溫州 衡水 衢州 通遼

巨人網絡通訊聲明:本文標題《oracle iSQL*PLUS配置設置圖文說明》,本文關鍵詞  oracle,iSQL,PLUS,配置,設置,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《oracle iSQL*PLUS配置設置圖文說明》相關的同類信息!
  • 本頁收集關于oracle iSQL*PLUS配置設置圖文說明的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 中文理论片三在线播放| 激情gif动态图第120期| jizz成熟丰满中文字幕| 老翁大龟廷进秀婷小泬| 撕开奶罩揉吮奶头A片久久下载| 男女吃奶做爰视频免费观看| 日韩无矿砖一线二线卡乱| 一级做a爰片欧美aaaa| 7777奇米四色成人眼影| 午夜精品福利| 亚洲福利网站| 欧美性活一级视频| 中文日产幕无线码一区2023 | 男人桶女人无遮挡免费| 爽好多水快进来羞羞漫画| 跟欧洲女人啪啪啥感觉| 女人扒开腿秘?打扑克动视频 | 宝贝腿开大点我添添公漫画| 亚洲成a人片| 吭吸饥渴邻居寡妇的奶头| 丰满双乳秘书被老板狂揉捏| 韩国三级大全久久网站| 操肥婆| 91精品一二区久久无码电影| 另类sM一区二区三区免费视频| 91日韩高清在线观看播放| 最黄一级片| 色网站下载| 精品无码久久久久久久久借妻| 欧美一级做一级a做片性视频在线观看| 很黄的污污小说| 免费ps大片调色视频教程全过程| 俄罗斯aa一级毛片| 刚开始硬一会变软是啥原因| 91尤物在线播放| 双性美人被强行宫交| 免费看男人靠女人网站免费的| 国产精品爱久久久久久久久鸭下载| 我和岳乱妇三级高清电影| 公的粗大2| 在线精品欧美日韩|