Home » Infrastructure » Linux » bash: lsnrctl: command not found
bash: lsnrctl: command not found [message #235600] Mon, 07 May 2007 06:35 Go to next message
root_oracle
Messages: 2
Registered: May 2007
Junior Member
Hi,

I logged in as "oracle". When I tried to start the listener by saying "lsnrctl start" it says command not found.

[oracle@blrkaa4a /]$ lsnrctl start
bash: lsnrctl: command not found


I even tried doing the command below.

[oracle@blrkaa4a /]$ /home/oracle/oracle/product/10.2.0/db_4/bin/lsnrctl

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 07-MAY-2007 17:01:54

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Message 850 not found; No message file for product=network, facility=NL

LSNRCTL> start
TNS-01106: Message 1106 not found; No message file for product=network, facility=TNS [LISTENER]

LSNRCTL>


Can you please help me on this of how to start the listener?

- Sankar
Re: bash: lsnrctl: command not found [message #235634 is a reply to message #235600] Mon, 07 May 2007 09:01 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
YOu have to first set same variable.
1.ORACLE_SID
2.ORACLE_HOME

like
export ORACLE_SID=<sid>
export ORACLE_HOME=<oraclehome>

$./lsnrctl
$./sqlplus


Regards
Taj
Re: bash: lsnrctl: command not found [message #235719 is a reply to message #235634] Mon, 07 May 2007 14:52 Go to previous messageGo to next message
harshad.gohil
Messages: 157
Registered: April 2007
Location: USA
Senior Member
One more input... Check your profile also, if it's not ran properly, explicitly run that ./.profile


Check afterwards.
Re: bash: lsnrctl: command not found [message #237942 is a reply to message #235600] Wed, 16 May 2007 03:17 Go to previous message
kohlman
Messages: 1
Registered: May 2007
Location: italy
Junior Member
check the setting of LD_LIBRARY_PATH
I found out (on mac os x server) that adding the following line to the oracle user profile
solved the problem of listener messages not showing up

export DYLD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/lib
Previous Topic: Auditing linux users
Next Topic: How to find out RAM size in Linux
Goto Forum:
  


Current Time: Fri Apr 18 17:40:55 CDT 2014

Total time taken to generate the page: 0.10778 seconds