ORA-12546: TNS:permission denied
If you are trying to start the listener:
Make sure the user you are trying to start the lsnrctl has the necessary privileges to create sockets.
If you are trying to make a connection to Oracle:
Make sure you belong to a group the has execute privileges on the oracle executable.
Make sure the sticky bit is set.
eg:
In this example, world has no execute privileges on the oracle executable, so you either need to be the oracle user, or belong to the dba group.
-rwsr-s--- 1 oracle dba 75347704 Jul 14 14:14 oracle
Another thing to check is the hidden directory, mostly located at /tmp/.oracle or /var/tmp/.oracle .
Should these have the incorrect privileges, you probably will get the ORA-12546 error as well.
Welcome to our forum for Oracle error: ORA-12546 Add your own message
wat happens when a cursor is cached? Is it closed when we switch over to the new form?
if it is closed,then whats the benefit of cachin the cursor as memory is deallocated when the cursor is closed.
Do you have a firewall running on your system?
Initially I managed to get sqlplus for dos running and I could run my scripts and create all my tables, triggers ...etc succesfully. Later I disconnected from the internet (I'm temporarily using a dial-up connection to AOL until I set my ADSL2). Then, later on, I closed the dos window and when I reopenned and tried to connect again to the database using sqlplus and I could not connect anymore and I keep getting ORA-12546.
I modified the listener.ora and the tnsnames.ora (in both locations: Oracle XE and the developer suite) and I ensured that all had the host pointing to 127.0.0.1 It didn't seem to help. Again, only the forms, reports and sqlplus for windows (the dev suite) are working.
What went wrong? Can someone please help? I only have very limited (minimal) experience installing and configuring an oracle database. Many thanks.
When connected to the internet when you install Oracle software, the ip address of the internet connection will be in your listener.ora and tnsnames.ora files.
You have to change them to 127.0.0.1 in order to let it work.
Because you have both a database and developer suite, you probably have 2 different Oracle Homes where these changes need to be made.
You can download our free tool "Oracle Locator Express" to see how many Oracle homes you have, and than make all the changes to all the files
Initially I managed to get sqlplus for dos running and I could run my scripts and create all my tables, triggers ...etc succesfully. Later I disconnected from the internet (I'm temporarily using a dial-up connection to AOL until I set my ADSL2). Then, later on, I closed the dos window and when I reopenned and tried to connect again to the database using sqlplus and I could not connect anymore and I keep getting ORA-12546.
I modified the listener.ora and the tnsnames.ora (in both locations: Oracle XE and the developer suite) and I ensured that all had the host pointing to 127.0.0.1 It didn't seem to help. Again, only the forms, reports and sqlplus for windows (the dev suite) are working.
What went wrong? Can someone please help? I only have very limited (minimal) experience installing and configuring an oracle database. Many thanks.
Error in writing to file D:\oracle\product\10.1.0\javavm\admin\classes.bin (invalid entry size 62208454 but got 62210787 bytes)
how do i correct this
This will contain additional info needed to solve this error
at Database configuration Assistant.
You are probably installing Oracle as a user without the correct administrative privileges.
When you install Oracle, it need to listen to some sockets. The sockets can only be created if you have the correct privileges.
You need to be a local administrator on your pc in order to install Oracle.
Privileges needed are 'logon as a service' amongst others.
I added the user as a administrator of local computer and the user is also domain administrator but still getting same message.
And are you using this user to start the Oracle services?
In order to find out, open the services control panel, right click on the service, choose properties, next click on the 'Log On' tab.
You have 2 options, either the 'Local System Administrator' is used, or you can overrule with another privileged user.
If you overruled the user, does this user have the necessary admin privileges?
Actually when i m going to install Oracle i m getting the error message.
My OS is windows server 2003, i m not using linux based OS. i tried to install as local administrator.
Hello Sir
I installed Oracle 10g XE on my laptop and struggling to make it work, no issue with installation but cant launch database home page – receiving page not found error (http://127.0.0.1:8080/apex) I changed 127.0.0.1 to localhost but same problem. There is no other instance of Oracle running on my PC.
My PC info:-
OS - Windows XP, SP3
Memory – 1.99 GB
HD Available Space -62 GB
User – Administrator, member of ORA_DBA group (can change PC name and registry values)
I can start all oracle related services except OracleXETNSListener
"The OracleXETNSListener service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
When I try to start from command prompt using lsnrctl start, I am getting following error.
C:\Documents and Settings\me>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-MAR-2010 12:19
:05
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
System parameter file is C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\AD
MIN\listener.ora
Log messages written to C:\oraclexe\app\oracle\product\10.2.0\server\network\log
\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR
_XEipc)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=TCT_PC)(PORT=1521)
))
TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
32-bit Windows Error: 13: Permission denied
Listener failed to start. See the error message(s) above...
*If I change host name from HOST=TCT_PC to HOST=localhost, listener starts but cannot launch home page. After I make changes I am getting following status with no XE instance.*
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\me>lsnrctl stat
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-MAR-2010 15:30
:00
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 02-MAR-2010 15:27:05
Uptime 0 days 0 hr. 2 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\A
DMIN\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRI
Continue.....
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I have downloade Oracle Locator Exp. - Its finding only on ORACLE_HOME, I also download Oracle Listener Remover - Finding only one listener.
I hope some one can help me, I have been searching other forum but couldn’t find solution on similar to my case, appreciate your time and efforts. Thanks
As for the dns part:
Did you install XE when connected to internet? Sometime a different ip address is used.
When you open a command prompt and do ping TCT_PC, does it match the correc ip address?
Can you also send the listener.ora, sqlnet.ora and tnsnames.ora located in %ORACLE_HOME%/network/admin to support@dbmotive.com, if they exist.
Can you logon as sysdba and give the result of local_listener:
sqlplus "/ as sysdba"
show parameter local_listener
Can you also provide the info of the listener ports (still connected as sysdba):
select dbms_xdb.gethttpport, dbms_xdb.getftpport from dual;
Also, please provide the info of the command (run on dos command prompt):
lsnrctl services
Thanks for quick reply, here are the results, I emailed you result of ping and listener.ora, sqlnet.ora and tnsnames.ora files to support email. Thanks
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 4 19:39:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> show parameter local_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string
SQL> select dbms_xdb.gethttpport, dbms_xdb.getftpport from dual;
GETHTTPPORT GETFTPPORT
----------- ----------
8080 0
C:\Documents and Settings\me>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-MAR-2010 19:51
:35
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: TCT_PC, pid: 3188>
(ADDRESS=(PROTOCOL=tcp)(HOST=TCT_PC.TCTGROUP)(PORT=1027))
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Can you also please post the result of following query:
select * from v$parameter where name='dispatchers';
Here is the result
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> select *from v$parameter where name='dispatchers';
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
797
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
dispatchers
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
2
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
(PROTOCOL=TCP) (SERVICE=XEXDB)
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
---------------------------------------------------------------------------
Continue......
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
(PROTOCOL=TCP) (SERVICE=XEXDB)
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
FALSE FALSE IMMEDIATE TRUE FALSE FALSE FALSE
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
specifications of dispatchers
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------
Continue......
HASH
----------
2044337135
NUM
----------
NAME
--------------------------------------------------------------------------------
TYPE
----------
VALUE
--------------------------------------------------------------------------------
DISPLAY_VALUE
--------------------------------------------------------------------------------
ISDEFAULT ISSES ISSYS_MOD ISINS ISMODIFIED ISADJ ISDEP
--------- ----- --------- ----- ---------- ----- -----
DESCRIPTION
--------------------------------------------------------------------------------
UPDATE_COMMENT
--------------------------------------------------------------------------------
HASH
----------
SQL>
Hi All,
Even I'm facing exactly the same problem with OracleXETNSlistener as Nash's one.
Kindly help me with this issue.
Thanks,
Manish
I have installed oracle database 10g now connecting to it using Oracle SQL*plus flags the error,"permission denied" when I key in the username, password and host string but connects by keying in the password and username without the host string. what could be wrong the host string.
can I be assisted please.
Hi,
I tried installing Oracle 10g (10.1.0) on Windows 7 Ultimate. I was able to install Oracle software, managing all initial roadblocks (Ran as Administrator and XP compatibility mode). While creating the instance and database using DBCA tool, I face problem. The DBCA tool receives all parameters, while actually trying to create it, it throws "ORA-12546 TNS: Permission Denied" error.
what is wrong here ? How to go about it ? Please suggest.
Thanks.
while i was instaling oracle 10g i got tns:denied error.what is the problom in instaling?
i am facing following problem when i start listener in widows services
"The OracleXETNSListener service on local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the performance logs and Alerts service."
In your %ORACLE_HOME%/network/log directory, there will be a log file.
It will probably contain extra information as for why the listener stopped working.
Also, if you have some kind of firewall software, check that there are no policies preventing the listener from starting up/staying up
Add your message
If you need more information about this particular error message, you can leave a forum message.
We are replying to this message whenever we have some spare time, so please do not consider this as a private 'solve my critical issue asap' service.
Should you need professional Oracle Assistance to make your project a success, please have a look at our consultancy services.
In order to prevent automatic generation of messages, we are asking for a validation code. This code is unique and is generated every time a new message is asked.
If you do not enter the validation correctly, your message will not be recorded.
