啟動(dòng)監(jiān)聽時(shí)發(fā)生下面的錯(cuò)誤:
創(chuàng)新互聯(lián)公司服務(wù)項(xiàng)目包括禹王臺(tái)網(wǎng)站建設(shè)、禹王臺(tái)網(wǎng)站制作、禹王臺(tái)網(wǎng)頁制作以及禹王臺(tái)網(wǎng)絡(luò)營(yíng)銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢(shì)、行業(yè)經(jīng)驗(yàn)、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,禹王臺(tái)網(wǎng)站推廣取得了明顯的社會(huì)效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到禹王臺(tái)省份的部分城市,未來相信會(huì)繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!
[oracle@wt ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2016 02:35:12
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/11g/product/11.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/11g/product/11.2.0/network/admin/listener.ora
Log messages written to /u01/11g/diag/tnslsnr/wt/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
TNS-12533: TNS:illegal ADDRESS parameters
TNS-12560: TNS:protocol adapter error
TNS-00503: Illegal ADDRESS parameters
Listener failed to start. See the error message(s) above...
查看是否連接網(wǎng)絡(luò),關(guān)閉防火墻。
修改:vim /etc/hosts再末尾添加ip地址及用戶名,例如10.0.0.1 jz
然后重啟網(wǎng)絡(luò)服務(wù):[root@wt Desktop]# /etc/init.d/network restart
[root@wt Desktop]# ifup eth0
再重新啟動(dòng)監(jiān)聽:[oracle@wt ~]$ lsnrctl start
[oracle@wt ~]$ emctl start dbconsole //啟動(dòng)EM工具時(shí)出現(xiàn)如下錯(cuò)誤
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
則:[oracle@wt ~]$ emca -config dbcontrol db -repos recreate //配置EM工具
Database SID: ora11g //ora11g是SID,可用show parameter instance_name 查詢
Listener port number: 1521 //監(jiān)聽端口號(hào)
Listener ORACLE_HOME [ /u01/11g/product/11.2.0 ]: //郵箱,可直接enter略過
Password for SYS user: //密碼,一般以下三個(gè)密碼都是同一個(gè)
Password for DBSNMP user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
然后再重新啟動(dòng):[oracle@wt ~]$ emctl start dbconsole
之后在客戶端上訪問:https://10.0.0.1:1158/em/console
出現(xiàn)端口后選擇:I Understand the risks--add exception--confirm security exception--添用戶名和密碼
瀏覽器漢化:edit---preferences---content--languages choose--select a language to add