Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cannot AutoStart Oracle Net8 Listener (lsnrctl)
On Sun, 20 May 2001 05:10:26 GMT, Victor Lee <nospam_at_newsranger.com>
wrote:
Sounds like the lsnrctl is being down before TCP/IP is initialized.
How does the script work manually after the system comes up.
>Dear sir/madam,
>
>I have just installed Oracle 8i (8.1.6) on Slackware 7.1, and have a problem
>with the
>Oracle Net8 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
>su - oracle -c "$ORACLE_HOME/bin/lsnrctl start".
>
>The second line fails with the following errors:
>
>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 Sun May 20 2001 - 04:52:19 CDT