Forum: Ruby ORA-12546: TNS:permission denied

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kyung won C. (Guest)
on 2009-02-18 03:05
OS: CentOs4.7
Oracle: 9.2.0.4.0
ruby: ruby 1.8.7

I'm trying install ruby & dbi & oci8

root have to connect sqlplus for oci8

oracle user connect sqlplus but root not

[root]# sqlplus user/pass

SQL*Plus: Release 9.2.0.4.0 - Production on Wed Feb 18 10:03:22 2009

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

ERROR:
ORA-12546: TNS:permission denied

#############
# Help Me!!
#############
Robert K. (Guest)
on 2009-02-18 09:00
(Received via mailing list)
On 18.02.2009 02:05, Kyung won Cheon wrote:
> [root]# sqlplus user/pass
>
> SQL*Plus: Release 9.2.0.4.0 - Production on Wed Feb 18 10:03:22 2009
>
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
>
> ERROR:
> ORA-12546: TNS:permission denied

First, this is totally off topic here.  Second, you're most likely not
connecting to the DB you think you are.  Third, root's ORACLE_HOME and
ORACLE_SID are probably differently set than those of user oracle. Btw,
root is not intended to do regular work.

Cheers

  robert
This topic is locked and can not be replied to.