Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to disable http port in XDB

20197Apr 23 2009 — edited Apr 29 2009
Hi All

I am having a problem disabling a specific http port (1080). I can change the http ports to something else, but "lsnrctl status" will list 1080 and the new port. When I disable the new port, it gets disabled and is no longer listed in "lsnrctl status". However, when I try to disable port 1080 it does not go away from "lnsrctl status". "netstat -an" shows that the port is still used by the listener. Please help. Here is what I have done so far:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select dbms_xdb.gethttpport from dual;

GETHTTPPORT
-----------
       1080

SQL> exec dbms_xdb.sethttpport(0);

PL/SQL procedure successfully completed.

SQL> alter system register;

System altered.

SQL> select dbms_xdb.gethttpport from dual;

GETHTTPPORT
-----------
          0

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
oracle@host1:/u01/app/oracle > lsnrctl status

LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 23-APR-2009 15:12:42

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 10.2.0.4.0 - Production
Start Date                23-APR-2009 14:30:17
Uptime                    0 days 0 hr. 42 min. 25 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.domain)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.domain)(PORT=1180))(Presentation=HTTP)(Session=RAW))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.domain)(PORT=1080))(Presentation=HTTP)(Session=RAW))
Services Summary...
.
.
.
Truncated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2009
Added on Apr 23 2009
25 comments
8,547 views