Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> listener does not start as root user
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 existSolaris 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.
Many thanks.
Thiko! Received on Fri Sep 19 2003 - 04:47:54 CDT