Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Cannot AutoStart Oracle Net8 Listener (lsnrctl)

Re: Cannot AutoStart Oracle Net8 Listener (lsnrctl)

From: Vinayak Kulkarni <k.vinayak_at_usa.net>
Date: 24 May 2001 16:54:08 -0700
Message-ID: <8ca29eec.0105241554.718c73c7@posting.google.com>

I am not sure - but check the env variables ( ORACLE_HOME, LD_LIBRARY_PATH) in the unix session you are executing the "lsnrctl start" command. Also, based on the error spewed out - I feel that the listener.ora file is incorrectly set. If you are running anything 8.1.5 and above try not to define your own listener.ora ( unless you have specific reasons like dbsmp support etc ).

JFYI -
> oerr TNS 1103

01103, 00000, "Protocol specific component of the address is incorrectly specified"

// *Cause:  The ADDRESS used to contact the listener is not correctly specified.
// This error occurs because the address fails to specify the destination
// of the listener. The address is well formed (for example, there are no
// missing parentheses) but it is missing a protocol specific component. For
// example, this is the error returned when the HOST component is missing from
// a TCP/IP address string.
// *Action: Edit the ADDRESS in LISTENER.ORA to include the required
// protocol-specific keywords.  For more information about the keywords
// required by different protocol adapters, see the Oracle operating system
// specific documentation for your platform.


HTH,
Vinayak
YADBA Victor Lee <nospam_at_newsranger.com> wrote in message news:<FP3P6.6031$r4.375629_at_www.newsranger.com>...
> Thanks for your help, James. However, the script cannot work even after the
> system is fully come up.
>
> In fact, I have tried to log in as root, su to oracle, and start lsnrctl
> manually, but it doesn't work either.
>
> Regards,
> Victor Lee
>
> In article <3b079392.40789441_at_nntp.mindspring.com>, James Williams says...
> >
> >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 Thu May 24 2001 - 18:54:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US