Problem Connecting to my Oracle 10g
I have been using Oracle 10g for about an year on my PC and just a couple of days back theres been this problem that wont let me connect to any of my local DBs.. neither can i start sqlplus in prompt, i am using Windows XP, when i try to connect to any local DB it says "Service Unavailable", and the connection times out if a rmote connection is attempted, i know i must have messed up some service or folder during some other software installation or un-installation or something like that, while trying to use the command sqlplus in prompt it gives the following error:-
Error 6 initializing SQLPlus*
Message file sp1<lang>.msb not found
SP2-0750 : You may need to set ORACLE_HOME to your oracle software directory
The thing is i have checked all my environment variables and they are all there and correct...
There are other forum threads on the same topics but none gives a solution.. the only solution i got is re-installation of Oracle and registry cleaning.. and i wouldnt wanna do that..
I have also tried connecting after starting the stopped services including OracleXEClrAgent, OracleTNSListener and ORACLEMTSRRecoveryService but still wouldnt work.. and evertime i try to start the service OracleXETNSListener using the net start command, it gives the message the OracleXETNSListener service could not be started, The service did report an error..
Can anyone help??
Edited by: user9038492 on Nov 26, 2010 9:19 PM
Edited by: user9038492 on Nov 26, 2010 9:20 PM
Edited by: user9038492 on Nov 26, 2010 9:22 PM
Edited by: user9038492 on Nov 26, 2010 9:24 PM
Response to LSNRCTL is :-
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-NOV-2010 10:33:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
ty=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
y=TNS
Response to set is :-
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\User1\Application Data
CATALINA_HOME=F:\Dev\java setups\ExadelStudioPro-4.0.0\tomcat
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=AWAIS
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
GDAL_DATA=C:\Program Files\PFPS\system\gdal_data
GEOTIFF_CSV=C:\Program Files\PFPS\system\gdal_data
GEOTRANS_DATA=C:\Documents and Settings\All Users\Application Data\PFPS\data\Geo
Trans
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\User1
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
LOGONSERVER=\\AWAIS
NUMBER_OF_PROCESSORS=2
ODI_JAVA_HOME=D:\OraHome_1\jre\1.4.2
ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0
OS=Windows_NT
Path=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WIN
DOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\COMMON~1\LEADTO~1\Help;C:\PROGRA~1\LEA
DTE~1\LEADTO~1.5\Bin\CDLL\Win32;C:\Program Files\Microsoft SQL Server\100\Tools\
Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\PFPS\
system;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0d
ProgramFiles=C:\Program Files
PROJ_LIB=C:\Program Files\PFPS\system\proj_lib
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\User1\LOCALS~1\Temp
TMP=C:\WINDOWS\TEMP
USERDOMAIN=AWAIS
USERNAME=User1
USERPROFILE=C:\Documents and Settings\User1
VLC_HOME=C:\Program Files\VideoLAN\VLC\
windir=C:\WINDOWS
and finally response to lsnrctl service is :-
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-NOV-2010 10:40
:29
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
ty=TNS
TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
y=TNS
Similar Messages
-
Instant Client Connection Problem - Excel 2007 to Oracle 10g
Dear users,
I would some help to connect Excel to Oracle.
I am using Excel 2007 (32-bit) on Windows Vista Enterprise 64-bit. I want to connect to an Oracle 10g database through our local network using ODBC. I need to fetch some data once into an excel sheet.
There are no firewall issues or connection issues between my current machine , as I can connect from my machine, using SQL developer as a local client to the Oracle Database which is on another machine on the network.
I tried to make an ODBC connection but Oracle is not listed as a driver.
I beleive ODBC is the best way to do this, but please correct me if I am wrong.
It is an Oracle 10G database.
I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip a
I also downloaded the extra ODBC components: *Instant Client Package - ODBC: Additional libraries for enabling ODBC applications.
I unzipped both in a folder called C:\instantclient_11_2
The system path included that. I checked after rebooting.
I placed my tnsnames.ora (which I copied from the server) in that folder.
I got ti from the server : D:\Oracle\Ora10gR2DB\network\admin\tnsnames.ora
I ran the exe "odbc_install" and It told me the ODBC was intalled successfully.
When I went the control panel, administrative tools, ODBC
In the user dsn tab
I added a new entry. I chose the Oracle driver (previously it was not in the list)
Used the following values
Data Source name: OracleL
Description 123
TNS Service NAme: I chose fro ma drop down menu our prod environment. (There are two entries with the production name, one in caps and the other in lowercase)
Userid: my username
I tried Test the connection and got this:
Unable to Connect
SQlState=S1000
[Oracle][ODBC][Ora]ORA-12545: Connect failed because target host or object does not exist
Any suggestions please.
Thnaks in advance.
A.
Thanks for all your help, in advance.
Akajohn.
Edited by: user12282521 on May 19, 2011 1:47 PMuser12282521 wrote:
I would some help to connect Excel to Oracle.
I am using Excel 2007 (32-bit)
I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip aIf Excel is 32-bit (2007 is) and Oracle client libraries are 64-bit, it won't work. 32-bit needs 32-bit.
You probably should remove current ic packages and get the 32-bit ones instead.
Start over.
When I went the control panel, administrative tools, ODBCOn Windows x64, to manage 32-bit ODBC DSNs/drivers one needs to run the tool from Windows\SysWoW64\odbcad32.exe. -
Need ACES attention - connection pooling in oracle 10g rel 1
I am using TOMCAT 5.0.19 Webserver and ORACLE 10g REL 1 as the database server. I have to restart the TOMCAT Webserver in order to establish connection atleast twice or thrice in a weak. Why I am unable to see the connection pooling in oracle 10g rel 1. How to revive or establish the setup. My objective is to have a centralised oracle 10g rel 1 database server and the applications of java are run thru centralised Webserver Tomcat 5.0.19.
Can anyone please help me out optimizing the design setup.
Regards
Vijay Kumarby putting 'Need ACES' in your post title, you might have actually reduced the number of people reading your post, in other words someone >who might have suggested Thanks John for your reply. I changed the subject of the thread after not getting any reply for past 10 days. Last two days I have been updating with plea for attention to my problem. Finally I thought pulling attention of ACES, then only I edited the subject.
Now, problem I am facing is not in oracle database but in application server. Actually we are running web applications thru Tomcat accessing Oracle 10g rel 1. I am often losing connection with web server. The users are unable to login in the web application. I was told to check oracle database server. I just checked alert log and found no errors. I just asked them to shutdown and restart the web server Tomcat 5.0. It then worked fine. This is temporary. I need to ensure where the problem is. Could you please guide me in checking various parameters or files to be checked to optimise connection pooling.
Regards
Vijay Kumar -
COULDN'T CONNECT SQLDEVELOPER AND ORACLE 10G
COULDN'T CONNECT SQLDEVELOPER AND ORACLE 10G
anyone can help this?
can see that error message here.
http://forums.adobe.com/thread/590462?tstart=0user12748850 wrote:
COULDN'T CONNECT SQLDEVELOPER AND ORACLE 10G
anyone can help this?
can see that error message here.
http://forums.adobe.com/thread/590462?tstart=0
I left my microscope at home. How bout telling what the error message was ... something like "ora-nnnnn". -
Problem connect form6i and Oracle Database 10g
I can't connect form6i to Oracle Database 10g
When complete user/password@database fatal error produce:
"Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience"
Error Detail:
AppName: ifbld60.exe AppVer: 6.0.8.27 ModName: ora805.dll
ModVer: 0.0.0.0 Offset: 000b4f04
Product Install:
- Forms Version: Forms [32 bits] Versión 6.0.8.27.0
- Oracle Database: 10.2.0
- Win XP professional with SP2.
Any idea what might cause Forms to shutdown ubnormally?
ThanksIf your database is using the AL32UTF8 character set, Forms 6i cannot connect.
Read this thread:
connecting form 6i to oracle database 10G express edition -
Problem in connecting netbeans with oracle 10g express edition
hi friends... i need help in connecting the database with netbeans..... in netbeans, under services option... i have a option for database... but am not getting any drop-down while right clicking to add a new database... i tried in both netbeans6.9 and netbeans7... what should i do to connect netbeans7 to oracle 1og express edition.... pls help me friends.... pls do reply
First of all, I think your dot... button is broken, it keeps repeating which makes it SO much harder to read your post.
Secondly, I suggest you take your question to the Netbeans mailing lists. This is a Java programming forum, not a technical support forum for the hundreds of tools available to support Java programming.
http://netbeans.org/community/lists/index.html -
Problem in em in Oracle 10g (10.2.0.3.0)
Hello all,
I m facing the following problem in oracle 10g (10.2.0.3.0). When I log on to em, database instance is shown inactive(status down). However, checking the local services I realised that instance is up and running. How could i correct that problem so that database status on em web console is shown correctly???
please your helpIf not on Windows, we have AIX servers overhere and also see a lot of times databases being inaccessible from OEM.
This is because of a bug in the Agent using a certain perl version, which causes the agent to be inresponsive.
Check following:
sqlplus system/<password>@SID
This check ensures that you mistake the start of a SQLplus connection as SYS to be that the database is running.
If the above statement connects your database and Listener are up and running.
Preferably do this check from the server running the OEM.
If that connection works, bounce the OEM services ( and database ), just to see if it has started correctly.
Also restart the Oracle Agent on the target server.
If these checks still show the database as being down ( wait a couple of minutes after the restart to let the agents communicate statuses ) then report back. -
Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables
Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from my_table).
The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. Ive done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
The problem appears both with ANSI and UNICODE PostgreSQL drivers.
Any suggestion of how workaround this problem?
thanks in advance,
RaoniDear all,
Ive tried different tracing levels with out success. The log file does not seem to be created by Oracle.
Looking closer to the debug and comm logs from the driver 8.01.0200, Ive found out that the problem was generated after a table wasnt found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error ERROR: current transaction is aborted, commands ignored until end of transaction block. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
Following the Postgres odbc developers suggestion, Ive installed the psqlODBC v 08.02.0002 and Ive got a completely different result.
As before, the simple query select * from my_table@hsodbc returns the result using SQL*Plus clearly faster than before.
Doing the query select * from all_tables@hsodbc the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: cant read from memory address XXXXX
All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldnt see any table as before and doing Select * from all_tables@hsodbc weve got the message:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]
ORA-02063: preceding 2 lines from HSPG
no rows selected
On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
The encoding for all DBs is UTF8.
Any ideas of where could be the problem?
regards,
R. -
How to make a connection pools to oracle 10g in sun application server 8
env:
windows xp.
sun application server 8
oracle 10g in windows xp .
I do this
1: copy the oracle jdbc ojdbc14.jar orai18n.jar file to sun/appserver/lib
2. add path in admin console
3. restart the server
4. make a connnect pools with resource type javax.sql.DataSource
5.add properties with password,username ,database name= jdbc:oracle:thin:@127.0.0.1:1521:orcl ,(with this url ,my jdbc program can connect oracle10).
6 .try the ping , it show Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: 指定了无效的(direct to unusale) Oracle URL: OracleDataSource.makeURL
please replay to me ,thank very much.I change the thin driver to oci driver ,jdbc:oracle:oci:@orcl ,then fix the problem.
-
Please! I try connect jdbc to oracle 10g
Hi, I have jdk1.5 and oracle 10g EE installed, I have this code:
import java.sql.*;
import java.sql.SQLException;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.PreparedStatement;
class toAccess {
public static void main (String args []) throws SQLException
Connection connection = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
} catch( Exception e ) {
System.out.println( "No se pudo cargar el puente JDBC-ODBC." );
return;
My problem is an error from exception of Class.forName
I have ojdbc14.jar in my classpath, driver for jdk1.4 and jdk1.5, I downloading from oracle site.
I need help you! Thanks for allYou need to register the driver at the driver manager and then create a connection to the database.
You could use something like this inside your method:
DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
or just
Class.forName ("oracle.jdbc.OracleDriver");
then create the connection to the database
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@myhost:1521:orcl", "scott", "tiger");
Consider to put the connection properties in a properties file. This make you code more flexible. -
Hi, I have jdk1.5 and oracle 10g EE installed, I have this code:
import java.sql.*;
import java.sql.SQLException;
import java.sql.DriverManager;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.PreparedStatement;
class toAccess {
public static void main (String args []) throws SQLException
Connection connection = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
} catch( Exception e ) {
System.out.println( "No se pudo cargar el puente JDBC-ODBC." );
return;
My problem is an error from exception of Class.forName
I have ojdbc14.jar in my classpath, driver for jdk1.4 and jdk1.5, I downloading from oracle site.
I need help you! an thanks for allPlease use JDeveloper Forum.
-aijaz -
Connect linux 4 oracle 10g client to window 2003 server oracle 10g server
Hi,
I have my oracle 10g server installed on windows 2003 server.
On another system i have oracle 10g client is installed having RedHad enterprise edition 4.
I want to connect my client to the database server.
I check using oracle universal installer it shows in installed products i.e.
oracle 10g client is installed on linex system.
but when i try to write any command like
[oracle@satish ~]$ sqlplus$
bash: sqlplus$: command not found
[oracle@satish ~]$ tnsping
bash: tnsping: command not foundand it doen't show any enty in applications for oracle which is strange.
as i am new to linux.
how to overcome this problem.
Thanks
Umeshthanks for quick reply
i work like
[oracle@satish ~]$ cd /home/oracle/oracle/product/10.2.0/client_1
[oracle@satish client_1]$ ./tnsping
bash: ./tnsping: No such file or directory
[oracle@satish client_1]$ ./sqlplus /nolog
bash: ./sqlplus: is a directory
[oracle@satish client_1]$ ls
assistants has jdbc nls oui root.sh wwg
bin hs jdk odbc owm root.sh.old xdk
cdata install jlib olap perl slax
cfgtoollogs install.platform jpub OPatch plsql sqlj
classes instantclient jre opmn precomp sqlplus
crs inventory ldap oracore racg srvm
css jar lib oraInst.loc rdbms sysman
diagnostics javavm network ord relnotes uix
[oracle@satish client_1]$
and
[oracle@satish ~]$ expot ORACLE_HOME=/home/oracle/oracle
bash: expot: command not found
[oracle@satish ~]$ expoRt ORACLE_HOME=/home/oracle/oracle
bash: expoRt: command not found
[oracle@satish ~]$ export ORACLE_HOME=/home/oracle/oracle
[oracle@satish ~]$ export ORACLE_SID=neo
[oracle@satish ~]$ export PATH=$PATH:/home/oracle/oracle/product/10.2.0/client_1[oracle@satish ~]$
[oracle@satish ~]$ ./sqlplus /nolog
bash: ./sqlplus: No such file or directory
[oracle@satish ~]$ ./tnsping
bash: ./tnsping: No such file or directory
[oracle@satish ~]$thanks
Edited by: Umesh Sharma on Feb 20, 2009 6:33 AM -
Creating a connection pool using Oracle 10g, Sun ONE Application Serve 8.1
Has any one succesfully configured Oracle 10g to work with Sun ONE Application Server 8.1 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
I haven't done it myself on that particular service pack, but I don't see why it should be any different than configuring a connection pool on other vanilla win2k/other OSes.
Would you please try and let this forum know?
thanks. -
Problem in installation of Oracle 10g database on RHEL 6
I am facing the problem when I am trying to install Oracle 10g database on Red Hat 6. When ./runinstaller is run, the message seems to be if I remember correctly is like ‘……………bad ELF interpreter’. But, the same source seems to be installing correctly in Red Hat 5.
Please, help in solving the doubt.
RegardsHi;
1. Please make search before posting your issue here. Similar issue mention here million time
2. Please use certified platform such as *nix 5.x .
3. For can check certification from metalink or from below note:
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios -
Urgent: problem running reports in Oracle 10g application server
Hi all,
our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.hello,
when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
thanks,
ph.
Maybe you are looking for
-
Windows 8.1 Pro with Media Center - Problems with Activation
Hello. I was one of those who tried Windows 8 early and got a Windows Media Center key for free. Today through Dreamspark Premium I got a Windows 8.1 key. I normally used my new Windows 8.1 key and Windows 8.1 were activated successfully and because
-
How can I connected my Samsung wireless printer to print IPad document ?
How to print mail... To wireless Samsung printer from iPad.
-
Macbook to Monitor problem!!
I have the new macbook pro 13 and I just purchased an asus led 1080p monitor but when hooking it up to with hdmi it only displays in 480p. Any ideas what I need to do? I have tried selecting 1080p in system preferences and its just a black screen.
-
Is is possible to use the iMac g3 without a mouse
Have a iMac g3 and wanted to know if I can access anything without a mouse, until I can find an original one. Thank you
-
Programatically Accessing the Increment & Decrement of a Slide Control.
Does anyone know if its possible to change the Increment and/or Decrement buttons in a Slide control? I know I can do this through the property pages but I can't find a method or property in the CNiImage class to gain access to these "buttons". Basic