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 -> listener does not start as root user

listener does not start as root user

From: Thiko <biwombi_at_hotmail.com>
Date: 19 Sep 2003 02:47:54 -0700
Message-ID: <b8d3b40c.0309190147.657a4825@posting.google.com>


Hi,
Can you please let me know why the next command fails - as root:

su - oracle -c "/data/app/oracle/product/8.1.7/bin/lsnrctl start"

Sun Microsystems Inc. SunOS 5.6 Generic August 1997

LSNRCTL for Solaris: Version 8.0.5.0.0 - Production on 13-OCT-99 15:56:43

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

TNS-12545: Connect failed because target host or object does not exist 
TNS-12560: TNS:protocol adapter error 
TNS-00515: Connect failed because target host or object does not exist 
Solaris Error: 2: No such file or directory

but I am able to lanch:
su - oracle -c "/data/app/oracle/product/8.1.7/bin/lsnrctl status" and
su - oracle -c "/data/app/oracle/product/8.1.7/bin/lsnrctl stop"

The $PATH and $ORACLE_HOME have been set for root.



As oracle user lsnrctl start, stop and status work without any problems. But I'd like to be able to start the listener as root.

Many thanks.

Thiko! Received on Fri Sep 19 2003 - 04:47:54 CDT

Original text of this message

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