修改oracle監聽佔用的8080埠(轉)
修改oracle監聽佔用的8080埠(轉)[@more@]SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
3 /
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
[oracle@test11 oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Sat Aug 6 14:24:49 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba;
Connected.
-- 把HTTP/WEBDAV埠從8080改到8081
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
3 /
Call completed.
-- 把FTP埠從2100改到2111
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))
3 /
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL procedure successfully completed.
-- 檢查修改是否已經成功
SQL> select dbms_xdb.cfg_get from dual;
CFG_GET
--------------------------------------------------------------------------------
SQL>
[oracle@test11 oracle]$ netstat -ntlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:33730 0.0.0.0:* LISTEN 14987/ora_d000_szdb
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2111 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 :::11009 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:4001 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:4002 :::* LISTEN -
tcp 0 0 :::9090 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:12005 :::* LISTEN -
tcp 0 0 :::12009 :::* LISTEN -
tcp 0 0 :::8080 :::* LISTEN -
tcp 0 0 :::80 :::* LISTEN -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:11005 :::* LISTEN -
[oracle@test11 oracle]$
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
3 /
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
[oracle@test11 oracle]$ sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Sat Aug 6 14:24:49 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba;
Connected.
-- 把HTTP/WEBDAV埠從8080改到8081
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
3 /
Call completed.
-- 把FTP埠從2100改到2111
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))
3 /
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.cfg_refresh;
PL/SQL procedure successfully completed.
-- 檢查修改是否已經成功
SQL> select dbms_xdb.cfg_get from dual;
CFG_GET
--------------------------------------------------------------------------------
SQL>
[oracle@test11 oracle]$ netstat -ntlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:33730 0.0.0.0:* LISTEN 14987/ora_d000_szdb
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2111 0.0.0.0:* LISTEN 2473/tnslsnr
tcp 0 0 :::11009 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:4001 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:4002 :::* LISTEN -
tcp 0 0 :::9090 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:12005 :::* LISTEN -
tcp 0 0 :::12009 :::* LISTEN -
tcp 0 0 :::8080 :::* LISTEN -
tcp 0 0 :::80 :::* LISTEN -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::ffff:127.0.0.1:11005 :::* LISTEN -
[oracle@test11 oracle]$
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-961505/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Oracle】修改oracle監聽埠Oracle
- 取消:oracle xdb 佔用的埠8080Oracle
- 修改ORACLE的預設8080埠Oracle
- 【Oracle】修改scan監聽器埠號Oracle
- Oracle 11g 修改監聽埠Oracle
- Oracle資料庫修改LISTENER的監聽埠Oracle資料庫
- Oracle 修改預設監聽埠故障分析Oracle
- oracle之 單例項監聽修改埠Oracle單例
- [20160418]修改oracle監聽埠.txtOracle
- oracle 11g 修改預設監聽埠1521Oracle
- [20130422]修改oracle監聽埠.txtOracle
- 12C RAC 修改監聽埠
- 刪除listener中被佔用的2100、8080埠
- 如何更改oracle監聽器的埠Oracle
- IDEAweb專案報錯8080埠被佔用IdeaWeb
- 命令_檢視佔用埠 netstat -ano|findstr "8080"
- oracle 監聽配置多個埠Oracle
- Oracle之 11gR2 RAC 修改監聽器埠號的步驟Oracle
- Linux中如何檢視8080埠是否被佔用?Linux
- oracle 8080埠的問題,急!!!Oracle
- oracle rac scan監聽更改埠號Oracle
- Oracle 建立非1521埠監聽Oracle
- Tomcat修改80埠,埠被佔用,System佔用80埠問題解決Tomcat
- ORACLE 修改11.2.0.4 RAC 預設監聽埠號1521為1621Oracle
- 【監聽】配置服務端靜態(動態)監聽/修改監聽埠及引數local_listener作用服務端
- dotnet 8 docker 修改8080埠為80Docker
- Windows server 防火牆開放oracle監聽埠WindowsServer防火牆Oracle
- linux下修改防火牆,開啟8080埠Linux防火牆
- 解決Oracle XDB的8080埠的衝突Oracle
- 修改服務端監聽器埠號為1526服務端
- 【LISTENER】修改 LISTENER的監聽埠為1526(動態註冊)
- 【LISTENER】修改 LISTENER的監聽埠為1526(靜態註冊)
- oracle監聽【非1521埠】動態註冊Oracle
- 初始化監聽埠
- samba程序與監聽埠Samba
- ssh遠端埠轉發無法監聽0.0.0.0
- Tomcat監聽443埠的方法Tomcat
- 【listener】oracle靜態監聽和動態監聽 【轉載】Oracle