Solved

Using sqlplus to connect to Oracle installation bundles with RSA Authentication Manager 7x

Posted on 2009-07-14
7
1,299 Views
Last Modified: 2013-12-19
Hi,

We are currently testing RSA Authentication Manager 7x as we want to upgrade our existing infrastructure.. RSA Auth Manager 7 uses oracle as there database system. I have installed RSA Authentication Manager 7 on a RHEL 4 ES server. The software it self works fine. Since we make lot of reports useing sql i tried to connect to oracle using sqlplus command. Now i am facing a lot of trouble to make it work. I have attached the screenshots of directory structure of RSA Auth Manager installation and directrory structure of oracle installation within RSA Auth Manager installation and my bashrc file. I have also attached the screenshot of error i am getting. Please consider that i am a total newbie in oracle...
oracle.jpg
sqlplus-error.jpg
sqlplus-error-2.jpg
0
Comment
Question by:kvjajoo
  • 2
  • 2
7 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 350 total points
ID: 24848618
That error comes from either an invalid ORACLE_SID or invalid ORACLE_HOME, or the database is down.

Try to identify which database instance is running.

ps -ef | grep smon

Then set the ORACLE_SID according to what you see. Example: If the process name is ora_smon_CAT then your ORACLE_SID=CAT

Also verify ORACLE_BASE and ORACLE_HOME, normally they are not the same. If you go to ORACLE_HOME, you should see under there directories like (apex, assistants, bin, etc.... lib, lib32, rdbms)


If you don't see an instance process, then the problem is you need to start it.

sqlplus / as sysdba
SQL> startup open;

And to start the listener:

lsnrctl start


But prior to this, verify ORACLE_HOME and ORACLE_SID as directed above.





0
 
LVL 1

Author Comment

by:kvjajoo
ID: 24849715
Hi mrjoltcola,

Thanks for the reply,

I have specified ORACLE_SID paramater as same as output of ps -ef | grep smon command. But still i am getting error.

I am attaching three files which shows:
1. the error i am getting
2. Listener.ora
3.output of "lsnrctl services localhost" command
Please go through this files and help me resolve this issue...

sqlplus-error.txt
listener.ora.txt
lsnrctl-services-command.txt
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24851041
1) No need to use the @ syntax in your connect if the database is local and you have set ORACLE_SID. sqlplus will connect to the database specified by ORACLE_SID by default. Using @ syntax forces it to go through the listener / TCPIP

2) When you DO use the @ syntax, the dont use @localhost, use the name of the service alias.

sqlplus aceadm/password@VLSOR8JC
0
 
LVL 1

Author Comment

by:kvjajoo
ID: 24856924
Hi mrjoltcola,

I think your solution works.. But now i am facing new problem... None of my usernames and password are working... Is there anyway where i can create a user and password in order to access the database ?? also when i give "lsnrctl status" command the second last line in output says "The listener supports no services" ...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now