Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: listener does not start as root user
Could you Pl. try with IP address instead of HostName
Thanks & Regards,
Saravanan K
Thiko wrote:
> 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!