Change the listening port

I am running Oracle 10.2 on Solaris. I want to change the listening port of 1521 to 2690. I've read that I'm supposed to change /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora and restart the receiver. Here's my listener.ora:

OPENVIEWLISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
((ADDRESS = (PROTOCOL = tcp (PORT = 2690))(HOST=flare)))
SID_LIST_OPENVIEWLISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = openview)
(ORACLE_HOME=/opt/oracle/product/10.2.0/db_1)
(SID_NAME = OpenView))
)


After the reboot, it is still the 1521:

bash-beginning of lsnrctl $ 3.00

LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 24-AUG-2008 16:53:33

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

From /opt/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
System settings file is /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /opt/oracle/product/10.2.0/db_1/network/log/listener.log
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))

Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
-----
Alias LISTENER
For Solaris TNSLSNR version: Version 10.2.0.1.0 - Production
Departure date 24-AUG-2008 16:53:34
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora file
The listener log file /opt/Oracle/product/10.2.0/Db_1/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))
The listener supports no services
The command completed successfully

What I am doing wrong? :(

user527462 wrote:
I am running Oracle 10.2 on Solaris. I want to change the listening port of 1521 to 2690. I've read that I'm supposed to change /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora and restart the receiver. Here's my listener.ora:

OPENVIEWLISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
((ADDRESS = (PROTOCOL = tcp (PORT = 2690))(HOST=flare)))
SID_LIST_OPENVIEWLISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = openview)
(ORACLE_HOME=/opt/oracle/product/10.2.0/db_1)
(SID_NAME = OpenView))
)

After the reboot, it is still the 1521:

bash-beginning of lsnrctl $ 3.00

LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 24-AUG-2008 16:53:33

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

From /opt/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
System settings file is /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /opt/oracle/product/10.2.0/db_1/network/log/listener.log
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))

Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
STATUS of the LISTENER
-----
Alias LISTENER
For Solaris TNSLSNR version: Version 10.2.0.1.0 - Production
Departure date 24-AUG-2008 16:53:34
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora file
The listener log file /opt/Oracle/product/10.2.0/Db_1/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))
The listener supports no services
The command completed successfully

What I am doing wrong? :(

Your listener.ora sets a listener named OPENVIEWLISTENER. You have not specified the name of the listener when starting it and so he went with the default values (name of the LISTENER listener and so on). The command you are looking for is lsnrctl start OPENVIEWLISTENER

concerning

Niall Litchfield
http://www.orawin.info/

Tags: Database

Similar Questions

  • Change the listening port for SSH on IDS

    Should what command I use to change the listening port on an IDS 4200 series? I listen on another port, and when I applied the S189/S190 update, it changed SSH port 22.

    Just out of curiosity, too, no one knows what else S189/S190 updates change?

    Thank you

    Jim

    Cisco supports only configurations using the CLI interface. The ssh port cannot be changed through the CLI. Modifying the files in config system via the service account is not a good idea and not supported.

  • After the upgrade to 6, security server does not change the listening Port

    Came across a weird situation where after upgrading a server security 6.1.0 - 2509221, it does not change the listening SSL port during the upgrade, it was not on the standard SSL port.

    It was initially configured to listen on 444 before the upgrade, after the upgrade, I tried to go back to 443 and a netstat-ban shows that it is listening on port 444.

    I double checked the config.properties file and there is no entry for serverPort, and configuration shows 443 in the admin View handler.

    -Re-apply the configuration via the web page does no change, always tuned to 444.

    -Don't restart the service of security server no change, still plays on 444.

    -Restart of the server, no change, still plays on 444.

    -Statically placed serverPort = 443 in the config.properties, always tuned to 444.

    All ports are verified open, 443, 444 and so I think I could have hit a bug. Someone else has security servers that listen on non-standard ports SSL?

    A complete reinstallation of the Security server is provided, changing the port to listen 443, shouldn't have to do that well.

    You checked config.properties, but did you check in locked.properties for the port setting see if it's been moved there before and during the upgrade? Locked.Properties replaces all the configuration settings.

  • Select < of the Listener Port number > in which_table?

    I am writing a SQL script which, among other things, disconnects from Oracle and then reconnects to the same instance under a different name. I'm able to query v$ database and v$ instance to get most of the information I need (host, name of service, etc.) for the part of reconnect. The only part that miss me is the listener port number. I could hardcode it 1521, but it's not very flexible. Currently, I am asking the user (who is usually me) for the listening port number in the SQL script, but that just seems a little lame. So my question is this: is there a view or a table somewhere in the schema sys that I could use to display the configuration of the earpiece? I work mainly with the gr 10, 2 + databases.

    No, I don't think that that is maintained in one of the views and is not soemthing that you should believe would keep have changed (if the implementation of the network people are good). In order to check once and you should be fine.

    Aman...

  • Configuring services on the listening port

    Hi s/n,.

    I use a TEST database on a server with port 1521. I created a database over the same DEV server manually.

    Now, I was to set up the new DEV with the listener. My current file Listener and TNSname file is attached. Please help me for new DEV that I put in listener.ora and tnsnames.ora database entries.

    My name of the listener's TEST. I also need to use the same port for the two DBs as single port 1521 is open from the firewall.

    ------------------------------------------- Listener.ora ------------------------------------------------------

    TEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY= EXTPROCTEST))
    (ADDRESS = (PROTOCOL = TCP)(Host= localhost) (Port = 1521))
    )

    SID_LIST_TES =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (SID_NAME = TEST)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (= Extproc PROGRAM)
    )
    )

    STARTUP_WAIT_TIME_TEST = 0
    CONNECT_TIMEOUT_TEST = 10
    TRACE_LEVEL_TEST = OFF

    LOG_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    LOG_FILE_TEST = TEST
    TRACE_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    TRACE_FILE_TEST = TEST
    ADMIN_RESTRICTIONS_TEST = OFF

    ---------------------------------------- tnsnames.ora ------------------------------------------------

    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    (INSTANCE_NAME = TEST)
    )
    )


    --------------------------------------------------------------------------------------------------------------


    Please help this settings.

    Thank you
    -Samar-

    Nome02 wrote:
    Hi s/n,.

    I use a TEST database on a server with port 1521. I created a database over the same DEV server manually.

    Now, I was to set up the new DEV with the listener. My current file Listener and TNSname file is attached. Please help me for new DEV that I put in listener.ora and tnsnames.ora database entries.

    My name of the listener's TEST. I also need to use the same port for the two DBs as single port 1521 is open from the firewall.

    ------------------------------------------- Listener.ora ------------------------------------------------------

    TEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY= EXTPROCTEST))
    (ADDRESS = (PROTOCOL = TCP)(Host= localhost) (Port = 1521))
    )

    SID_LIST_TES =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (SID_NAME = TEST)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (= Extproc PROGRAM)
    )
    )

    STARTUP_WAIT_TIME_TEST = 0
    CONNECT_TIMEOUT_TEST = 10
    TRACE_LEVEL_TEST = OFF

    LOG_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    LOG_FILE_TEST = TEST
    TRACE_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    TRACE_FILE_TEST = TEST
    ADMIN_RESTRICTIONS_TEST = OFF

    ---------------------------------------- tnsnames.ora ------------------------------------------------

    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    (INSTANCE_NAME = TEST)
    )
    )

    --------------------------------------------------------------------------------------------------------------

    Please help this settings.

    Thank you
    -Samar-

    First of all, I wouldn't name my interlocutor 'TEST '. Use the default name of the LISTENING port. Why complicate your life? The auditor is the auditor for all the db on this box. Do not confuse the issue by appointing him as if he was linked to a specific database. It must become more obvious now that you add additional databases.

    Second, a listener can serve several databases and simply to a port to do. This port 1521 is used by the listener to listen for requests to the databases all this services. It has nothing to do with the databases themselves. They care what port listening on the listening port. The actual connection between the client and the database do not use this port.

    Thirdly, remember that tnsnames.ora is used by the CLIENT process. Listener.ora is used by the listener on the host: it's a conifiguration host-side. The answers of others that you don't need to worry tnsnames - you only need to set ORACLE_SID - applies only to client processes running on the same box as the db. Remote clients do necessary relevant tnsnames entry.

    Fourth, you ask what to put in your listener.ora. Review the file. You see the section named SID_LIST_TES (which looks like a typo to me), and under that, you have two entries SID_DESC? Don't you see that one of these entries SID_DESC is for your existing TEST database? If you don't feel comfortable that copy to an another SID_DESC and edit it accordingly (from so that you have an entry SID_DESC for TEST and another for DEV) then just fire upward the netca utility in your ORACLE_HOME and let him help you add.

    Fifth, you ask what to put in your tnsnames.ora. Review the file. You see a clearly delimited input for TEST? If you feel able to make a copy of this entry and change it to DEV, then simply run the netca utility in your ORACLE_HOME and let it help you add.

    Sixthly, in your tnsnames file really useless both SERVICE_NAME as INSTANCE_NAME. Drop the INSTANCE_NAME.

  • How to change the infrared port on Satellite M30 to be IrDA to be direct IR?

    Hello world

    I just bought a new watch that should be able to communicate with a pc via the infrared port (it's the Polar S710).
    Unfortunately, it does not work as the 'Protocol' of the watch is directIR, rather than be IrDA, as is my cell phone.

    I saw somewhere that it would be possible to change the infrared port of my laptop in order to operate in directIR. Anyone know the procedure? I think I could change something directly in the driver, but I did not how to deal with.

    I would be very grateful if someone could help me.

    Thank you
    SEB

    Hello

    I think that it of not possible to change the IrDA Protocol on the laptop.
    But have you tried to update the software polar?
    Consult the manufacturing site:
    http://support.polar.fi/PKBSupport.nsf/library?OpenForm

    If this does not help I think that only and an external solution as USB-> DirectIR dongle help

  • change the com port assigned to the fax and scan

    I used fax and scanning for once.  I had to move my external modem to a different port.

    I don't know how to change the windows fax and scan com port manually.

    the wizard does NOT start, I guess because the fax is installed and worked until I had to change the number of COM port...  I need to change the number of pot with hundreds of research, it seems that no one knows how to change manually the Compote in windows fax and scan, unless they use the wizard.

    my assistant does not start. I guess I'm 'old school' I don't need an Assistant, I need to manually change the fax uses com port.

    :-), it's frustrating because help said only: click "fax" in the lower left corner, and they all assume the installation wizard starts and everything will be fine. :-(

    the wizard does not start. :-(

    I am desperate to get my fax work and need to know how to set the correct port number in a system that is installed and running, such as the wizard never starts.

    for anyone who goes out at the end of questions and ideas, I have a fax application stand alone who is working with the new port setting. It's just not a good app for my needs

    Please?

    Thank you

    John

    Post proposed by the moderator of the appropriate forum category

    Hi John,.

    You can follow the steps below to change the COM port for a modem:

    1. search the Device Manager.

    2 look for the Modem device, right-click on it, and then click Properties.

    • If the change settings button is present, you must click on it to make changes to the appliance. If the user account control dialog box appears, confirm that the displayed action corresponds to what you want, and then click continue.
    • If the change settings button is not present, the modem does not support the ability to change the modem settings. Refer to the documentation provided by the vendor of your modem.

    3. on the Advanced tab, click Advanced port settings.

    • If this option is not displayed, the modem does not support the ability to change the assigned COM port. Refer to the documentation provided by the vendor of your modem.

    If the same persists, we suggest that you post your query in Microsoft TechNet so that their support team will provide you in-depth assistance.

    Kind regards.

  • Where can I find the ability to change the com port settings in Windows 7

    Where can I find the ability to change the com port settings in Windows 7

    Port, Device Manager, select comport, right click, properties, Port settings

  • Change the default ports for http and https

    Hello

    I'm trying to change the default ports for http and https

    I have a 506th PIX (which does NOT of NAT)

    I have the following: -.

    static (inside, outside) tcp 192.168.10.2 601 192.168.10.2 http netmask 255.255.255.255 0 0

    static (inside, outside) tcp 192.168.10.2 602 192.168.10.2 443 netmask 255.255.255.255 0 0

    access-list acl permit tcp any 192.168.10.2 eq 601

    access-list acl permit tcp any 192.168.10.2 eq 602

    Access-group acl in interface outside

    where 601 and 602 are the http port and https to be redirect to respectively.

    I changed the webserver accordingly

    I get the error message

    "No group of translation not found for tcp src outside:189.x.x.x/50232 dst inside:192.x.x.x/80" (trying to access port 80)

    "I also have ' fixup protocol http 601.

    I had access to the internal and external web server before attempting to change the default ports

    Any ideas where I'm wrong?

    See you soon.

    I apologise for not thinking correctly.

    the static method must be:

    static (inside, outside) tcp 192.168.10.2 80 192.168.10.2 601 netmask 255.255.255.255 0 0

    static (inside, outside) 192.168.10.2 tcp 443 192.168.10.2 602 netmask 255.255.255.255 0 0

  • How can I display an error message on the listening port close popup without closing the popup.

    Hi Experts,

    JDeveloper 12.1.3.0.0

    How can I display an error message on the listening port close popup without closing the popup.

    Thank you

    Roy

    As its name suggests, close listener of popup is called when popup is closed so you can not do this.

    If you want to display the popup message, use your own buttons instead of the ok/cancel default buttons and close the popup programmatically.

    Dario

  • How to change the rmi port in atg

    Hi guys,.

    How to change the rmi port in atg

    who is the component to change port rmi in atg?

    The rmi port is defined in the component/atg/dynamo/Configuration. so in this Configuration.properties, you can change the value of the rmi port.

  • Change the default port

    Can someone point me to a document that describes the steps to change the default port (8080) to another port on an existing Foglight environment?

    The Foglight Management Server (FMS) port is configured in FMSHOME/config/server.config:

    # These options are required, they must be configured for the server starts

    #

    Server.http.port = "8080";

    Server.HTTPS.port = "8443";

    You can change them by modifying the config file and restart the FMS.

    BUT:

    Remember that all Management Agent Foglight (FglAMs) use this port to send data to the FMS.

    Foglight users may have bookmarked FMS URLs with the original port number.

    Under Unix, a process must have permissions root a low numbered path (if you thought to change port 80)

    To make the seemless transition, you should consider implementing some sort of system (for example with an Apache web server) port forwarding so that agents and users who use the original port will not break.

    Kind regards

    Brian Wheeldon

  • How to change the http port in EBS 12.1.3

    Hi all.

    I configured App & DB to use the port 9 pool during cloning.

    For some reasones, I need to change the port http request 8008 to 8,000, but DB port must remain 1529.

    If I may continue the document: https://support.oracle.com/epmos/faces/DocContentDisplay?id=760590.1 ? My version of the EBS is 12.1.3.

    So I need only change my CONTEXT.xml lines (as in the example below) and run the automatic configuration on the Application layer? :

    < web_port oa_var = "s_webport" oa_type = "PORT" base = "8000" step = range "1" = "-1" label = "Web listening Port" > 8000 < / web_port >

    < activewebport oa_var = "s_active_webport" oa_type = "DUP_PORT" base = "8000" step = range "1" = "-1" label = "Active Web Port" > 8000 < / activewebport >

    < login_page oa_var = "s_login_page" > http://myhost.Oracle.com:8000/OA_HTML/AppsLogin < / login_page >

    < chronosURL oa_var = "s_chronosURL" > http://myhost.Oracle.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif < / chronosURL >

    < oa_var = "s_endUserMonitoringURL" > http://myhost.Oracle.com:8000/oracle_smp_chronos/oracle_smp_chronos_sdk.gif < / EndUserMonitoringURL >

    < externURL oa_var = "s_external_url" > http://myhost.Oracle.com:8000 < / externURL >

    < httplistenparameter = "s_http_listen_parameter" > 8000 oa_var < / httplistenparameter >

    Thanks in advance.

    Hello

    The approach that you mentioned is correct.

    The document that you referenced is to follow in this case.

    Kind regards

    Bashar

  • How to change the headphone port #?

    ENV: Oracle 10 g 2, RHEL 64 bit on ASM (10gr 2):

    Current listening port is 1521. I was asked to change it to 10526 (please don't ask why :-)).)

    I tried to change the port number in the listener.ora file, then restarting the listener, but the I start getting ' ORA-12541: TNS: no listener ' error. If I change back to 1521 and restart the receiver, I am able to connect to the database. What else should I do to change the posrt # please?

    After I have change the port and restart it, here is what I tried to test:

    $ sqlplus user/password@sid

    ...

    ERROR:

    ORA-12541: no listener

    Enter the user name:

    When I restore the port # change, I am able to connect.

    Help, please.

    Best regards

    Very strange, LISTENING means that a listener is sitting on this port, so if you have not the 1521 and it works... I don't know, something is off – try to grep netstat for LISTENING.  If you have it on 10526 and this does not work, prolly local recording listener/static issue the other mention.  Also, the idea of the listener should wait for a connection request and then pass to another session-specific port.  No listener error means you have until now, but something bothers me about this, I know not what.

    Please copy and paste all the production of the lsnrctl commands, to obscure details can be important.

    Just to be clear, we don't talk to some listeners, ASM, right?  (Or conversely, they did not something rac on the upper port?)

  • Change the listener.ora file

    Hello, I'm trying to set Microsoft Excel file as a source file in Oracle 11 g Release 2.

    I need to change the file with the following entries listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    When I opened listener.ora without modification, he showed this:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    OK with the first half, it's the same, I can make changes, it needs to be done. But what I do with the other halves? (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    Should I write it above the listener...?
    I'm afraid to damage the file. Can you please tell me if you know exactly? Thank you

    In your case, the listner.ora will be like

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    But befor changing file creake listner.ora a backup of it to face in a new file say listner_bkp.ora

    Thank you
    Fati

Maybe you are looking for