Operating System - HP-UX
1752767 Members
5316 Online
108789 Solutions
New Discussion юеВ

Re: root user cannot login into ORACLE

 
SOLVED
Go to solution

root user cannot login into ORACLE

Hi all:

We have a 2-party cluster with HPD230 servers and Oracle 8.0.4 binaries on each machine. Tablespaces lie on a shared discs box.

root user on machine2 cannot login into ORACLE when machine1├В┬┤s root can.

Checking up on environment variables was OK (I think so).

Any suggestion on any aditional cheking???

Thanks for your tim
21 REPLIES 21
Graham Cameron_1
Honored Contributor

Re: root user cannot login into ORACLE

There are many possible reasons.
What are you using to connect, and what is the error message?
-- Graham

Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Mark Grant
Honored Contributor

Re: root user cannot login into ORACLE

How are you logging into oracle from root and also what error message do you get?
Never preceed any demonstration with anything more predictive than "watch this"
Christian Gebhardt
Honored Contributor

Re: root user cannot login into ORACLE

Hi

if you are using "svmgrl" to connect to the database, your root-User have to be in Database Administrator Group (mostly dba)

Christian
T G Manikandan
Honored Contributor

Re: root user cannot login into ORACLE

If you are using sqlplus then you should be able to connect to the database with properly env. settings.

If you are using svrmgrl,then this executable has permissions for user oracle and group dba.

The root should be added to the dba group

Revert

Re: root user cannot login into ORACLE

Hi again:

Just sqlplus for logging.
2 examples, root user and other user:

AS SUPERUSER:

# sqlplus

SQL*Plus: Release 8.0.4.0.0 - Production on Wed Oct 15 11:5:58 2003

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Enter user-name: taller
Enter password:
ERROR:
ORA-12203: TNS:unable to connect to destination


Enter user-name:

AS OTHER USER:

contal2_contal> sqlplus

SQL*Plus: Release 8.0.4.0.0 - Production on Wed Oct 15 11:7:22 2003

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Enter user-name: taller
Enter password:

Connected to:
Oracle8 Enterprise Edition Release 8.0.4.0.0 - Production
PL/SQL Release 8.0.4.0.0 - Production

SQL>
Graham Cameron_1
Honored Contributor

Re: root user cannot login into ORACLE

This looks like TWO_TASK (although I thought that went out with sql*net v1).
Try "echo $TWO_TASK" as OTHER USER.
Then as root, do "export TWO_TASK=VALUE_ABOVE" (no spaces).
Any good ?
-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Christian Gebhardt
Honored Contributor

Re: root user cannot login into ORACLE

TNS-12203 unable to connect to destination

Cause: Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.

Action: Verify that the service name you entered on the command line was correct. Ensure that the listener is running at the remote node and that the ADDRESS parameters specified in TNSNAMES.ORA are correct. Finally, check that all Interchanges needed to make the connection are up and running.

-------------------

Variable TNS_ADMIN shows where your "tnsnames.ora" is located, if the variable does not exist the file is under $ORACLE_HOME/network/admin

Chris

Re: root user cannot login into ORACLE

Graham:

Nothing to do with TWO_TASK, neither root user nor OTHER_USER user had this variable set.

Christian:

I can search around tnsnames.ora but if there is any mistake with it, whether root user or the others would be affected ├В┬┐?

Thanks guy
Justo Exposito
Esteemed Contributor

Re: root user cannot login into ORACLE

Hi Manuel,

If yo have Oracle as a package you have a name for the package and a IP address for that, then in your tnsnames you must define the connexion to this name and IP in both nodes. If you do this you can connect to the database from the other node.

Regards,

Justo.
Help is a Beatiful word