|
From: Patrick <pat...@al...> - 2007-04-17 13:25:13
|
Hello, I'm facing the Oracle error "ORA-12546: TNS:permission denied" whilst using Valgind. It's working fine if I just start it from the command line not using Valgrind. I faced this problem the first time with a binary developped inside the company at the execution of the following statement: EXEC SQL CONNECT :ora_name IDENTIFIED BY :ora_pwd; but the problem occurs also with SQL*Plus. I'm using: ospl012 linus>uname -a Linux ospl012 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux ospl012 linus>valgrind --version valgrind-3.2.3 Best regards, Patrick --- Running SQL*Plus without Valgrind: OK ---------- ospl012 linus>sqlplus pfmstat/pfmstat SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 17 14:56:32 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning and Data Mining options SQL> --------------------------------------------- --- Running SQL*Plus inValgrind: NOK ---------- ospl012 linus>valgrind --tool=callgrind sqlplus pfmstat/pfmstat ==29487== Callgrind, a call-graph generating cache profiler. ==29487== Copyright (C) 2002-2007, and GNU GPL'd, by Josef Weidendorfer et al. ==29487== Using LibVEX rev 1732, a library for dynamic binary translation. ==29487== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==29487== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==29487== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==29487== For more details, rerun with: -v ==29487== ==29487== For interactive control, run 'callgrind_control -h'. SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 17 14:42:24 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. ==29538== ==29538== Events : Ir ==29538== Collected : 8581579 ==29538== ==29538== I refs: 8,581,579 ERROR: ORA-12546: TNS:permission denied Enter user-name: --------------------------------------------- |