Tnsping works but sqlplus gives error
Hi,
I have my db configuration in tnsnames.ora file.
My ping and tnsping to the server works. But when I say sqlplus usrid/pwd@db not working it is giving "TNS could not resolve identifier" error. I checked the usrid and pwd. they are correct.?
What am i missing?
Try this :
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- Check for an event in the listener.log file.
Send us the Status of lsnrctl and tnsnames you tried ..
Similar Messages
-
TNSPING works but sqlplus can't connect
Oracle works fine on RedHat 5.2 however I cannot connect from a
Win95 Client. Connecting to Oracle/NT works fine. TNSPING to
Oracle/Linux works fine. Telnet,Ftp etc. to Linux works fine as
well.
I don't get an error message but sqlplus freezes completely.
Any help would be appreciated.
TIA
+chh
nullPlease consider that tnsping is only an echo requester for the
listener daemon, not for the database as well !
Should try the following on linux:
"lsnrctl status "
Which services(ORACLE_SID's) are supported by the listener ?
Do they map to the unique identifier (ORACLE_SID) of your
instance ? (ps -ax |grep ora)
If they don't map change your listener.ora and reload your
daemon. (lsnrctl stop...lsnrctl start)
Regards
Mathias
Christian Habich (guest) wrote:
: Oracle works fine on RedHat 5.2 however I cannot connect from a
: Win95 Client. Connecting to Oracle/NT works fine. TNSPING to
: Oracle/Linux works fine. Telnet,Ftp etc. to Linux works fine as
: well.
: I don't get an error message but sqlplus freezes completely.
: Any help would be appreciated.
: TIA
: +chh
null -
iphone disabled, tried to use iTunes to restore, but iTunes gives error message (0XE8000084). How to restore iPhone?
Try here = http://support.apple.com/kb/TS3221
-
My macbook pro is version 10.7.3 and since I bought it, I try to update but it gives error, what should i do?
What are you trying to update? Are you trying to do a Software Update from the Apple menu, or something else?
What is the error you're seeing? We are not mind readers.
Matt -
When I plug in my iPod Classic, it is visible in My Computer, but iTunes gives an error message saying "The software required for this iPod is not installed corectly. Please reinstall iTunes to install the required software." It started completely randomly and now does it every time. I completely wiped out iTunes and reinstalled it via the intructions from this website, but it is still doing the same thing. Furthermore, when I go to Start, All Programs, the iTunes folder contains no data AND the desktop shortcup does nothing when clicked on. I have to go to Start, Run, and type in itunes.exe in order to run the program. Can anyone tell me what is going on?
Do one or more of the following
> Restart your computer
> Uninstall & Reinstall iTunes
> Reset iDevice (won't erase everything)
> Go to My Computer (windows xp) or Computer (windows vista & 7) and see if iDevice shows
> Restore the iDevice completely (will erase everything)
> Make sure the iTunes and/or iOS firmware is up-to-date.
The ones I cross over is the ones you don't have to do. This should help -
we just moved an application from windows nt to windows 2000. we use a pci-flexmotion 6c and the 5.1.1 driver with a patch. the application is generally working, but with some vis there comes the error-box: "in device 52 on flex_read_adc".
Attachments:
Fehler_PM13_1.jpg 149 KBFrom the appearance of that error dialog it doesn't seem to belong to any error generated by the FlexMotion driver. It looks a lot more like a user defined error dialog that might have been made by whoever coded your application. I would ask them, or , if you prefer, you could send us your code by contacting an applications engineer at 1-866-ASK-MYNI or posting it here. We will gladly ty to reproduce the problem and let you know where the error is coming from.
-
Sqlplus works, but isqlplus give 01034 27101
Hello,
I can use sqlplus but when I try to log me on isqlplus, I always have ORA-01034 and ORA-27101.
ORACLE_HOME ORACLE_SID correctly set
OS : RHEL4
Oracle : 10g
===
$> lsnrctl start
[...] The command completed successfully
===
$> emctl start dbconsole
[...] started
===
$> isqlplusctl start
Starting iSQL*Plus ...
iSQL*Plus started.
===
$> sqlplus / "as sysdba"
SQL*Plus: Release 10.1.0.3.0
Connected to an idle instance.
SQL> startup
ORACLE instance started.
===
$> sqlplus
Enter user-name: scott
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> desc tab;
Name Null? Type
TNAME NOT NULL VARCHAR2(30)
TABTYPE VARCHAR2(7)
CLUSTERID NUMBER
===
http://xxx.xxx.xxx.xxx:5560/isqlplus/login.uix
(correct login and password for user scott)
ERROR - ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory
Thank for your help
Hit definitely looks like you're not connecting to the same databases there.
Do a "select name from v$database" in SQL*Plus to verify that you're on the database you think you're.
Or on the unix prompt do sqlplus scott/pswd@db_name
instead of just typing sqlplus.
Kris -
Tnsping ok, but sqlplus can't connect ora-12154
Hello All, I have installed on my linux the 10.1.0.3 oracle client and I can do tnsping to my tnsnames.ora databases but I can't connect with sqlplus... I have an error: ora-12154
I have readed metalink documentation and I think everything is ok, but still can't connect... :( Can anybody help me please?
Here is some extra data:
-My env vars are:
ORACLE_HOME=/home/j0nuntu/OraHome_1
TNS_ADMIN=/home/j0nuntu/OraHome_1/network/admin
TNSNAMES=/home/j0nuntu/OraHome_1/network/admin
-My tnsnames.ora:
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.53)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TEST)
ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.249)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORACLE)
As I said, tnsping to test or oracle is ok... tnsnames.ora is in the correct path and there it has 775 perms on it. What can be happening?
Thanks in advance.Also, make sure it is using the correct tnsnames.ora file.
Do you have multiple copies of this file in different directories?
post the contents of your sqlnet.ora file as well. -
Want to tweak an apps script, but it gives error when try to save - help!
so I have a neat app that when used, will send an image it takes to your email address of choice. It uses "Mail" as the default mail app, but I only use Entourage as my mail app.
Opening the package contents of the app, I found the Applescript that controls this function.. see it below
on sendemail(emailto) --
-- set email_to to "[email protected]" --
-- set email_from to "[email protected]" --
set image_name to "Snapshot.jpg"
set image_path to ((path to home folder) as string) & image_name
set image_file to image_path as alias
tell application "Mail"
activate
set new_message to make new outgoing message with properties {subject:"Here is Your Snapshot"}
tell new_message
-- set visible to true --
-- set sender to email_from --
make new to recipient at end of to recipients with properties {address:email_to}
make new attachment with properties {file name:image_file} at after the last paragraph
-- activate --
end tell
send new_message
end tell
tell application "Finder"
-- delete image_path --
end tell
end send_email
it seems easy enough tweak to me.. see bold text above, but just change the line _tell application "Mail"_ to _tell application "Microsoft Entourage"_ and save the Applescript and viola.. BUT it does not work as once I make that weak & try to save the Applescript I get this error "*Syntax Error Expected “:”, etc. but found property*" and highlights just the word name which is followed by an existing ":". If I change it back to "Mail" it saves just fine... what gives?I took a different tact that is getting me closer, the Entourage dictionary helped...
set thesubject to "here is your proof!"
set theBody to "here is your visual proof."
set theAttachment_name to "Default.jpg"
set theAttachment_path to ((path to home folder) as string) & theAttachment_name
set theAttachment_file to theAttachment_path as alias
tell application "Microsoft Entourage"
set theRecipients to {{address:{display name:"Contact 1", address:"[email protected]"}, recipient type:to recipient}, {address:{display name:"Contact 2", address:"[email protected]"}, recipient type:cc recipient}}
set theMessage to make new outgoing message with properties {recipient:theRecipients, subject:thesubject, content:theBody, attachment:theAttachment_file}
open theMessage
end tell
tell application "Microsoft Entourage"
send theMessage
end tell
now.. I have the email composed, the attachment is found in proper 'home' folder and correctly placed/attached, subject line set, contact addresses set.. BUT my final issue seems to be just getting the email to send. it creates and composes the email, but is waiting for it to manually be sent as it seems my final "tell" is not sending the email automatically like it should. I have used the Entourage script dictionary, but I am failing to see how to get the script syntax that finishes it off by sending the email automatically.
tell application "Microsoft Entourage"
send theMessage
end tell
this above tell is not working... any ideas? -
Full load works, but delta fails - "Error in the Extractor"
Good morning,
We are using datasource 3FI_SL_ZZ_SI (Special Ledger line items) to load a cube, and are having trouble with the delta loads. If I run a full load, everything runs fine. If I run a delta load, it will initially fail with an error that simply states "Error in the Extractor" (no long text). If I repeat the delta load, it completes successfully with 0 records returned. If I then rerun the delta, I get the error again.
I've run extractions using RSA3, but they work fine - as I would expect since the full loads work. Unfortunately, I have not been able to find why the deltas aren't working. After searching the Forums, I've tried replicating the datasource, checked the job log in R/3 (nothing), and run the program RS_TRANSTRU_ACTIVATE_ALL, all to no avail.
Any ideas?
Thanks
We're running BW 3.5, R/3 4.71And it's just that easy....
Yes, it appears this is what the problem was. I'd been running the delta init without data transfer, and it was failing during the first true delta run. Once I changed the delta init so that it transferred data, the deltas worked fine. This was in our development system. I took a look in our production system where deltas have been running for quite some time, and it turns out the delta initialization there was done with data transfer.
Thank you very much! -
8620 prints, but then gives error message on Surface Pro 3
This error message has been bothering me for some time. From day one when I print from my Surface Pro 3, I get an error message that my document (doesn't matter what it is) did not print. About 95% of the time, it actually DID print but I get the error message. So whenever I print, I don't actually know if the error message is bogus or not. I've tried uninstalling and reinstalling all of the drivers and apps on my surface, but to no avail. Can anyone help me keep my sanity? Here is an example of the error message from just a little bit ago. Notice the error message in the upper right hand corner. And this "test print" did actually print.
Hi!, Egan1: Welcome, to Forum !. Please, download and run, the HP Print and Scan Doctor from ... www.hp.com/go/tools
-
8620 prints, but hten gives error message on Surface Pro 3
This error message has been bothering me for some time. From day one when I print from my Surface Pro 3, I get an error message that my document (doesn't matter what it is) did not print. About 95% of the time, it actually DID print but I get the error message. So whenever I print, I don't actually know if the error message is bogus or not. I've tried uninstalling and reinstalling all of the drivers and apps on my surface, but to no avail. Can anyone help me keep my sanity? Here is an example of the error message from just a little bit ago. Notice the error message in the upper right hand corner. And this "test print" did actually print.
Hi!, Egan1: Welcome, to Forum !. Please, download and run, the HP Print and Scan Doctor from ... www.hp.com/go/tools
-
Should i use if again or else if but it gives error..
i need some help on the use of nested if's i tried using them check this out.
if (customerType.equals("b"))
if (hrs>=18)
System.out.println("recommended plan is business 200 ");
else if (hrs>7&&hrs<18)
System.out.println("recommended plan is business 150 ");
else{
System.out.println("recommended plan is business 100 ");
but now i want to get to the part where the customerType is equal to C, i tried using else if but it says illigal start help please...i use netbeans i copyied and pasted, highlighted and pressed code i'm sorry if it doesn't look neat, i tried following his instructions step by step i don't know what else to do....i'm a new user on this forum, so i don't know much about it..
import java.util.Scanner;
public class ras {
public static void main(String args[])
int hrs=0;
System.out.print(" input customer type b for business user, c for casual user & s for students ");
Scanner sc = new Scanner(System.in);
String customerType = sc.next();
System.out.println("please input your usage hours per day ");
hrs= sc.nextInt();
sc.close();
if (customerType.equals("b"))
if (hrs>=18) {
System.out.println("recommended plan is business 200 ");}
else if (hrs>7&&hrs<18){
System.out.println("recommended plan is business 150 ");}
else{
System.out.println("recommended plan is business 100 ");
else
if(customerType.equals("c")){
if (hrs>=10)
System.out.println("recommended plan is business 100 ");
else {
System.out.println("recommended plan is business 50 ");
else
if (customerType.equals("s"))
if (hrs>=6){
System.out.println("recommended plan is business 50 ");
else {
System.out.println("recommended plan is business 20 ");
else{
System.out.println("error please reenter your customer type properly. ");
} -
Set-item failing to work - but without an error
A co-worker is working with a vendor. He and the vendor have been setting up the Powershell environment, remote signing, etc. The vendor recommended that the following command be executed:
Set-Item WSMan:\localhost\Plugin\Microsoft.PowerShell\Quotas\MaxMemoryPerShellMB 1024
The user executed this, and the command returned without any output. When he checked, however, the value of MaxMemoryPerShellMB using winrm get winrm/config , MaxMemoryPerShellMB had the original value of 300, rather than 1024.
Is there a setting that might have turned off error reporting? Or is there something else going on here?Hi Lwvirden,
Agree with tommymaynard, To set MaxMemoryPerShellMB to 1024 MB, please follow the script below:
Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1024
Set-Item WSMan:\localhost\Plugin\Microsoft.PowerShell\Quotas\MaxMemoryPerShellMB 1024
get-Item WSMan:\localhost\Plugin\Microsoft.PowerShell\Quotas\MaxMemoryPerShellMB
Restart-Service winrm
winrm get winrm/config
For more detailed information, please go through this article:
Learn How to Configure PowerShell Memory
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang -
Map Validation done, but deployment gives errors(Unable to produce valid ..
Hi,
I have a map which is validated successfully. Its a simple map with just join conditions,splitters and expressions between the source and target tables.
During Deployment, I get an error - RTC-5325-The generator was unable to produce any valid objects, please correct the source object(s...
Any ideas?
Message was edited by:
user583479What are the error messages that you been getting in CIM logs for the first try? And in the second try did initialize_services work? If it is basic CRS installation I dont see why load_baseline_testdata fails. Because CRS endeca app gets deployed with the test data too.
Try to execute this command and see if there is a crawl created
CAS/11.1.0/bin>cas-cmd.bat listCrawls
Also execute this command to check if all the record stores got created
$CAS_ROOT/bin/component-manager-cmd.sh list-components
Maybe you are looking for
-
Discovered my 3GS no longer shows on the calendar nonrepeating events before 9/23/12. However, those events show in icloud and on my laptop. We tried reloading icloud but still missing. Guess is due to downloading of IOS6 - if so, why didn't Apple le
-
Crystal Reports 2008 SP3 Additional parameter values are needed
I recently upgraded to Crystal Reports 2008 SP3, and now when I try an export a report from the Crystal Reports Designer, I get the error "Additional parameter values are needed before this report can be saved or viewed with data. Click 'Ok' to ente
-
ITunes Store causing whole program to freeze on Windows 7 (64-bit)
So I installed iTunes 10.5 for Windows 7 (64-bit) and cannot open it up properly: the iTunes Store makes the entire program freeze up. I've cleared the DNS cache, closed my firewall, changed proxy settings, and iTunes it still unusable. What am I mis
-
Need help fast! Sort of on that exclimation stuff
I downloaded the updates like it said but it wont let me update my ipod because it doesnt reconize it. does this mean i need to send it in or is it something else?
-
Digital Signatures in multi step processes
I have a form with several digital signatures, so I am passing the form around using a xfaForm variable. So, after user1 fills out the form, signs it and then send it back to the process. The process creates a task for user2 with the same form. If us