emca時提示主機名不能有下劃線並且不能超過32個字元
EMCA stops with "Hostname should not contain underscore _ in it and it should not be longer than 32 characters" [ID 1265731.1]
Information in this document applies to any platform.
In the $ORACLE_HOME/cfgtoollogs/emca//emca_YYYY-MM-DD_HH-MM-SS-AM.log
2. set the following environment variable to only the short hostname:
In our example:
4. Recreate the DB Console following the creation steps in
[@more@]
Applies to:
Enterprise Manager Grid Control - Version: 10.2.0.4 to 11.2.0.2 - Release: 10.2 to 11.2Information in this document applies to any platform.
Symptoms
EMCA or DBCA fails to install EM database console due to a server hostname of over 32 characters.In the $ORACLE_HOME/cfgtoollogs/emca/
Oct 4, 2010 9:23:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE:
Invalid Hostname
myhost.office.reading.berkshire.unitedkingdom.oracle.com Hostname should
not contain underscore _ in it and it should not be longer than 32
characters.
Refer to the log file at $ORACLE_HOMEcfgtoollogsdbcaemConfig.log for more details.
Oct 4, 2010 9:23:47 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Invalid Hostname
myhost.office.reading.berkshire.unitedkingdom.oracle.com
Hostname should not contain underscore _ in it and it should not be
longer than 32 characters.
at oracle.sysman.emcp.ParamsManager.checkValidHostname(ParamsManager.java:2598)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:191)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:176)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:449)
at java.lang.Thread.run(Thread.java:595)
Cause
Hostname.domain is too long and the EMCA command does not allow a hostname.domain to be than greater than 32 characters.Solution
1. Drop the DB Console objects (if created), using2. set the following environment variable to only the short hostname:
ORACLE_HOSTNAME= or
In our example:
Linux/Unix: export ORACLE_HOSTNAME=myhost
or
Windows: set ORACLE_HOSTNAME=myhost
3. Ensure that the hosts file has the full entry of the IP address, hostname, hostname.domain. In our example, this would be:
10.123.123.123 myhost myhost.office.reading.berkshire.unitedkingdom.oracle.com
Note:
- hosts file on unix is located in /etc/hosts
- hosts file on for windows in at c:windowssystem32driversetchosts
4. Recreate the DB Console following the creation steps in
References
- How To Drop, Create And Recreate DB Control In A 10g/11g Database[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1055272/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CSS 類名的單詞連字元:下劃線還是連線符?CSS字元
- Linux修改主機名(靜態主機名、臨時主機名)Linux
- Linux使用者名稱超過8個字元登入不上DB2Linux字元DB2
- 主機名帶下劃線會導致 oracle 10g em建立不成功Oracle 10g
- 如何修改mac 下主機名、電腦名、區域網主機名Mac
- Linux hosts主機名不對Linux
- 叢集資料庫主機名不能用大寫和連線符資料庫
- hacmp時的主機名要求ACM
- 記錄一個HttpClient超時連線配置不生效的問題排查過程HTTPclient
- 可以獲取 model 並並且可以 dd (),但是 return 時為 null,且不能呼叫方法Null
- (轉)Linux下修改主機名Linux
- 自動殺掉堵塞別人超過2小時且自身是不活動的會話會話
- word空格處不顯示下劃線
- 正則關於特殊字元下劃線_的 校驗字元
- 小程式如何封裝提示元件並且使用封裝元件
- win10系統下ftp連線失敗提示“連線已超時”怎麼辦Win10FTP
- Word下劃線不顯示解決方法
- 為什麼編碼規範裡要求每行程式碼不超過80個字元行程字元
- 那些年走過下劃線的坑
- 以下哪個不能反映儀器的實時狀態? 執行,維修,待機,超時
- 關於Linux下的主機名(轉)Linux
- python3判斷給定的字串是否只包含字母、數字、中劃線或者下劃線中的一個或多個,並且以字母或數字開頭(正規表示式)Python字串
- Mac 下 IDLE Python 打不開來下劃線MacPython
- *(轉)超時時間已到。超時時間已到 但是尚未從池中獲取連線。出現這種情況可能是因為所有池連線均在使用 並且達到了最大池大小。
- MAC修改主機名、計算機名Mac計算機
- xcode6 beta 中智慧提示(自動完成)功能有時不顯示的問題XCode
- mysql 支援索引字元超過 767MySql索引字元
- emca刪除em時間過長的解決辦法
- CSS 多行文字超連結下劃線動效CSS
- FileZilla 連結伺服器提示 20 秒連線超時伺服器
- 問題描述 超時時間已到。超時時間已到,但是尚未從池中獲取連線。出現這種情況可能是因為所有池連線均在使用,並且達到了最大池大小
- 使用emca命令列配置EM並通過瀏覽器訪問EM示例命令列瀏覽器
- django 內建server 外網不能訪問, 報連線超時DjangoServer
- tomcat遠端地址或主機名過濾器Tomcat過濾器
- 金蝶K3 WISE 14.3增加自定義欄位提示“名稱不能為特殊字元”bug修復字元
- 更改域計算機名時提示“帳戶已經存在”計算機
- win下oracle監聽日誌過大造成的連線超時問題Oracle
- RAC安裝完成後,就不能輕易更改主機名稱了