Listener Port 1521 Unavailable....
Hi,
I was installing Oracle 8i Enterprise on a Windows NT 4.0 with Service Package 6 platform. The installation goes fine until Oracle tries to detect port 1521. Oracle responds with the Port is already being used by another software.
I checked the ports using Windows utility 'netstat' and did not find port 1521 in use. I tried a whole range of Port numbers, but Oracle responded to each one as already in use. I accepted Port 1521, but Oracle informs that it will not be able for usage until the problem has been resolved.
So now SQLPLUS comes up fine locally, but no Client is able to connect to the Server as the Listener could not be configured.
Why is Oracle seeing these Ports as already in use ? I have minimal software on the machine...NT and now Oracle.
Any Ideas or tools/utilities that may be of help will be greatly appreciated.
Thanks
Satinder
null
I figured it out.
It was an NT Networking issues. The TCP/IP component had become corrupted, so I reinstalled NT TCP/IP and reinstalled Oracle
without issues.
Similar Messages
-
Trying to change Oracle listener port 1521 to nodefault port on Oracle RAC
Could somebody please help me in the process of changing teh Oracle listener port 1521 to a non-default port on an Oracle RAC environment. I am total of four instance.
Regards.Please read carefully about LOCAL_LISTENER parameter, you shouldn't put there just hostname....
Another way to do so - statically register database SID in listener. You should do it in listener.ora file, please read carefully documentation, otherwise you can use netca utility - it could make configuration for you properly. -
Select Listener Port Number from which_table?
I'm writing a SQL script that, among other things, disconnects from Oracle and then reconnects to the same instance as a different user. I'm able to query v$database and v$instance to get most of the information I need (host, service name, etc) for the reconnect part. The only part I'm missing is the listener port number. I could hard code it to 1521, but that isn't very flexible. Currently, I'm prompting the user (which is normally me) for the listener port number in the SQL script, but that just seems a little bit lame. So my question is this: is there a view or table somewhere in the sys schema that I could use to view the listener configuration? I'm mostly working with 10gR2+ databases.
cleavitt wrote:
That is possible, but it needs to be a standard Oracle configuration if the script is to remain generic and portable. The script is actually working fine as-is. I was just trying to go the extra mile and determine the port number automatically. I could also prompt for a TNSNames entry as suggested by others, but I don't always have an entry defined for all of the Oracle instances in my company on every workstation that I work from.
Here is the script for anyone that is interested. It started out as a script that I found online, but the original did not work with 11g case-sensitive passwords and it only worked for local connections on the server.
Description:
Allows a DBA user to impersonate another user (without knowing the user's password).
Similar in function to using the SU command in Unix/Linux.
Note:
This script temporarily changes the impersonated user's password and may cause other
connection attempts by that user to fail during the moment that the temporary password is in effect.
WHENEVER SQLERROR EXIT
SET VERIFY OFF
ACCEPT username CHAR PROMPT 'Enter the username: '
ACCEPT listenerport NUMBER DEFAULT 1521 PROMPT 'Enter the listener port [1521]: '
-- Define substitution variables and column mapping.
COLUMN username NEW_VALUE username
COLUMN password_hash NEW_VALUE password_hash
COLUMN host_name NEW_VALUE hostname
COLUMN instance_name NEW_VALUE servicename
-- Populate substitution variables.
SELECT
name AS username,
-- Get the user's password hash(s) and apply appropriate formatting for case-sensitive password if needed (11g+ passwords).
NVL2(spare4, spare4 || ';' || password /* 11g+ */, password /* pre-11g */) AS password_hash
FROM sys.user$
WHERE name = UPPER('&username');
SELECT host_name, instance_name
FROM v$instance;
-- Set the user's password to a temporary value.
ALTER USER &username IDENTIFIED BY TempPass;
-- Use the temporary password to connect to the database as the user.
CONNECT &username/TempPass@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=&hostname)(PORT=&listenerport))(CONNECT_DATA=(UR=A)(SID=&servicename)));
-- Reset the user's password to the original value using the original password hash(s).
ALTER USER &username IDENTIFIED BY VALUES '&password_hash';
SHOW USER
UNDEFINE username
UNDEFINE password_hash
UNDEFINE hostname
UNDEFINE servicename
UNDEFINE listenerport
WHENEVER SQLERROR CONTINUE
SET VERIFY ONAnd by so doing you just kicked the user's password expiration on down the road, negating the benefit of havng a password expiration.
Also, you locked out the legitimate user of this account, until such time as you reset it back to the original. And in the mean time, if this happens to be an account used by some automated process, that process doesn't know the new "temporary" password and runs a risk of locking the account from too many invalid connection attempts. Try to become SYSMAN or DBSNMP from this, and you will very quickly kill OEM.
This has "bad idea" written all over it. What problem is it supposed to be be solving? -
Few Win client machine throws up (only port 1521) ORA-03135 Error
Hi Everyone,
We have been encountering a strange issue with the client --> database connectivity.
Oracle Database Server 11.2.0.3 (64bits) Single Instance - AIX 6.1 (64 bits)
Oracle Client 11.2.0.3 (32 bits) - Windows 2008 R2 Standard (64 bits)
Two windows client machines disconnect from the database server while running a script. The connection hangs when the script is being executed with just the cursor on the screen. After a while, it throws up the ORA-03135- connection lost contact error.
The same script works fine from other windows machine perfectly even on VPN and having different versions of oracle clients installed on them too. Have tried following up a number of KB articles. Have tried setting up sql.net timeout parameters on the server as well as client accordingly. Checked firewall settings with network team. Even tried opening up all firewall ports for test purposes but still the issue persists.
Oracle Support suggested a number of troubleshooting steps and one of the step was the following:
".....Try changing listener port instead of common port 1521. Many routers including Juniper handles Oracle default listener port 1521 specially and thus might impose traffic limit."
Quickly we tried changing the listener port and also the firewall guys changed the port to 1522 from existing 1521. As soon as we did this, we were able to run the scripts fine from both the machines clearly indicating a stable connection. We tried reverting back to 1521 and encountered the same issue.
Anyone aware of this peculiar issue? All help will be really appreciated! Thank you!Hi Helios,
I have gone through the documents earlier and the respective sql parameters has been set. But again, the problem is ONLY with 2 of our windows client machines and that too when the db listener port is set to default 1521. Our network team confirmed that all the SQL related ALG filtering has been disabled. The Intrusion Protection System (IPS) is also disabled as default between the client - database network VLAN. -
If port is unavailable then which service is listening on that port
hi all
I am writing one module to check 1) which ports are available in system and 2) if port is unavailable then which service is listening on that port. I want to run that module on Windows platform and also UNIX platform.
I have done first part but i am not finding way to do the second part. Is there any way in Java or any other prog language (C, C++) to do so. please share idea or code i am awaiting for response.
Thanks in advance :)
Message was edited by:
Codeword_SwanUnder Unix there is the command "fuser" to tell which process has open a given file. With -n you can tell another space like tcp for sockets. Thus:
$ fuser -n tcp 7777
here: 7777
7777/tcp: 3753
$ ps -p 3753 -f
UID PID PPID C STIME TTY TIME CMD
oracle 3753 3722 0 Aug28 ? 00:00:53 /opt/oracle/product/AS/10g/R2/webcache/bin/webcached -OPMN -U 1325072547 -
Apex listener 503 - Service Unavailable
Hi,
I installed APEX LIstener 2.0.5.
This ist my file defaults.XML:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>Saved on Thu Jan 02 13:26:45 CET 2014</comment>
<entry key="db.password">!apex_public_user</entry>
<entry key="debug.printDebugToScreen">false</entry>
<entry key="security.disableDefaultExclusionList">false</entry>
<entry key="cache.maxEntries">500</entry>
<entry key="error.maxEntries">50</entry>
<entry key="security.maxEntries">2000</entry>
<entry key="cache.directory">/tmp/apex/cache</entry>
<entry key="jdbc.DriverType">thin</entry>
<entry key="log.maxEntries">50</entry>
<entry key="db.hostname">localhost</entry>
<entry key="jdbc.MaxConnectionReuseCount">1000</entry>
<entry key="log.logging">false</entry>
<entry key="jdbc.InitialLimit">3</entry>
<entry key="jdbc.MaxLimit">10</entry>
<entry key="cache.monitorInterval">60</entry>
<entry key="cache.expiration">7</entry>
<entry key="jdbc.statementTimeout">900</entry>
<entry key="jdbc.MaxStatementsLimit">10</entry>
<entry key="db.sid">ORPC3</entry>
<entry key="misc.defaultPage">apex</entry>
<entry key="misc.compress"/>
<entry key="jdbc.MinLimit">1</entry>
<entry key="cache.type">lru</entry>
<entry key="cache.caching">false</entry>
<entry key="db.port">1521</entry>
<entry key="error.keepErrorMessages">true</entry>
<entry key="cache.procedureNameList"/>
<entry key="cache.duration">days</entry>
<entry key="jdbc.InactivityTimeout">1800</entry>
<entry key="debug.debugger">false</entry>
</properties>
I startet the listener with java -jar apex.war
When I startet with http://localhost:8080/apex/f?p=4550:1:2983093393191825
I got ORACLE APPLICATION EXPRESS LISTENER 503 - Service Unavailable
Please help me!
Regards
SiegwinHi Jari,
when I start APEX Listener there are the answers:
C:\>java -jar C:\app\Administrator\product\11.2.0\dbhome_2\apex_listener_2_0_5\a
pex.war
Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Standalone execute
INFO: HINWEIS:
Der Standalone-Modus ist zur Verwendung in Entwicklungs- und Testumgebungen entw
ickelt worden. Er wird bei Verwendung in Produktionsumgebungen nicht unterst³tzt
Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Standalone execute
INFO: Standalone-Webcontainer in C:\app\Administrator\product\11.2.0\dbhome_2\ap
ex_listener_2_0_5\config\apex wird gestartet
Jan 04, 2014 9:04:06 AM oracle.dbtools.standalone.Deployer deploy
INFO: Anwendung wird bereitgestellt, Pfad = C:\app\Administrator\product\11.2.0\
dbhome_2\apex_listener_2_0_5\config\apex\apex\WEB-INF\web.xml
Jan 04, 2014 9:04:07 AM oracle.dbtools.standalone.Deployer deploy
INFO: Anwendung bereitgestellt, Pfad = C:\app\Administrator\product\11.2.0\dbhom
e_2\apex_listener_2_0_5\config\apex\apex\WEB-INF\web.xml
Jan 04, 2014 9:04:12 AM oracle.dbtools.common.config.file.ConfigurationFolder lo
gConfigFolder
INFO: Using configuration folder: C:\app\Administrator\product\11.2.0\dbhome_2\a
pex_listener_2_0_5\config\apex
Default Database connection not configured properly
Jan 04, 2014 9:04:13 AM oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle Application Express Listener initialized
Application Express Listener version : 2.0.5.287.04.27
Application Express Listener server info: Grizzly/1.9.49
Jan 04, 2014 9:04:13 AM com.sun.grizzly.Controller logVersion
INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 04.01.14 09:04
Jan 04, 2014 9:04:13 AM oracle.dbtools.standalone.Standalone execute
INFO: http://localhost:8080/apex gestartet.
Jan 04, 2014 9:05:05 AM oracle.dbtools.rt.web.HttpEndpointBase modApex
SEVERE: The pool named: apex is not correctly configured, error: ORA-01017: inva
lid username/password; logon denied
oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not
correctly configured, error: ORA-01017: invalid username/password; logon denied
at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(C
onnectionPoolException.java:65)
at oracle.dbtools.common.config.db.DatabaseConfig.badConfiguration(Datab
aseConfig.java:207)
at oracle.dbtools.common.config.db.DatabaseConfig.getPool(DatabaseConfig
.java:346)
at oracle.dbtools.common.config.db.DatabaseConfig.getPool(DatabaseConfig
.java:326)
at oracle.dbtools.common.config.db.DatabaseConfig.access$200(DatabaseCon
fig.java:42)
at oracle.dbtools.common.config.db.DatabaseConfig$DatabaseFactory.apply(
DatabaseConfig.java:380)
at oracle.dbtools.common.config.db.PerThreadConnectionCache$DisposableCo
nnectionFactory.apply(PerThreadConnectionCache.java:233)
at oracle.dbtools.common.config.db.PerThreadConnectionCache$DisposableCo
nnectionFactory.apply(PerThreadConnectionCache.java:217)
at oracle.dbtools.common.util.PerThreadCache.get(PerThreadCache.java:60)
at oracle.dbtools.common.config.db.PerThreadConnectionCache.get(PerThrea
dConnectionCache.java:49)
at oracle.dbtools.common.config.db.DatabaseConfig.getConnection(Database
Config.java:78)
at oracle.dbtools.common.jdbc.ora.OraPrincipal.connection(OraPrincipal.j
ava:69)
at oracle.dbtools.apex.ModApexContext.getConnection(ModApexContext.java:
372)
at oracle.dbtools.apex.Procedure.getProcedure(Procedure.java:167)
at oracle.dbtools.apex.OWA.validateProcedure(OWA.java:386)
at oracle.dbtools.apex.security.Security.isValidRequest(Security.java:22
0)
at oracle.dbtools.apex.ModApex.validateRequest(ModApex.java:264)
at oracle.dbtools.apex.ModApex.doGet(ModApex.java:93)
at oracle.dbtools.apex.ModApex.service(ModApex.java:300)
at oracle.dbtools.rt.web.HttpEndpointBase.modApex(HttpEndpointBase.java:
350)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:
132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(
ServletAdapter.java:1059)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFil
terChain(ServletAdapter.java:999)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.
java:434)
at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServle
tAdapter.java:91)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.ja
va:379)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:179)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapter
Chain.java:196)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java
:179)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:8
49)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
tocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java
:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
ool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
.java:513)
at java.lang.Thread.run(Unknown Source)
Please help me -
Hi Team ,
We are planning 11.2.0.1 Grid infra rolling upgrade to 11.2.0.2 with out any downtime.
But while up gradation due to default scan port 1521 , 11.2.0.1 databases are not able to connect (remote connections)
We are using 1900 port for existing 11.2.0.1 grid infra scan.
While up gradation it is taking default port of 1521 insted of existing port 1900.
Please provide the solution to use non default port while 11.2.0.2 up gradation.
After upgrade the status as below.
grdoratst104:/apps/grid/grdhome:+ASM4> srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
Here I was getting TNS:no Listener errors from the client connections.
I have modifyed the scan port then it is working fine.
grdoratst104:/apps/grid/grdhome:+ASM4> srvctl modify scan_listener -p TCP:1800
grdoratst104:/apps/grid/grdhome:+ASM4> srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1800
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1800
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1800
grdoratst104:/apps/grid/grdhome:+ASM4>
Here the problem is we need to do the grid infra upgrade with out downtime,but due this default port issue clients are not able to connect to the database.
Thanks
Bala
Edited by: user12032334 on May 31, 2011 11:46 AMWhy are you using a non default port? It does not improve security. It makes network management more complex. And causes the type of issues that you are facing now.
So before changing defaults, make sure that your reasons are technically sound. And using port 1900 when 1521 is available, is not technically sound by any means.
As for addressing the problem you have created for yourself by mucking around with port numbers. Use a NAT firewall (on each RAC node) to rewrite packets headers received on port 1900 and send these to the server's port 1521 instead (on the VIP or static IP as required).
This can be fairly easily done using iptables if your o/s is Linux. You need to:
a) create a pre-routing NAT rule
b) create a post-routing NAT rule
c) create a forwarding filter rule for port 1900/tcp
d) create an input filter rule to accept traffic on 1900/tcp -
What is default database listener port number
Running emca script requested for database listener port number. Where do I get this information from.
If the port number is not specified in listener.ora,
you may get different values with 10gR1 such as 1509,
1525, 1525 or 1531 (on Windows XP SP2).
I guess this depends also on whether the TCP/IP port
1521 is really released or notI have seen what you have described above when port 1521 was in use by another process. If the port is not in use, I have not seen any thing other then 1521 assigned when the listener was created either during installation or afterwards using Net Assistant. -
Changing the listener port number in a cluster environment
Hello,
I have an Oracle 10g database on a Windows cluster environment with Oracle Fail safe. I am trying to change the default listener port number - these are the steps I have done to change the port number:
1) Take the listener offline via Oracle Fail safe
2) stop the original listener from the command line
3) change the port number in the listener.ora file & save
4) start the original listener
5) bring the listener online in Fail safe
6) register the listener in the database with ALTER SYSTEM SET LOCAL_LISTENER....
After all this, when i check the status of the listener via lsnrctl, i see that the new port number is used, however in the Fail safe administrator, I still see the default port 1521. How do I go about changing the port number so that Fail safe also registers the change?I did troubleshooting to verify the group, but this just changed the port number back to the default in the listener.ora & tnsnames.ora.
So I did all the steps again to change the port number from the default to another - via lsnrctl status, i see that the new port number is being used, I can also log in to the database via Toad using the new port number, in v$parameter i see that the local_listener is registered on the new port number....only under the Fail Safe manager, the port number (under listener parameter) has not changed....it still shows the default port number. Anyone know how to change this??? -
Changing the Listener Port Number
Hi RACers,
I need to change the TNS listener port number from the default of 1521 (don't ask!).
I'm on Solaris10/Oracle10g 10.2.0.3 using a 2 node cluster.
I've tried editing the relevant files, bouncing everything and re-starting CRS, but that doesn't work. I tried using Netca to delete the listener and re-create it with a different port number and that didn't work either. The instances did not re-register despite having their local_listener parameter changes.
Obviously I'm doing something wrong, but don't know what. Any ideas or do you know where a procedure to do this is documented?
Thanks in advance.My posting was not aimed at the OP at all.. not his fault that Oracle insists on using a TCP port that's NOT registered for Oracle use.
It is all Oracle's fault that port 1521 is used instead of 1527.
As for what Oracle books say.. bahumbug. Means nothing ito playing by the same networking rules as everyone else.
Port 1527 is what is registered for and by Oracle as use for Oracle tcp traffic. Not fricken port 1521!
And why is this a problem?
If you're in the network business and deal with everything and anything from network analysis and management to rewriting ToS bytes for proper DiffServ application.. then it is very frustrating to find a major company like Oracle ignoring the networking rules.
I read that as Oracle telling us "screw you". -
Grid Control 10.2 and Port 1521
I'm installing Grid Control on a HPUX box that has three Oracle Financials environments, and four non-financials databases. During the install, I'm asked to run a script as root. On that same screen, it says "in order to successfully install the product, any applications other than the 10g database listener running on port 1521 must be stopped". I have a 9i DB running on 1521 - for our PROD Financials. I stopped the install of the grid, not wanting to mess anything up.
My questions - is there a way to specify a different port for the Grid control? Is anybody else in the same situation as me here? What do you guru's recommend I do? I'm thinking I should install the grid control on a separate box.
Thanks...cjjThis is feature is not there in 10.2
This situation can be avoid by chagning the 9i port to 1522
or install the GC on diffrent box -
Find out listener port number in linux?
hi, can anyone tell me how i find out the listener port number in linux?
sti..l getting the same error (please see below)
oracle@matt-desktop:~$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-JUL-2010 16:39:21
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
The listener supports no services
The command completed successfully
oracle@matt-desktop:~$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-JUL-2010 16:39:21
Uptime 0 days 0 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@matt-desktop:~$ cd $ORACLE_HOME/bin
oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$ ./emca -config dbcontrol db -repos create
STARTED EMCA at 19-Jul-2010 16:40:32
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Local hostname ................ matt-desktop
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
19-Jul-2010 16:40:56 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log.
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_repos_create_<date>.log for more details.
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$
=========================================================
========================================================
The log file is 571 lines...
is it anything to do with this stage: --->
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
im not actually entrering anything, im just clicking enter??
Edited by: user9200169 on 19-Jul-2010 08:45 -
hi,
what is the range of port number of listener in 10g and 11g.
in google it has show only default port number.
thank youuser8647245 wrote:
what is the range of port number of listener in 10g and 11g.Default Listener port is 1521. Registered port for the Oracle Listener with IANA (Internet Assigned Numbers Authority) is 1527 and not 1521.
You can however, in theory, use any port. In practice though, it is not that simple. And can be kind of stupid not to use the default or registered ports.
Ports 0 to 1023 are well known ports. These should never be used by any other applications like the Listener. On many kernels, only a root process can open a well known port.
Ports 1024 through 49151 are (IANA) registered ports. See RFC4340 for the registration process details. And this is where the Oracle Listener is registered as port 1527 - despite Oracle for many years using 1521 instead.
Generally speaking, keep to the default or use the the registered port. Do not arbitrarily change port numbers.
Ports 49152 through 65535 are private or dynamic ports. You should not ever use a port in this range as a listening end point for an application.
Okay, so why use specific ports for specific applications?
It comes down to network management and network performance.
Use arbitrary ports, and you mess sophisticated network designs horrible around. You can cause a negative network impact for your application due to how QoS (quality of service) are implemented. You can run into firewalls. You are not supportting the network folk in managing the underlying network infrastructure properly, enabling them to support your network application as you expect it to be supported.
So do NOT simply change the Oracle Listener port number. And no - changing it does not "improve" security either. -
Oracle 10g database listener port range?
Hi there
Can you share me oracle 10g database listener port range (start port to end port No). default port is 1521
Regards
Jewel
Edited by: user623166 on Jul 31, 2012 10:41 PMI think you will find your answer in below thread :
listener port number
Osama .. -
Oracle 10g Listener Port Changes after every Restart
Hi All,
I have installed Oracle10g in my Laptop and was working fine till last week, but now when I start the Listener, it is starting with different port number other than the default port 1521. ( For example first time Listener started with port number 3110, then after restarting the Listener it becomes 3313, and so on) That means server is assigning different port numbers on every time when the listener starts.
Because of this I am not able to connect to the database.
How to make the Listener port as default 1521 permenantly.
Please help.
RegardsHi,
Can you please check the listener.ora file? Do you have the port number
mentioned as 1521 as below:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = my_server_name_fully_qualified)(PORT = 1521))
Regards,
Chandan
Maybe you are looking for
-
Installing hundreds of presets causes glitch in ACR
Is there a maximum amount of Presets that ACR will load? All of my presets are in the correct folders / file path but after a certain amount of presets, my presets panel goes blank. There seems to be a glitch past a certain point. Attached is two scr
-
FTP publishing on iWeb to replace existing site - files not appearing.
On iWeb, I used FTP publishing to replace my existing site files, then deleted the original files but not only has the new site files not appeared in my public html folder but I get the message:The requested URL /www.geofflevitus.com was not found on
-
Please Find the error in this code
Hi , I am new to ajax.My problem is that i cannot insert a value in to a textfield which is fetched from a database(MySql). I have two jsp pages.Definition1.jsp and definition.jsp. I am giving the code below.[b]But it does not work[/b]. I don't kno
-
Is there a way to get around an embed conflict with a spark Label components and mx.Alert component? I have embedded the Arial font in to my application: @font-face { src:url("c:/windows/fonts/arial.ttf"); fontFamily: Arial; embedAsCFF: true
-
Using NetBeans' Build > Generate Javadoc for Project ... init: Warning: Leaving out empty argument '-windowtitle' Generating Javadoc Javadoc execution C:\Program Files\netbeans-5.5.1\projects\Jesdisciple\nbproject\build-impl.xml:392: Javadoc returned