Stop the listener (it may not stop cleanly)
su - oracle
lsnrctl stop
mv /var/tmp/.oracle /home/oracle (you may have to do this operation as root)
lsnrctl start
Example of the listener start:
$ lsnrctl start
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 27-DEC-2013 14:00:46
Copyright 1991, 2008, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/11.1.0/db_1/log/diag/tnslsnr/SQ1PPLIQ001/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SQ1PPLIQ001.tor.quest.com)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 27-DEC-2013 14:00:46
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.1.0/db_1/log/diag/tnslsnr/SQ1PPLIQ001/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SQ1PPLIQ001.tor.quest.com)(PORT=1521)))
The listener supports no services
The command completed successfully
If you get a message about "The listener supports no services", confirm the listener.ora file has this form (the IPC entry should not be commented out):
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = poppy.dr.avaya.com)(PORT = 1521))
)
)
SECURE_REGISTER_LISTENER = (IPC)
then use /etc/init.d/dbora stop; /etc/init.d/dbora start, so that listener and instance synchronize properly.
Finally, after DB instance and listener start with no errors, restart IQ so that it also synchronizes properly.