Cannot AutoStart Oracle Listener (lsnrctl)
Date: Thu, 17 May 2001 01:36:41 GMT
Message-ID: <JWFM6.4921$6j3.439686_at_www.newsranger.com>
Dear sir/madam,
I have just installed Oracle 8i on Slackware 7.1, and have a problem with the
Oracle listener. I should appreciate for any help. The problem is this:
The Oracle software installs successfully, and I can start the listner (using
$ORACLE_HOME/bin/lsnrctl start) by logging in as the oracle user account. Then I
want the listener to autostart on boot, so I run a script which contains the
following lines:
/usr/oracle/.bash_profile
The second line fails with the following errors:
su - oracle -c "$ORACLE_HOME/bin/lsnrctl start".
TNS-01103: Protocol specific component of the address is incorrectly specified TNS-12541: TNS: no listener TNS-12560: TNS: protocol adaptor error TNS-00211: ...
Please note that the script is run by the root user, and oracle is the user name who installs Oracle, and the .bash_profile file has established all Oracle environment variables ($ORACLE_HOME, $ORACLE_SID, etc.)
Thank you for your kind help.
Regards,
Victor Lee
Received on Thu May 17 2001 - 03:36:41 CEST