(ORA-12547: TNS:lost contact | ORA-12541: TNS:no listener)Installing Oracle 11gR2 on Ubuntu 12.04 [message #600220] |
Sun, 03 November 2013 09:28 |
weekend79
Messages: 198 Registered: April 2005 Location: Islamabad
|
Senior Member |
|
|
Hi
I have installed Oracle 11gR2 on Ubuntu 12.04 on amazon VM using following doc.
http://www.gizmojunkee.com/2012/05/installing-oracle-11gr2-on-ubuntu-12-04/
all components installed successfully but 'Database Configuration Assistant' failed so database also didn't installed successfully.
I have created new database using dbca. database created successfully but keep giving the warning 'ORA: 12547: TNS: lost contact' many times within database installation.
After that i try to connect database but failed.
when i give complete string "sqlplus user/pwd@service"
it give following error
ORA-12541: TNS:no listener
when i connect as "sqlplus /nolog"
it connect to sql prompt
then on sql prompt i do "SQL> conn /as sysdba"
it give following error
ORA-12547: TNS:lost contact
Moreover my service is working but listener is not responding at all.
if i pass any of following command the os didn't return any error or warning or anything and os prompt jump to next line.
lsnrctl
lsnrctl status listener_name
lsnrctl start listener_name
lsnrctl stop listener_name
what i have already done by reading the different forums is as under, but it didn't worked.
cd $ORACLE_HOME/bin
chmod 6751 oracle
above didn't worked for me.
$ORACLE_HOME/root.sh from root
above didn't worked for me.
cd $ORACLE_HOME/bin relink
above didn't worked for me.
can some one help me out of (ORA-12547: TNS:lost contact | ORA-12541: TNS:no listener)?
I wonder the installation doc i use may missed any package need install on os.
Thanks
|
|
|
|
|
|
|
|
|
|
Re: (ORA-12547: TNS:lost contact | ORA-12541: TNS:no listener)Installing Oracle 11gR2 on Ubuntu 12.04 [message #600229 is a reply to message #600228] |
Sun, 03 November 2013 12:18 |
weekend79
Messages: 198 Registered: April 2005 Location: Islamabad
|
Senior Member |
|
|
BlackSwan
find / -name alert_\*.log -ls 2>/dev/null
no result
ls -ltr $ORACLE_HOME/dbs
total 8
-rw-r--r-- 1 oracle oinstall 2851 May 15 2009 init.ora
-rw-r----- 1 oracle oinstall 1536 Nov 2 15:04 orapwORCL
Moreover when I created the database using dbca it keep popping up the alter 'ORA-12547: TNS:lost contact' but show successful creation in end.
few moments ago I try to reconfigure the database with dbca (as its only way i have to view it) when I give user/pwd on dbca interface to reconfigure database it showed 'Retreveing Information' popup but again 'ORA-12547: TNS:lost contact' alert arrive and 'Retreveing Information' popup disappear.
so dbca also only show this db but cant connect it.
[Updated on: Sun, 03 November 2013 12:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|