Failed to connect to database instance: ORA-03135: connection lost contact (DBD ERROR: OCISessionBeg [message #619450] |
Tue, 22 July 2014 11:49 |
Database admin
Messages: 365 Registered: September 2006 Location: india
|
Senior Member |
|
|
Hi ,
There are more than 10 database instances hosted on server slcp01.micro.com and none of the databases are connecting.
For example when i try to connect to one of the database on this server,i get following.
slcp01.micro.com:DRIM01:none:/home/oracle>. oraenv
ORACLE_SID = [none] ? DRIM01
The Oracle base for ORACLE_HOME=/opt/app/oracle/product/11.2.0.4.1 is /opt/app/oracle
slcp01.micro.com:DRIM01:/home/oracle>sqlplus / as sysdba
slcp01.micro.com:DRIM01:/home/oracle>
Can you tell me how to fix this error?
Regards,
Srini
[Updated on: Tue, 22 July 2014 11:49] Report message to a moderator
|
|
|
|
Re: Failed to connect to database instance: ORA-03135: connection lost contact (DBD ERROR: OCISessionBeg [message #619455 is a reply to message #619453] |
Tue, 22 July 2014 12:56 |
Database admin
Messages: 365 Registered: September 2006 Location: india
|
Senior Member |
|
|
Hi Michel,
Here are the results.
slcp01.micro.com:DRIM01:/home/oracle>env | grep -i ora | sort
CLASSPATH=/opt/app/oracle/product/11.2.0.3.2/JRE:/opt/app/oracle/product/11.2.0.3.2/jlib
HOME=/home/oracle
LD_LIBRARY_PATH=/opt/app/oracle/product/11.2.0.4.1/lib:/usr/lib:/usr/local/lib:/etc/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib/sparcv9:/usr/ucblib/
LOGNAME=oracle
MAIL=/usr/mail/oracle
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=/opt/app/oracle/product/11.2.0.4.1
ORACLE_SID=DRIM01
PATH=/opt/app/oracle/product/11.2.0.4.1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:.:/opt/app/oracle/product/11.2.0.4.1/bin:/opt/app/oracle/product/11.2.0.3.2/OPatch
PS1=$HOSTNAME:$ORACLE_SID:$PWD>
PWD=/home/oracle
USER=oracle
slcp01.micro.com:DRIM01:/home/oracle>
slcp01.micro.com:DRIM01:/home/oracle>which sqlplus
/opt/app/oracle/product/11.2.0.4.1/bin/sqlplus
slcp01.micro.com:DRIM01:/home/oracle>
Now i am able to connect database when i do export PATH as below
slcp01.micro.com:DRIM01:/home/oracle>export PATH=/opt/app/oracle/product/11.2.0.4.1/bin:$PATH
slcp01.micro.com:DRIM01:/home/oracle>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Jul 22 20:39:27 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Also when i do cd path and give sqlplus i am able to connect database as below.
slcp01.micro.com:DRIM01:/home/oracle>cd /opt/app/oracle/product/11.2.0.4.1/bin
slcp01.micro.com:DRIM01:/opt/app/oracle/product/11.2.0.4.1/bin>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Jul 22 20:40:03 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Is there anything i need to add in environment variables to connect to the database without doing export path ?
Regards,
Srini
[Updated on: Tue, 22 July 2014 12:57] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|