Listener not starting up on boot in init script for 8i on Solaris 8

From: Robert Banniza <robert_at_rootprompt.net>
Date: Mon, 5 Mar 2001 20:39:33 -0800
Message-ID: <ueYo6.32619$sD.2254012_at_e420r-sjo2.usenetserver.com>


Guys,

    I need some help bad. I have a script which starts Oracle up on boot but it does not start the Listener up via lsnrctl in the init script. Instead, I have to log on as user 'oracle' and start it up manually. I get the following error when the script runs:

################################################################3
LSNRCTL for Solaris: Version 8.1.7.0.0 - Production on 05-MAR-2001 20:27:24

(c) Copyright 1998 Oracle Corporation. All rights reserved.

Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
 TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
  TNS-00515: Message 515 not found; No message file for product=network, facility=TNS

   Solaris Error: 2: No such file or directory
################################################################

I have check everything that I know to check and the case 'start' statement looks as so in my init script:

ORA_HOME=/opt/u01/app/oracle/product/8.1.7 ORA_OWNER=oracle
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"

Could someone PLEASE tell me what the hell I'm doing wrong as I have been struggling with this for a couple days now and it is killing me!! I looked through the Oracle Error Message books and found little that would help me. The thing that is weird to me is that I can start this fine by sitting in BASH as the oracle user and running
'/opt/u01/app/oracle/product/8.1.7/lsnrctl start' but it will not work when booting up. BASH is the default shell for oracle. Any help would certainly be appreciated. Also, could you email me at robert_at_rootprompt.net? Thanks.

Robert

P.S. I'm running a patched Solaris 8 system with Oracle 8.1.7. Received on Tue Mar 06 2001 - 05:39:33 CET

Original text of this message