Re: ORA-12154 - (DBD: login failed)

2016-08-16 Thread Jeff Long
pe.com* hpesm_pri_grn_pos_email_06 *From:* Mani, Arunkumar (BMS - India GDC) *Sent:* Tuesday, August 9, 2016 1:54 PM *To:* 'Howard, Chris' ; Nelson, Erick ; mohammed.must...@wipro.com; dbi-users@perl.org *Subject:* RE: ORA-12154 - (DBD: login failed) Yes. *Arunkumar Mani *ITO Service Delivery Consultant Data

Re: ORA-12154 - (DBD: login failed)

2016-08-16 Thread Jeff Long
rg *Subject:* RE: ORA-12154 - (DBD: login failed) Yes. *Arunkumar Mani *ITO Service Delivery Consultant Database Engineering, BMS Account arunkumar.m...@hpe.com <mailto:arunkumar.m...@hpe.com> +91 80 338 59305 Office +91 74062 71026 Mobile Bangalore, Karnataka/India *hpe.com* hpesm_pr

Re: ORA-12154 - (DBD: login failed)

2016-08-11 Thread John D Groenveld
In message , "Mani, Arunkumar (BMS - India GDC)" writes: >Just following up to see if I can get any help on this. I saw where you confirmed that tnsping and sqlplus from your new 10g ORACLE_HOME work against your listeners and instances. But did you confirm that you rebuilt your DBD::Oracle agains

RE: ORA-12154 - (DBD: login failed)

2016-08-10 Thread Mani, Arunkumar (BMS - India GDC)
pe.com [hpesm_pri_grn_pos_email_06] From: Mani, Arunkumar (BMS - India GDC) Sent: Tuesday, August 9, 2016 1:54 PM To: 'Howard, Chris' ; Nelson, Erick ; mohammed.must...@wipro.com; dbi-users@perl.org Subject: RE: ORA-12154 - (DBD: login failed) Yes. Arunkumar Mani ITO Service Delivery Consultant Data

RE: ORA-12154 - (DBD: login failed)

2016-08-09 Thread Mani, Arunkumar (BMS - India GDC)
o:howa...@prpa.org] Sent: Monday, August 8, 2016 9:29 PM To: Mani, Arunkumar (BMS - India GDC) ; Nelson, Erick ; mohammed.must...@wipro.com; dbi-users@perl.org Subject: RE: ORA-12154 - (DBD: login failed) And tnsnames.ora under each ORACLE_HOME works good using sqlplus or other tools, yes? From

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Kevin Moore
he database server also with the hostnames removed. For giggles, do a tnsping for ECLD.WORLD and post the results. -Kevin -Original Message- From: Christopher Jones [mailto:christopher.jo...@oracle.com] Sent: Monday, August 08, 2016 7:07 PM To: dbi-users@perl.org Subject: Re: ORA-12154

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Christopher Jones
x27;/home/httpd/cgi-bin/oradba'; my $sid = "ECLD.WORLD"; my $usr = "mania2"; my $pas = "blah"; my $dbh = DBI->connect("dbi:Oracle:tns:$sid", $usr, $pas) or die $DBI::errstr; Output: bash-2.03$ ./perl_testing1.pl DBI->connect(tns:ECLD.WORLD

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Christopher Jones
From: Mani, Arunkumar (BMS - India GDC) [mailto:arunkumar.m...@hpe.com <mailto:arunkumar.m...@hpe.com>] Sent: Monday, August 08, 2016 5:38 AM To: Nelson, Erick; mohammed.must...@wipro.com <mailto:mohammed.must...@wipro.com>; dbi-users@perl.org <mailto:dbi-use

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Christopher Jones
To: Nelson, Erick; mohammed.must...@wipro.com <mailto:mohammed.must...@wipro.com>; dbi-users@perl.org <mailto:dbi-users@perl.org> Subject: RE: ORA-12154 - (DBD: login failed) Instead of @, we define the connection string in TWO_TASK, and it still looks for tnsnames.ora or sqlnet.or

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Howard, Chris
nnect("dbi:Oracle:tns:$sid", $usr, $pas) or die $DBI::errstr; Output: bash-2.03$ ./perl_testing1.pl DBI->connect(tns:ECLD.WORLD) failed: ORA-12154: TNS:could not resolve the connect identifier specified (DBD: login failed) at ./perl_testing1.pl line 14 ORA-12154: TNS:could

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread John D Groenveld
In message , "Mani, Arunkumar (BMS - India GDC)" writes: >I'll probably explain it with a piece of code and output, so everybody can = >explain the problem I face clearly. Assuming that you've confirmed Oracle's tools in your new ORACLE_HOME can connect to your instances, I doubt you rebuilt DBD::

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Mani, Arunkumar (BMS - India GDC)
min/site/lib/perl'; use DBI; $ENV{ORACLE_HOME} = '/u01/home/oracle/product/10.2.0'; $ENV{TNS_ADMIN} = '/home/httpd/cgi-bin/oradba'; my $sid = "ECLD.WORLD"; my $usr = "mania2"; my $pas = "blah"; my $dbh = DBI->connect("dbi:Oracl

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Mike Towery
> -Original Message- >> From: Mani, Arunkumar (BMS - India GDC) [mailto:arunkumar.m...@hpe.com] >> Sent: Monday, August 08, 2016 5:38 AM >> To: Nelson, Erick; mohammed.must...@wipro.com; dbi-users@perl.org >> Subject: RE: ORA-12154 - (DBD: login failed) >> >&

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Mike Towery
Original Message- > From: Mani, Arunkumar (BMS - India GDC) [mailto:arunkumar.m...@hpe.com] > Sent: Monday, August 08, 2016 5:38 AM > To: Nelson, Erick; mohammed.must...@wipro.com; dbi-users@perl.org > Subject: RE: ORA-12154 - (DBD: login failed) > > Instead of @, we define

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Howard, Chris
@perl.org Subject: RE: ORA-12154 - (DBD: login failed) Instead of @, we define the connection string in TWO_TASK, and it still looks for tnsnames.ora or sqlnet.ora for resolution and it fails. Arunkumar Mani ITO Service Delivery Consultant Database Engineering, BMS Account arunkumar.m...@hpe.com +91

Re: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Nelson, Erick
t 1:14 AM To: "mohammed.must...@wipro.com<mailto:mohammed.must...@wipro.com>" mailto:mohammed.must...@wipro.com>>, "dbi-users@perl.org<mailto:dbi-users@perl.org>" mailto:dbi-users@perl.org>> Subject: RE: ORA-12154 - (DBD: login failed) All were done earli

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Mani, Arunkumar (BMS - India GDC)
Bangalore, Karnataka/India hpe.com -Original Message- From: Nelson, Erick [mailto:erick.nel...@hdsupply.com] Sent: Monday, August 8, 2016 5:01 PM To: Mani, Arunkumar (BMS - India GDC) ; mohammed.must...@wipro.com; dbi-users@perl.org Subject: Re: ORA-12154 - (DBD: login failed) Did you try

RE: ORA-12154 - (DBD: login failed)

2016-08-08 Thread Mani, Arunkumar (BMS - India GDC)
- India GDC) ; dbi-users@perl.org Subject: Re: ORA-12154 - (DBD: login failed) Testing: Manually, try connecting to DB using current .ora file content. Solution: update .ora file with right Ip: Port: Sid/service name: Regards, Mustafa +44-7440 56 12 32 __

Re: ORA-12154 - (DBD: login failed)

2016-08-04 Thread mohammed.mustafa
To: dbi-users@perl.org Subject: ORA-12154 - (DBD: login failed) ** This mail has been sent from an external source ** Hi, We have a perl script which is used to connect to all our target databases ( close to 1000) and fetch the user related information and inturn compare it with our

ORA-12154 - (DBD: login failed)

2016-08-04 Thread Mani, Arunkumar (BMS - India GDC)
to right sqlnet.ora. Need your help to fix this. ORA-12154: TNS:could not resolve the connect identifier specified (DBD: login failed) Perl Version: bash-2.03$ /usr/local/bin/perl -v This is perl, version 5.005_03 built for sun4-solaris Copyright 1987-1999, Larry Wall Perl may be copied

Re: test DBD::Oracle DBI connect('','user/passw...@database', ...) failed: ORA-12154

2009-03-01 Thread scoles
You would not be able to run about 99% of the test with a Read only account. There is all sorts of thinge going one , table create drop, insert delete slecect so a read only client will not cut it. If the Makefile.PL and the make worked It would be normally quite safe to ues for simple selectes.

test DBD::Oracle DBI connect('','user/passw...@database',...) failed: ORA-12154

2009-03-01 Thread Jeff Collins
I can connect to the database using sqlplus as user oracle, but not as root. I can compile DBD::Oracle but not complete the test. I tried to set variables properly: ORACLE_HOME=/u/oracle/10.2.0 ORACLE_HOST=hostname ORACLE_PORT=1522 ORACLE_SID=databasename ORACLE_USERID=user/passw...@databasename

Re: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-14 Thread David Dooling
) > (CONNECT_DATA = > (SERVICE_NAME = inst2) > ) >) > ) > > -Original Message- > From: David Dooling [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 12, 2007 2:01 PM > To: dbi-users@perl.org > Subject: Re: ORA-12154: TNS:could not res

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-14 Thread Loo, Peter # PHX
riginal Message- From: David Dooling [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 2:01 PM To: dbi-users@perl.org Subject: Re: ORA-12154: TNS:could not resolve the connect identifier specified On Wed, Dec 12, 2007 at 01:28:37PM -0700, Loo, Peter # PHX wrote: > I tried setting

Re: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread David Dooling
essage- > From: Martin Evans [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 12, 2007 1:47 AM > To: dbi-users@perl.org > Subject: Re: ORA-12154: TNS:could not resolve the connect identifier specified > > Loo, Peter # PHX wrote: > > Hello All, > > >

Re: ORA-12154: TNS:could not resolve the connect identifierspecified

2007-12-12 Thread Martin Gainty
"Tim Bunce" <[EMAIL PROTECTED]> To: "Alexander V Alekseev" <[EMAIL PROTECTED]> Cc: "Loo, Peter # PHX" <[EMAIL PROTECTED]>; Sent: Wednesday, December 12, 2007 5:43 PM Subject: Re: ORA-12154: TNS:could not resolve the connect identifierspecified &g

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Bong Tumanut
There's a file named tnsnames.ora file in $ORACLE_HOME/network/admin. Make sure there is an entry for $dbName there. Bong "Loo, Peter # PHX" <[EMAIL PROTECTED]> wrote: Here is what I did: eval { $dbh = DBI->connect("dbi:$dbDriver:$dbName", $dbUser, $dbPass, { RaiseError => 1, PrintEr

Re: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Tim Bunce
On Thu, Dec 13, 2007 at 01:20:38AM +0300, Alexander V Alekseev wrote: > On Wed, 12 Dec 2007, Loo, Peter # PHX wrote: > > > > Hi Martin, > > > > I tried setting both variables at the very beginning before any > > connection is made and the result is still the same. > > > > $ENV{ora_envhp} = 0; >

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Loo, Peter # PHX
lekseev [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 3:21 PM To: Loo, Peter # PHX Cc: dbi-users@perl.org Subject: RE: ORA-12154: TNS:could not resolve the connect identifier specified Hello! On Wed, 12 Dec 2007, Loo, Peter # PHX wrote: > > Hi Martin, > &

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Alexander V Alekseev
Hello! On Wed, 12 Dec 2007, Loo, Peter # PHX wrote: > > Hi Martin, > > I tried setting both variables at the very beginning before any > connection is made and the result is still the same. > > $ENV{ora_envhp} = 0; > $ENV{ORA_ENVHP} = 0; ora_envhp is one of "Connect

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Loo, Peter # PHX
4 PM To: Loo, Peter # PHX; Martin Evans; dbi-users@perl.org Subject: RE: ORA-12154: TNS:could not resolve the connect identifier specified Peter, Why don't you use one oracle home and set up two tns entries, one for each instance, in the tnsnames.ora file? For example: you can set 10.2 as ora

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Kong, Alan
calls can pass in different connection strings to connect to different instances. Alan -Original Message- From: Loo, Peter # PHX [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 3:29 PM To: Martin Evans; dbi-users@perl.org Subject: RE: ORA-12154: TNS:could not resolve t

RE: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Loo, Peter # PHX
To: dbi-users@perl.org Subject: Re: ORA-12154: TNS:could not resolve the connect identifier specified Loo, Peter # PHX wrote: > Hello All, > > I am confused as to why I am getting this error message. I am trying > to connect to two different Oracle instances within one program run.

Re: ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-12 Thread Martin Evans
first instance without problems, but the instance yields "ORA-12154" error. However, when I reverse the connection order by connecting the inst2 with 10.2 version first, then connecting to the inst1 with 9.2 version, there is no error. I hope someone can shed some lite. Here is the code

ORA-12154: TNS:could not resolve the connect identifier specified

2007-12-11 Thread Loo, Peter # PHX
problems, but the instance yields "ORA-12154" error. However, when I reverse the connection order by connecting the inst2 with 10.2 version first, then connecting to the inst1 with 9.2 version, there is no error. I hope someone can shed some lite. Here is the code: #!/usr/bin/perl use

RE: ORA-12154 message

2006-03-16 Thread Reidy, Ron
Have you looked into the Oracle error docs? What happens if you 'tnsping MAINO1'? -- Ron Reidy Lead DBA Array BioPharma, Inc. -Original Message- From: Angela Chan [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 9:24 AM To: dbi-users@perl.org Subject: ORA-12154 message

ORA-12154 message

2006-03-16 Thread Angela Chan
Hi, all, Since I can't get Oracle Client 9i ot 10g, I just down grade my PERL to 5.6.1 Build 638, and try to connect to ORACLE 8i. However, I get the following message: "DBI connect('MAIN01','owner',...) failed: ORA-12154: TNS:could not resolve the connect i

Re: Oracle failure ORA-12154

2005-12-12 Thread Claude
>>>>> "Ron" == Ron Reidy <[EMAIL PROTECTED]> writes: Ron> Can you connect to this database using SQL*Plus in the same manner? Ron> From the error docs: Ron> $ oerr ora 12154 Ron> 12154, 0, "TNS:could not resolve service name" Ron&g

Re: DBI:Oracle failure ORA-12154

2005-12-12 Thread Claude
Jeffrey> On 09 Dec 2005 15:37:33 +0200, Claude <[EMAIL PROTECTED]> wrote: >> >> I run locally a client script which fails with the following message: >> >> ORA-12154: TNS:could not resolve service name (DBD ERROR: >> OCIServerAttach) at ... >>

RE: Oracle failure ORA-12154

2005-12-09 Thread Reidy, Ron
Can you connect to this database using SQL*Plus in the same manner? >From the error docs: $ oerr ora 12154 12154, 0, "TNS:could not resolve service name" // *Cause: The service name specified is not defined correctly in the // TNSNAMES.ORA file. // *Action: Make the followi

Re: DBI:Oracle failure ORA-12154

2005-12-09 Thread Jeffrey Seger
wing message: > > ORA-12154: TNS:could not resolve service name (DBD ERROR: > OCIServerAttach) at ... > DBI::connect('DBI','dbi:Oracle:abc','batman','secret','HASH(0x82d7910)') > called at ... > > The datasource seems ok to

DBI:Oracle failure ORA-12154

2005-12-09 Thread Claude
I run locally a client script which fails with the following message: ORA-12154: TNS:could not resolve service name (DBD ERROR: OCIServerAttach) at ... DBI::connect('DBI','dbi:Oracle:abc','batman','secret','HASH(0x82d7910)') called at ...

Re: ORA-12154 (DBD ERROR: OCIServerAttach)

2005-09-07 Thread Jay Strauss
Charles Seelig wrote: - TNS_ADMIN is not set in either the registry or environment. - Not run by web server; only from the command line. CS ora-12154 (tns-12154) means it can't find the service name you requested. So that means: 1) the service name you requested doesn't exi

Re: ORA-12154 (DBD ERROR: OCIServerAttach)

2005-09-07 Thread Charles Seelig
n the script is run from \orant\net80\admin. When the script is run from anywhere else, I get this error: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) Note that printf("%s\n", $ENV{'ORACLE_HOME'}); displays c:\orant

RE: ORA-12154 (DBD ERROR: OCIServerAttach)

2005-09-07 Thread Jeff Urlwin
SqlPlus connection works fine. > >A perl script attempting connection works fine ONLY when the >script is run from \orant\net80\admin. > >When the script is run from anywhere else, I get this error: > >ORA-12154: TNS:could not resolve the connect identifier s

ORA-12154 (DBD ERROR: OCIServerAttach)

2005-09-05 Thread Charles Seelig
run from \orant\net80\admin. When the script is run from anywhere else, I get this error: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) Note that printf("%s\n", $ENV{'ORACLE_HOME'}); displays c:\orant (as expected). H

Re: ORA-12154

2004-08-03 Thread Scott T. Hildreth
> } > sub openconnection { > $dbh = DBI->connect($connect,$login,$passwd,{RaiseError => 1, AutoCommit => > 1}) or die "Cannot connect to database"; > } > > sub closeconnection { > $sth->finish; > $dbh->disconnect; > } &

Re: ORA-12154

2004-08-03 Thread Scott T. Hildreth
This should be on the dbi-users list. Are you sure all of the environment variables are set? Can you show the code? The ORA-12154 is TNS error, 12154, 0, "TNS:could not resolve service name" // *Cause: The service name specified is not defined correctly in the // TNSNAME

Re: ORA-12154

2004-08-03 Thread Tim Bunce
On Tue, Aug 03, 2004 at 04:06:17PM -0500, Scott T. Hildreth wrote: > This should be on the dbi-users list. So anyone replying should edit the CC to only include [EMAIL PROTECTED] Thanks. Tim.