Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-07-14
7
Medium Priority
?
1,313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 1400 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

704 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