Using sqlplus without tnsnames
I was using vpn at home last night tried to remote into one of my databases: sys/pwd@sidname as sysba
My questions is I do not have a tnsnames file pointing to this service. How is it possible to connect to an oracle db without using a tnsnames.ora file?
thanks.
No. I have oracle 10g installed on my laptop at home. I started SQLPLUS from the command prompt (Windows). I did a search for tnsnames.ora on the entire computer and none of the files have the services I connected to. Is it possible to connect?
Similar Messages
-
I have database running on Oracle 11.2.0.3 on Linux 5.5 64bit. Another server where I have installed Oracle Client 11.2.0.1 32-bit (x86). (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linuxsoft-085393.html).
But I can not do tnsping, I get segementation fault. Additionally, I can not to database using sqlplus <user>@SID. I get prompted for the password, then I am back the unix prompt again without any error.
For debugging, I installed 64bit version of the client, which can connect to database. I am using same version/copy of tnsnames.ora. No special character (^M) in the tnsnames.ora.
Any suggestions how do I get this fixed?
Thanks,
KPI figure I should update my findings on the resolution.
during Oracle 11.2.0.1 client installation, there was an error/warning message about oracle net configuration assistant unable to run. So, I had ignore it thinking its benign and created the tnsnames.ora file manually. On a hunch after 9 days of debugging, i decided to look into this warning message, and found some info in the ora32Inventory/logs/installAction-<date>.log. It had following error about java when running oracle net config.
INFO: # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
INFO: # Problematic frame:
INFO: # C [libnnz11.so+0x3c35e]
So, I google the error, and after some research and reading, found an oracle patch to address this error:
ORA-24550: SQL*Plus 32-Bit Client May Crash On Linux X86-64 OS With AMD Processor [ID 1120724.1]
Patch info: 8670579 - DBBETA :NETCA/DBCA FAILED WITH HOTSPOT VIRTUAL MACHINE
Typically, this patch (8670579) is installed on Oracle RAC. however I tried on my app server (oracle client). It resolved my sqlplus issue and more importantly it resolve my application (Business Objects/BSAE) installation issue where it was unable to connect to oracle database using 11.2.0.1 client.
Cheers,
KP -
Hi,
I am able to connect to the database using sqlplus as follows
sqlplus user/passwd@''(description=(address_list=(address=(protocol=TCP)(host=machine)(port=1521)))(connect_data=(sid=dbsid)(server=DEDICATED)))'
But I am not able to load data using sqlldr as follows
sqlldr userid=user/passwd@''(description=(address_list=(address=(protocol=TCP)(host=machine)(port=1521)))(connect_data=(sid=dbsid)(server=DEDICATED)))' control=file1.ctl
I got the following error messages
LRM-00116: syntax error at 'address_list' following '('
SQL*Loader: Release 9.2.0.1.0 - Production on Wed Nov 1 13:11:51 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL*Loader-100: Syntax error on command-line
Could anyone help me?Is there any otherway without using the TNSNAMES entry to load the data? Actually I have a program which analizes some genomic sequences and during the process It will insert data into the database. The program takes the Oracle SID, database host, database user name, and user passwords as params and do the things. If there is no alternative, We need to change the interface such that it accepts an entry in tnsnames.ora file as parameter instead of SID, hostname, port etc.
-
Trying to log in using sqlplus /nolog and getting SP2-0640
Hello, I searched for this problem but not having much luck. I have Oracle 9iR2 running on Solaris 9 workstation. I can log on giving sys/passwd as sysdba and log on using any other user accounts. What I can't do is get into sqlplus using /nolog. I am setting up a dataguard physical clone. The clone is another 9iR2 workstation and i just installed the RDBMS software without creating a database. I can go into this database with sqlplus /nolog. I cannot do this on my intended primary database. I remember being able to get into the database when i first set it up using sqlplus /nolog but have since changed the unix account password and i believe this caused it but when i change the password back to the same one when I created the database, it still does not work. The error I get is SP2-0640: Not connected. Is there a log I can look up that will give me more information? thanks,
JimNormally this errors occurs, if you have in glogin.sql (located in $ORACLE_HOME/sqlplus/admin) or login.sql statements,which require a working connection.
Werner -
How to set .oraenv command in linux to use sqlplus.
Hi
I have installed oracle 11.1.0.6.0 in Oracle Enterprise Linux 5.
My problem is every time i use sqlplus, i have to execute .oraenv at first. There it always asks me to enrer ORACLE_SID = [oracle] ?
Is there any way to fix it permanently?
Thanksuser576726 wrote:
Thanks
Could you please tell me how to export those variables? because I am new in Linux.Actually it depends on your system. While installing Oracle 10g on Linux, I make the following changes to .bashrc file in order to connect to database automatically without defining the same variables once more
export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
export ORACLE_SID=your_database_sid
export PATH=$ORACLE_HOME/bin:$PATH -
Inserting Chinese character using sqlplus
I am not able to insert Chinese character using sqlplus .
Am getting disconnected when trying to insert.
with no error
message coming
is disconnected form oracle enterpise 10.2.0.2.0 with .. mining..
Please help.sql is simple insert statement
insert into t5(txt) values ('中中 中 中 中 中 中 中 中 中 ');
os is AIX
I wonder when i using sql developer I am able to insert.
regarding environmental variable , I am not setting any variable regarding NLS.
I simply connect sqlplus username/password
when I execute following statement
sqlplus disconnect without giving any error.
question is why sql developer is able able to insert and sqlplus not
Thanks for reply -
How to open document from mac when using windows without transferring the file?
How can i open a document from mac when i am using windows without transferring it?
depend on the document program more then anything else really
when ever I open a doc with word it make a history for undo and redo action file in the same dir
with bootcamp you only have read not write access to the osx partition so it would fail to be able to create that file
but if you can get word or whatever program you use to open the file not to place a temp file in the same dir
or use a program which did not make any type of temp file or used a program where the temp file would be located elsewhere where you decide it would work file -
how do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??
How have you managed to get apps on your phone that are tied to a different and unknown AppleID?
If these apps were not purchased by you, having them is effectively software piracy and you should purchase them using your own AppleID if you want to keep hem. -
Is there any way to use iPhoto without it moving my files?
I tried to use iPhoto ONCE last yer when I bought my Mac Mini, and it moved all my photo files around as it pleased, is there any way to stop it fro moving my files? I like the folder/file structure I have given my pictures and I do not need to have that managed.
At the moment I am using Picasa but I would like to know if it is possible to use iPhoto without it deciding what to do with my files.
Thanks!No
It is a SQL database and it must control its database - like any database program
as long as you think of managing files rather than managing photos it is not the program for you - once you think of managing your photos then having the poser of a database for that will be obvious - if that is not what you want then do not use it
BTW - iPhoto does not ever "move" your files - it makes a copy of each photo in its database and manages it there - your files are never touched
LN -
How to get web application to use Tuscany without conflicting with SAP SDO
Hi,
We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO. As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
common-2.2.3.jar
ecore-2.2.3.jar
ecore-change-2.2.3.jar
ecore-xmi-2.2.3.jar
tuscany-sdo-impl-1.1.1.jar
tuscany-sdo-lib-1.1.1.jar
tuscany-sdo-tools-1.1.1.jar
xsd-2.2.3.jar
We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
However, when we try to run the web application, the following error is logged: java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?I took a look at the "printerReady" example. Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
Any ideas on how to find the MAC address associated with the IP addresses that respond?
We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
I'll try the InetPing to see how it works,
Kirk -
I want to use Thunderbird without saving e-mails to PC. How is this possible?
I want to use Thunderbird without saving any e-mail to local folder in my PC.
Can you please help me on this?
thanks.There are two types - POP and IMAP
You would need to logon to your webmail account using a browser and select the option to use IMAP forwarding - assuming that option is available.
Pop mail accounts can only access the server Inbox.
Emails are downloaded to your computer and stored in your Thunderbird Profile folder. So this type may not suit your requirements.
IMAP mail accounts offer a remote view of folders and emails stored on the server.
You subscribe to see those folders. Then Headers are downloaded and when you select to view an email, the email is downloaded to a temp cache.
Subscribed folders that are synchronised, download a copy of the folder and store it in your Thunderbird Profile. But these folders are constantly updated to reflect what is stored on the server.
So your best option would be to create IMAP mail account, subscribe to see folders on the server, but do not select to synchronise those subscribed folders.
Emails stored in your Thunderbird Profile on your computer load faster than those that have to be retrieved from the server each time.
Info on synchronising, so you can see how to enable/disable.
* https://support.mozilla.org/en-US/kb/imap-synchronization -
I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it." I cannot place my iPhone 4s sim card in it (too small), and i do not want to get a new contract or sim card for an iPhone that i do not ues very much.
Thanks for your help, but i cannot borrow a noral sim card now, my family has all up graded to iPhone 4s's, i have done this before, but one of my family had the same type of iphone so i could use theirs. Now i am the only one who still holds on to their old phone... I am not sure about buying an adapter...
-
Creation of Delivery Using IDOC without reference to order
Pls suggest is there is any way to create delivery using idoc without reference to order. This is very urgent.
Hi
Design the inbound idoc in such a way that it carries all the essential data needed to create a delivery document namely the material number, no of units to be deilvery, delivering plant, storage location, shipping point, warehouse number(if applicable) etc.
Pass all these details to the function module RV_DELIVERY_CREATE while creating delivery in VL01N and pass the document type as LO which is delivery document without reference to order.
But it is advised to have atleast a pseudo order with which we have to create the delivery document.
Pls reward points. -
I want to edit Pictures that are on my External Hard Drive Using iPhoto without having to import them every time, it was suggested to me to use Aperture. any advise is appreciated
Aperture is a nice program, I use it myself for it's adjustment and light editing capabiities.
You can save a vault on another drive. -
How do I install windows using BootCamp without cd drive fot the new MBP?
I need some softwares for my work (modelsim, altera, ltspices etc) but some of them only supports windows.
New MBP doesnt seem to have a cd driver.
How do I install windows using bootcamp without cd drivers?You can use a USB thumbdrive to do this, assuming you have access to a windows machine to format the usb stick.
I installed Win7 on my MB Air (2011), which of course lacks a DVD drive altogether, using this technique.
Basically, you download a tool called rEFIt to your macbook. ( http://sourceforge.net/projects/refit/files/rEFIt/0.14/rEFIt-0.14.dmg/download ) When this is installed, it gives you a boot selector menu when you boot the Macbook ('Do you want to boot to MacOS or to the USB drive?')
Then you download and run an Apple tool called Boot Camp Assistant, which allows you to partition your HD for the two operating systems to share; it also pulls down all the windows drivers you need.
Then prep the USB thumbdrive on a windows machine to be a Win7 installer disk. You'll want a drive in the 4gb+ range I think. You have to set up the thumbdrive to be bootable (lots of tools for that available), and then copy all the windows installation files over to it.
Put the thumbdrive in the macbook and boot holding down the option key.
Choose the rEFIt icon on boot, then choose to boot from the thumbdrive, then format your new windows partition to something Win7 can handle, and install windows.
On my machine I followed a slightly more involved process and wiped out MacOS entirely. I would have kept it on a small partition if I'd had a bigger hard drive.
If you need super detailed instructions, CNET has some here:
http://howto.cnet.com/8301-11310_39-20020513-285/install-win-7-on-macbook-air-fr om-a-usb-drive/
Tech-Recipes has some similar instructions here:
http://www.tech-recipes.com/rx/9136/macbook-air-install-windows-7-with-boot-camp -without-an-external-dvd-drive/
If you have any issues after trying this, ping me and I may have solved them when I went through the same process.
Maybe you are looking for
-
I read in one of the forums that I need to delete the npYstate.dll file from the Yahoo/Shared directory but this file is not available in this directory on my system. Mozilla still continues to quit when I log in to Yahoo mail....... == URL of affect
-
Officejet Pro 8600 Plus wont print from Mac 10.5.8
Hello, I just purchased the Officejet Pro 8600 Plus and I'm running it wired through my router. I'm able to print with my PC, my IPad and my phone but I cant print with my mac running OS 10.5.8. When I try to print it puts the document in the print
-
How to automatically create a script based on XML input
I was wondering if it is possible to automatically generate a script in Flash itself, so like a plug in or something that I can build that will allow me to take in an xml document and generate scripts on certain frames in certain movie clips or is it
-
I am using performance point services for Project Server / SharePoint 2013, I have developed Analytical reports, I was wondering how the calculated values could appear on the graph instead of the tool tip
-
What is faster Me.Filter or Me.RecordSource
I created a form that Search As You Type. When you type in a combo box, Access displays matching records. I use the On Change event with a private Sub. To find the records you can use the Form Filter or Form RecordSource property with a Sql Where Cla