Sponsored Content
Top Forums Shell Programming and Scripting Connecting to oracle database Post 302425457 by shenthil76 on Friday 28th of May 2010 03:32:51 AM
Old 05-28-2010
Code:
SQL*Plus: Release 10.2.0.4.0 - Production on Fri May 28 09:31:38 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
 
Enter user-name:
~

Moderator's Comments:
Mod Comment Please use code tags. ty


this error message i found in trace files

but when i run the same user name and passsword pop/pop@schema it works fine

S

Last edited by pludi; 05-28-2010 at 04:53 AM..
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Connecting to Oracle Database

if; sql="select username from dba_users where username = '$FromUser';" check_FromUser=`ExecSql "$sql"` I want to connect to Oracle database & check the users in the database, store the value in check_FromUser. First how to connect to Oracle database from the shell script ? Appreciate your... (4 Replies)
Discussion started by: dreams5617
4 Replies

2. Shell Programming and Scripting

Problem in Connecting to Oracle Database using KornShell

Hello, I am very new to Scripting. I am having a Kornshell Script below for connecting to Oracle database. But getting an error while executing it. #!/bin/ksh ssh -X root@192.168.2.127 <perimuka> sleep 5 su - oracle sqlplus <mraghunandanan>/<peri123> <<eof Can anyone tell what is wrong... (3 Replies)
Discussion started by: mraghunandanan
3 Replies

3. Shell Programming and Scripting

Connecting to oracle database from shell script

Hi all, I am satyakiran , i am new to the forum. i never done shell scripts for connecting to the data base (oracle) and fetching the data from the database( thru sql select statements ) i want to know 1. how to connect to the data base(oracle) using shell script 2. how to retrieve data... (8 Replies)
Discussion started by: satyakiran
8 Replies

4. Shell Programming and Scripting

Connecting to Database

Hi, I want to write a shell script which connects to a Database, executes a set of SQLs and displays a message for every SQL that was run whether any records have been returned or not? Can anyone help me in this regard? Appreciate your help and concern. Thanks, Dave (1 Reply)
Discussion started by: yoursdavinder
1 Replies

5. Solaris

Connecting to Oracle database

Hi guys, long time no typing :D I have problems when I try to connect to Oracle database from SQL Developer which is located on my Windows box. Server is running Solaris 11/11 and Oracle 11 enterprise. I can log in locally with sys account to database, start it up and shut it down but when I... (2 Replies)
Discussion started by: solaris_user
2 Replies

6. UNIX and Linux Applications

Identify a specific environment Oracle variable to connect a remote Oracle database ?

Good evening I nned your help pls, In an unix server i want to connect to a remote oracle databse server by sqlplus. I tried to find out the user/passwd and service name by env variable and all Ive got is this: ORACLE_SID_REPCOL=SCL_REPCOL ORACLE_SID=xmeta ORACLE_SID_TOL=SCL_PROTOLCOL... (2 Replies)
Discussion started by: alexcol
2 Replies
XtPopupSpringLoaded()													     XtPopupSpringLoaded()

Name
  XtPopupSpringLoaded - map a spring-loaded popup from within an application.

Synopsis
  void XtPopupSpringLoaded(popup_shell)
	   Widget popup_shell;

Inputs
  popup_shell
	    Specifies the shell widget to be popped up.

Availability
  Release 4 and later.

Description
  XtPopupSpringLoaded() 	calls	      the	  functions	    registered	       on	  the	     specified	      shell's
  XtNpopupCallback callback list and pops the shell up, making it a spring-loaded shell.  A spring-loaded shell is one that is popped  up  in
  response to a button press and will pop down when the button is released.  Spring-loaded shells have events dispatched to them specially to
  ensure that they receive the button up event, even if it occurs in another window.  See XtAddGrab() for more details.

  XtPopupSpringLoaded() performs exactly like XtPopup(), except that XtPopupSpringLoaded() does the following:

  o  Sets the shell spring_loaded field to True.

  o  Always calls XtAddGrab() with exclusive set to True and spring_loaded set to True.

  See XtPopup() for details.

Usage
  You can also pop up spring loaded shells by using the XtMenuPopup action in a translation table.  This  predefined  action  calls  XtPopup-
  SpringLoaded().

  Any pop up shell can be popped down with XtPopdown(), the XtCallbackPopdown() callback function, or with the XtMenuPopdown action.

  XtPopupSpringLoaded()  was  added  in  Release  4,  and  prior to this release, the only way to pop up a spring loaded shell was to use the
  MenuPopup action (which has now been renamed XtMenuPopup).

See Also
  XtAddGrab(1), XtCreatePopupShell(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1).

Xt - Pop Ups														     XtPopupSpringLoaded()
All times are GMT -4. The time now is 10:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy