LISTENER PROBLEM [message #150816] |
Sat, 10 December 2005 04:48 |
oradba16
Messages: 54 Registered: September 2005
|
Member |
|
|
hi,
I am installing a oracle8i in a solaris8.i have choosed the customization type installation.i hav succesfully installed the oracle8i.then very next setup i logined as a root and reserve a port for the Net8 listener by making the following
entry in the /etc/services file:
listener_name 1521/tcp #Net8 listener
then i created listener by my own in cd $ORACLE_HOME/rdbms/network/admin is given below
vi listener.ora
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
)
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=HOSTNAME)(PORT=1521))
)
)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=PLSExtproc)
(ORACLE_HOME=/EXPORT/HOME/ORACLE/OraHome1)
(PROGRAM=extproc)
)
(SID_DESC=
(SID_NAME=KESD
(ORACLE-HOME==/EXPORT/HOME/ORACLE/OraHome1)
)
)
:wq
AFTER THIS I SET THE ENVIROMENTAL VARIABLE IN .PROFILE
as TNS_ADMIN=$ORACLE_HOME/network/admin
then i run the .profile by ./.profile
then i try to start listener by
$lsnrctl status LISTENER
command not found
$lsnrctl start LISTENER
command not found
?
so i dont know whats going wrong with my process so anyone plz help me
to resolve it.
|
|
|
|
|
Re: LISTENER PROBLEM [message #150924 is a reply to message #150816] |
Mon, 12 December 2005 00:49 |
wofler
Messages: 4 Registered: February 2005 Location: Germany
|
Junior Member |
|
|
Hello,
it seems the binary lsnrctl could not be found in your default
PATH. Add the $ORACLE_HOME/bin to your PATH in your .profile and
try again.
And BTW exchnage in this row
(ADDRESS=(PROTOCOL=TCP)(HOST=HOSTNAME)(PORT=1521))
HOSTNAME by your real hostname or IP address.
Regards,
wofler
|
|
|