- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Doing a sqlplus with a user different than oracle ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 08:09 AM
тАО03-07-2008 08:09 AM
Doing a sqlplus with a user different than oracle gives ORA-12523
I'm trying to connect to "sqlplus user/pass" using a different user than oracle. I can do this as user oracle but as user scatex it gives me the following error:
[RTO1CCOP-SRV03]/usr/users/scatex> sqlplus scatex/scatex
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 7 12:15:53 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12523: TNS:listener could not find instance appropriate for the client
connection
Enter user-name:
Can you help me with this problem? The ORACLE_SID for user scatex is the same as for user oracle and I also have the TWO_TASK environment variable set. I got an answer from oracle stating I should run changePerms.sh script but I can't seem to find it in $ORACLE_HOME/install folder. Did anyone have this problem and knows how to solve it? I'm desperate for solving this problem.
Best regards,
Miguel Rentes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 08:29 AM
тАО03-07-2008 08:29 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
Have you tried running lsnrctl services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:09 AM
тАО03-07-2008 09:09 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
In order to have the script changePerm.sh under $ORACLE_HOME/install it's necessary to install patch 4516865. I did that and everything worked fine. But I still can't connect to sqlplus as user scatex.
Doing a "lsnrctl services" I have the output:
[RT01CCO]/usr/users/scatex> lsnrctl services
LSNRCTL for HPUX: Version 10.2.0.1.0 - Production on 07-MAR-2008 17:03:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.18.200.139)(PORT=1521))(SERVER=shared))
Services Summary...
Service "prt" has 1 instance(s).
Instance "prt", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
When I try to do a "sqlplus scatex/scatex" as user scatex I have another error now:
[RT01CCO]/usr/users/scatex> sqlplus scatex/scatex
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 7 17:04:15 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name:
Can anyone help? I'm feeling hopeless...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:27 AM
тАО03-07-2008 09:27 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
sqlplus user/pass@database name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:34 AM
тАО03-07-2008 09:34 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
[RT01CCO]/usr/users/scatex> printenv ORACLE_SID
prt
[RT01CCO]/usr/users/scatex> printenv TWO_TASK
prt
[RT01CCO]/usr/users/scatex> sqlplus scatex/scatex@prt
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 7 17:33:59 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12519: TNS:no appropriate service handler found
Enter user-name:
Any ideas? =(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:37 AM
тАО03-07-2008 09:37 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:41 AM
тАО03-07-2008 09:41 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
prt =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.200.139)(PORT = 1521))
)
(CONNECT_DATA =
(SID = prt)
(SERVER = SHARED)
)
)
=(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 10:12 AM
тАО03-07-2008 10:12 AM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
then as sysdba
ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE
Then try connecting as scatex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 09:53 PM
тАО03-07-2008 09:53 PM
Re: Doing a sqlplus with a user different than oracle gives ORA-12523
can you post the output of the following command:
$ lsnrctl services
Also, can you please confirm that you are getting the same error when connecting from another client.
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2008 11:11 PM
тАО03-07-2008 11:11 PM