Cannot create a database in Oracle 11 g. TNS Protocol card error. . Missing ORA files.
I want to start by saying: I went through several forum threads about errors in Protocol TNS, .ora files, installation guides and you name it. I am new to Oracle 11 g, and I bought the book for a course of database, I don't take in college; However, I'm not a newbie to technology and I have SQL experience. My Oracle experience has been a disaster so far, and I am a tester of application by trade! I spent an entire week, just try to get the software installed correctly before finally creating this discussion on your forums. So I'm sorry to disrupt your forums. I know that you have 1,000 other subjects with a similar scope, but I have received no help from Oracle and none of the proposed solutions have previously solved my problem. Let's get to it.
My system: 6 core AMD, Windows 7 Ultimate SP1, 16 GB RAM, multiple disk drives, if you need anything else to say.
I am trying to install software: Oracle 11 g SQL Database Standard Edition (it came with my book SQL Oracle 11 g and I need company for the moment)
Environment: Windows 2008 Server Virtual Datacenter
Client VM: VMWare
Problem in short: when I try to install the software and create a database, everything is successful, until the database Configuration Wizard attempts to finalize the process. All the prereq check Oracle directories are created and etc. To the database Configuration Wizard, I always get the following error message:
ORA-12560: TNS:protocol adapter error
If I try to launch sqlplus and enter my credentials of the default Oracle, I get the same error (I am basically unable to get to the SQL > screen). I noticed that I only have a sqlnet.ora file in my folder "OraHome_1/NETWORK/ADMIN", and I have not all listeners or tnsnames file in this directory. The sqlnet.ora file reads as follows:
sqlnet.ora # Network Configuration file: C:\app\Administrator\product\11.1.0\db_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
I look at my running services and find that I 3 running Oracle services (at this point, I tried to uninstall/reinstall several times, none seems to be a COMPLETE uninstall, while some of these services were not there before...):
Oracle ORCL VSS Writer Service (started)
(Disabled) OracleJobSchedulerORCL # I will revive it with no other success
OracleOraDb11g_home1TNSListener (on the way)
I tried to launch another listener using the following cmd command, but I still received the TNS error trying to create a database or connect to sqlplus.
lsnrctl start LISTENER
I admit, I am quite sleepy at this point, and I'm not figure this tonight. I'm not having my hand held through the process, but I could really use some help here. I understand that my VM disk drive is probably fragmented at this point and I'll probably need to start over from a clean installation of OUR. I also understand that I keep missing a crucial procedure during initial installation because it is quite obvious that this will not work without the listener or tnsname files. I tried to interpret the samlples, but an example of the syntax would be really useful. Also, what users to manually configure these standard files? It seems that a lot of my trouble could have been avoided if the installation had been easier. On the contrary, the flame of the fact that I'm more efficient with Microsoft, that the fact that I am new to Oracle. I could just go to mysql, but I want to give a chance to Oracle. I just need a nudge in the right direction to get database database server installed.
I really appreciate any idea that anyone can provide. I know that you have had other similar subjects historically, but none that I found helped me to this day. I'm a major network, so I understand that TNS is an Oracle proprietary protocol. I also understand that the listener is required to actively receive information about this port; I even took down my firewall temporarily to make sure it wasn't a problem. I even understand that connection strings are needed to associate the database Oracle, Oracle with my Microsoft OS and etc. What I don't understand, why this was so complicated. Help, please. I'm just tired of banging my head into the wall on this one.
Your friend.
Mills J
I don't really understand Windows, but I think that you must be connected to the machine as a local administrator and a member of a group ora_dba local, nothing to do with the areas he makes. It is a working example of an account that works:
c:\users\john >
c:\users\john>c:\Windows\System32\whoami.exe/User /groupes /fo list
USER INFORMATION
----------------
Username: jwvaio\john
SID: S-1-5-21-3147636863-431841176-3387327930-1001
GROUP INFORMATION
-----------------
Name of Group: all
Type: Notorious group
SID: S-1-1-0
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_ASMDBA
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1012
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ora_dba
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1014
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home1_SYSBACKUP
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1009
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home1_SYSDG
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1010
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home1_SYSKM
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1011
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home2_SYSBACKUP
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1018
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home2_SYSDG
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1019
Attributes: Mandatory, default, active group
Name of Group: jwvaio\ORA_OraDb12c_home2_SYSKM
Type: Alias
SID: S-1-5-21-3147636863-431841176-3387327930-1020
Attributes: Mandatory, default, active group
Group name: BUILTIN\Administrators
Type: Alias
SID: S-1-5-32-544
Attributes: Mandatory, by default, the owner of the group, group Enabled
Group name: BUILTIN\Users
Type: Alias
SID: S-1-5-32-545
Attributes: Mandatory, default, active group
Group name: NT NT\Interactif
Type: Notorious group
SID: S-1-5-4
Attributes: Mandatory, default, active group
Group name: logging CONSOLE
Type: Notorious group
SID: S-1-2-1
Attributes: Mandatory, default, active group
Group name: NT AUTHORITY\Authenticated users
Type: Notorious group
SID: S-1-5-11
Attributes: Mandatory, default, active group
Group name: NT AUTHORITY\Ce organization
Type: Notorious group
SID: S-1-5-15
Attributes: Mandatory, default, active group
Group name: LOCAL
Type: Notorious group
SID: S-1-2-0
Attributes: Mandatory, default, active group
Group name: NT AUTHORITY\NTLM authentication
Type: Notorious group
SID: S-1-5-64-10
Attributes: Mandatory, default, active group
Group name: Label\High mandatory mandatory level
Type: Label
SID: S-1-16-12288
Attributes: Mandatory, default, active group
c:\users\john >
c:\users\john >
Tags: Database
Similar Questions
-
DBCA cannot create the database in 12 c in Windows
Hello
After the installation of Oracle 12 c on R2 Windows Server 2012 and successfully running the netca command to configure the listener, I run with the DBCA tool question
It throws an error message of "Recovery Manager could not restore the data files"
I looked at the log files, here is some information:
Corrupt block 1 found during the backup piece, reading file=C:\ORACLE\PRODUCT\12.1\DBHOME_1\ASSISTANTS\DBCA\TEMPLATES\SEED_DATABASE. DFB, corr_type = 4
Review of blocknum = 1, file=C:\ORACLE\PRODUCT\12.1\DBHOME_1\ASSISTANTS\DBCA\TEMPLATES\SEED_DATABASE. DFB, found the same corrupted data
Not sure if this helps, but I am attaching several log files to help debug the problem.
I read the post DBCA cannot create the database in 12 c, but it doesn't quite have an answer.
Any help is appreciated.
Thank you
Pranav
Looks like a bad installation or a bad block on your disk. Have you tried creative using the "Custom Database" model in the wizard dbca (one that does not come with the data files)? It will take more time to create, but shouldn't read the dbca reported as corrupted file
-
ColdFusion 10 - cannot create the database
I think that this error has to do with permissions, but I'm not sure. I'm not under personal service accounts to run IIS 7.5 or Coldfusion. There is some dirt on my server and Setup:
Server product ColdFusion Version ColdFusion 10,282913 Edition Developer Operating system Windows Server 2008 R2 OS version 6.1 Update level /C:/ColdFusion10/cfusion/lib/updates/chf10000002.jar Version of the Adobe driver 4.1 (build 0001) Details of the JVM
Java version 1.6.0_29 History of this server:
A installed version 9.0.1. Installled CF 10 Beta and then uninstalled beta 9 and 10 to install 10 final. Ran into a problem with IIS 7.5 refusing to release some settings somewhere deep beyond web.config files so it was a dev server I simply uninstalled IIS 7.5 role and also uninstalled WAS, wonderful Windows Process Activation Service, test function (if it is really what it is... more as a burden IMO) and delete the files C:\ColdfusionX and C:\inetpub to purge settings and garbage. I then rebooted and again installed IIS and WAS. The previous problem had nothing to do with the substance of data base, it was the IIS for CF 10 connector not properly be created and applied by IIS, resulting in .cfm files offered for download.
After all the changes, I was able to connect to the CF admin date to which I applied the update of 10 CF 2. Web server here on out stuff is practically install stock.
I created the directory C:/ColdFusion10/cfusion/db/andHalt/and then to data sources to create the embedded Apache Derby database.
Error just after the attempt to create the data source:
Connection verification failed for data source: andHalt
org.apache.derby.impl.jdbc.EmbedSQLException: cannot create the database "C: / ColdFusion10/cfusion/db/andHalt /', see the following exception for more details."
The root cause was that: java.sql.SQLException: unable to create the database "C: / ColdFusion10/cfusion/db/andHalt /', see the following exception for more details."
Logs show a very little bit of detail that does not help me to find a crowd of CF related Google goodies so I come here to read more in the knowledge depth and because Murphy's law still nips at my heels I'm always towing in good errors for the people gawk and awk to
Sun Oct 14 22:58:03 CDT 2012 Thread [Thread-24, 5, main] cleanup from action
java.sql.SQLException: unable to create the database "C: / ColdFusion10/cfusion/db/andHalt /', see the following exception for more details."
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException (unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection30. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection40. < init >(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection (unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect (unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.connect (unknown Source)
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:614)
to coldfusion.server.j2ee.sql.pool.ConnectionRunner$ RunnableConnection.run (ConnectionRunner. java: 67)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: unable to create the database "C: / ColdFusion10/cfusion/db/andHalt /', see the following exception for more details."
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA (unknown Source)
... 13 more
Caused by: java.sql.SQLException: the database directory "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException (unknown Source)
... more than 10
Caused by: ERROR XBM0A: the directory database "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.iapi.error.StandardException.newException (unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService.access$ 600 (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService$ 9.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService (unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService (unknown Source)
... more than 10
= launch nested exception, level (1) =.
java.sql.SQLException: the database directory "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection30. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection40. < init >(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection (unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect (unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.connect (unknown Source)
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:614)
to coldfusion.server.j2ee.sql.pool.ConnectionRunner$ RunnableConnection.run (ConnectionRunner. java: 67)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLException: the database directory "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA (unknown Source)
... 15 more
Caused by: ERROR XBM0A: the directory database "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.iapi.error.StandardException.newException (unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService.access$ 600 (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService$ 9.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService (unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService (unknown Source)
... more than 10
= end of the nested exception, level (1) =.
= launch nested exception, level (2) =.
java.sql.SQLException: the database directory "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA (unknown Source)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException (unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException (unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection30. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection40. < init >(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection (unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect (unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.connect (unknown Source)
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:614)
to coldfusion.server.j2ee.sql.pool.ConnectionRunner$ RunnableConnection.run (ConnectionRunner. java: 67)
at java.lang.Thread.run(Thread.java:662)
Caused by: ERROR XBM0A: the directory database "C:\ColdFusion10\cfusion\db\andHalt" exist. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.iapi.error.StandardException.newException (unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService.access$ 600 (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService$ 9.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService (unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService (unknown Source)
... more than 10
= end of the nested exception, level (2) =.
= launch nested exception, level (3) =.
ERROR XBM0A: The directory of database 'C:\ColdFusion10\cfusion\db\andHalt' exists. However, it does not contain the file expected 'service.properties '. Perhaps, Derby has been reduced in the middle of the creation of this database. You can remove this directory and try again to create the database.
at org.apache.derby.iapi.error.StandardException.newException (unknown Source)
at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService.access$ 600 (unknown Source)
to org.apache.derby.impl.services.monitor.StorageFactoryService$ 9.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.bootService (unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService (unknown Source)
at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService (unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase (unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection30. < init >(Unknown Source)
to org.apache.derby.impl.jdbc.EmbedConnection40. < init >(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection (unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect (unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.connect (unknown Source)
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:614)
to coldfusion.server.j2ee.sql.pool.ConnectionRunner$ RunnableConnection.run (ConnectionRunner. java: 67)
at java.lang.Thread.run(Thread.java:662)
= end of the nested exception, level (3) =.
Complete cleaning action
Ah shucks! I can't believe how far from the solution I was looking for. Documentation has revealed what I had to do it even if it honestly should have probably been better treated with the best comments of the error.
http://help.Adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7FD a.html
"Note: when you add an Apache Derby Embedded data source, verify that the specified directory does not exist."
Which is a bit ridiculous given a fileOpen dialog box is provided which means just the opposite.
I came across this problem before CF 9 awhile back and I am surprised it is still hidden and I had forgotten about it.
-
People,
Hello. Initially, my Windows XP host name is 'localhost' and IP 127.0.0.1.
I installed Oracle Database 11 g with Windows XP successfully and all customers in the database with the database instance running.
For some reason, I uninstalled all of the database server and remove the whole installation directory /oracle.
I have configured the address IP of Windows XP in 192.168.196.101 to ping other machines.
For my needs, I installed Oracle Database 11 g with Windows XP again. During step 7 of 8: Oracle Database Configuration Assistant, I got this error:
ORA - 12560:TNS: Protocol adapter error.
I click on the button "Password management", there is no line in this window (no user name, no account of the lock).
I have check the listener as below:
C:\ > lsnrctl
LSNRCTL > start
His output: earphone HEADSET name has already been started.
LSNRCTL > status
Its release:... Service DB1 has 1 instance. The instance BD1 ready state. The command completed successfully.I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is:
Listen [0] = LISTENER address = (ADDRESS = (PROTOCOL = TCP (port = 1522))(HOST=localhost))
I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
HOST = localhost port = 1522
I think that HOST = localhost and port = 1522 is the cause of the ORA-12560 error because Windows XP was configured in HOST = 192.168.196.101.
But I do not understand how to solve this problem.
Can any folk tell me how to solve this problem? must cancel the installation of 8 on step 7 and install it again?
Thank you.> The problem is that I am installing Oracle Database 11 g with Windows XP
Why? above is NOT a supported combination.
What makes you think that it should work without error?
-
create the database with Oracle Client link
Hello together,
on my machine Windows 7 with Oracle Client installed 12.0.1.0, I'm trying to create a database link to a database server, which runs on Oracle Standard Edition1 11.2.0.2.
When I connect to sqlplus on the client with "sqlplus/nolog" and type the command:
SQL > create SID of the database link
connect to the user identified by passwd
using "tnsnames.ora connection."
I have a SP2-0640: not connected. OK, it is clear, because I use sqlplus with option/nolog. But client-side normally I have no database, where I can connect. So I think, there is no user, or?
The database to which I want to connect is located in tnsnames.ora.
Generally: Is it possible to use the Oracle Client to create a database link? Maybe there's another way to do this?
A big thank you and best regards,
David
You don't seem to understand the concept of a database link.
A database link connects two databases. Not a client and a database.
You need to link up in a data source to a target database.
The only thing you need is a client of sqlplus in sqlplus client, you need to connect to the source database.
If you can't connect to the source database, you must present the statement to someone.
Sybrand Bakker
Senior Oracle DBA
-
Cannot create the database in OERL 5
Hello friends,
with the help of the other members, I finally installed oracle 11g release 1.
Now, I want to create a database using "DBCA.
but it is to show
* "" bash: dbca: command not found "*"
Please friends help me, I want to create a new database.
Any kind of help appreciated
Thank you
Praveen.Salvation;
Plus 2 great post, make sure you have set $ORACLE_HOME/bin in your PATH and ORACLE_HOME environment
Try export ORACLE_HOME = xxxx
Try export PATH = $PATH: $ORACLE_HOME/binRespect of
HELIOS -
create a database for Oracle FailSafe
Hello
I should create a database and in the next step, install oraclefailsafe to use another server to pass if the first crash. Then I created the SERVER1 database (with all the files on a shared file system).
Now how can we establish the 'same' database on SERVER2?
Thank you.
I'm reading: Oracle® Fail Safe
Concepts and Administration Guide
Version 3.3.3 for Windows
Reference No.. B12070-01
December
But do not see the answer to my question.
Thank you.
Please tell me if my question is clear?First, Oracle FailSafe is "low availability environment. The number of problems associated with the Services of Cluster MS FailSafe (including errors of the operator or configuration problems) far exceeds number of problems with Oracle running on a single node. Yes, your manager will be able to show the listeners that they perform configuration high availability. But in my experience, this does not work in real life (perhaps because we were not allowed to run Oracle and FailSafe as LocalService, but we had to use domain accounts - this added much more complexity). In any case, my personal experience with this security was bad.
Back to your question... You do not create a database on SERVER2. You only need to install all the necessary software - software for Oracle database and integrated security software (if placed on a shared drive). All services on the server SERVER2 are created automatically when you add your database to the cluster. When your OracleService on SERVER1 crashes (for example - a complete crash of SERVER1 does cause no heartbeat data to write on a quorum disk) then FailSafe will mount disks shared to SERVER2 and start OracleService on SERVER2 (this is why OracleService should be set to manual - must not be started by Windows when the system starts) (, but only when you are prompted by the integrated security service). It's the same database - data online redo logs and control files. So, there is no second database on SERVER2. From the application point of view, a crash of Server1 "is seen" as a very fast server reboot. All connections are interrupted, the database gets bounced.
-
Cannot create the database error
Hello all-
I worked on a project in Robohelp7/HTML for about a week. I come today and try to open my project and the error message "unable to create the database. Check that the directory is not dead. ». I did what is obvious to check the folders and files to the breast and they are not marked read only. When I create a new project, I get the same error. I'm stuck at the stop and can't understand why Robohelp has decided to deny me access to my project or the ability to create new ones. I went so far as to uninstall and reinstall, nothing helps.
If someone has encountered this? Any help would be greatly appreciated.
Thank youSomething fundamentally wrong it if clown fish is to launch the same error.
My inclination would be right for a uninstall and reinstall.
If you have installed the patch, you can see RoboHelp 7.0.2. That uninstall and go back to add remove programs (ARP). Uninstall 7.0.1, and then go back to remove HR itself.
When you reinstall, you need to apply the patch again.
I have excluded firewall issues that you worked OK for a week. On the same basis, and because the clown fish up the same error, I have excluded on a network. I guess one last thing to try would be to create and reopening of a new project.
Are you based in Iceland? There are a few pages on the Iceland under Serendipity on my site.
-
Cannot create the image of the system due to an internal error
Widows 7 cannot create an image system due to an internal error.
What should do?
Original title: the system image
Hello
Please contact Microsoft Community.
I understand that you can not create the system image.
I will definitely help you with this.
What is the exact error of the internet you found?
I suggest that you go through the links below:
Refer to the suggestion given by Shubham Chaubey said may 17, 2016:
I hope this helps. Please post back with the State of the question and we will be happy to help you further.
-
I can't open a new Illustrator file. He sends me this error: failed to create a new illustration. Problems occurred during the recording of the print file. ID:-1
I opened a previous document created in CC, but it does not allow me to copy and paste items from one doc to another.
I rebooted with nothing doesn't.
System:
Adobe Creative Cloud CC
Mac Book Pro 2012
2.6 GHz Intel Core i7
8 GB 1600 MHz DDR3
On a mac, but it seems that it has resolved itself. In my view, that it may have been a corrupted file that threw everything off. Thank you.
-
Cannot create new Data Source - Oracle ODBC doesn't show any system DSN
On Windows 7 x 64, installed Oracle 10 g using ODBC to connect to the Oracle database, but I am not able to create a new data source as Oracle ODBC doesn't show... illustrious system DSN only SQL server etc etc...If you have installed the 32-bit database Client, try the 32-bit ODBC administration tool: C:\Windows\SysWOW64\odbcad32.exe
Note that 10.2.0.5 is the oldest version of "10g" supported on Windows 7.
http://download.Oracle.com/docs/CD/B19306_01/Relnotes.102/b15680/TOC.htm#BABEBBJFAs an alternative, try the customer Instant 11.2.
For 32-bit applications: http://www.oracle.com/technetwork/topics/winsoft-085727.html
64-bit / x 64: http://www.oracle.com/technetwork/topics/winx64soft-089540.html -
Cannot create spatial indexes in Oracle 11 g
Hi all!
I'm using Oracle 11 g 2 on Windows 2008 (64bitxR2). When I get errors when I create Spatial Index oracle11g2, but it works well with Oracle 10 g. I don't know what I did wrong, or do I need a fix for Oracle Spatial 11 g 2?
Can you help me? Thanks for any help!
ORA-29858: an error has occurred in the execution of the routine ODCIINDEXALTER
ORA-29400: data cartridge error
ORA-01403: no data found
ORA-13249: internal error in the Spatial index: [mdidxrbd]
ORA-13249: error in the Spatial index: index build failed
ORA-13249: error in the spatial index: [mdrcrtxfergm]
ORA-13249: error in the spatial index: [mdpridxtxfergm]
ORA-13200: internal error [ROWID:AAAUmYAAIAAAJuFAAB] in space indexering.
ORA-13206: [] internal error creating the spatial index
ORA-13033: invalid data in the SDO_ELEM_INFO_ARRAY in the SDO_GEOMETRY object
ORA-06512: vid 'MDSYS. SDO_INDEX_METHOD_10I', line 313
DELETE FROM mdsys.sdo_coord_ref_system WHERE srid = 50632625;
DELETE FROM mdsys.sdo_coord_op_param_vals WHERE coord_op_id = 50632625;
DELETE FROM mdsys.sdo_coord_ops WHERE coord_op_id = 50632625;
-COORD_OP_METHOD_ID = 9807: Transverse Mercator
INSERT MDSYS. () SDO_COORD_OPS
COORD_OP_ID, COORD_OP_NAME, COORD_OP_TYPE, COORD_OP_METHOD_ID.
INFORMATION_SOURCE, DATA_SOURCE,
SHOW_OPERATION, IS_LEGACY, IS_IMPLEMENTED_REVERSE, IS_IMPLEMENTED_FORWARD, REVERSE_OP)
values)
50632625, ' ST_74_0_GON_65: op-1 ', 'CONVERSION', 9807,.
"Digpro AB, [email protected],"Digpro AB. "
1, 'FALSE', 1, 1, 1);
-Setting for the latitude of origin (0)
INSERT MDSYS. () SDO_COORD_OP_PARAM_VALS
COORD_OP_ID, COORD_OP_METHOD_ID, PARAMETER_ID, PARAMETER_VALUE, PARAM_VALUE_FILE_REF, UOM_ID)
VALUES (50632625, 9807, 8801 0.000000, 9102, NULL);
-Setting for east central meridian 18 ° 03' 28,044 "
INSERT MDSYS. () SDO_COORD_OP_PARAM_VALS
COORD_OP_ID, COORD_OP_METHOD_ID, PARAMETER_ID, PARAMETER_VALUE, PARAM_VALUE_FILE_REF, UOM_ID)
VALUES (50632625, 9807, 8802, 18.05779, NULL, 9102);
-Setting for the scale factor
INSERT MDSYS. () SDO_COORD_OP_PARAM_VALS
COORD_OP_ID, COORD_OP_METHOD_ID, PARAMETER_ID, PARAMETER_VALUE, PARAM_VALUE_FILE_REF, UOM_ID)
VALUES (50632625, 9807, 8805, 0.99999425, NULL, 9201);
-Setting for abscissa
INSERT MDSYS. () SDO_COORD_OP_PARAM_VALS
COORD_OP_ID, COORD_OP_METHOD_ID, PARAMETER_ID, PARAMETER_VALUE, PARAM_VALUE_FILE_REF, UOM_ID)
VALUES (50632625, 9807, 8806, 100178.1808, NULL, 9001);
-Setting for fictitious ordinate
INSERT MDSYS. () SDO_COORD_OP_PARAM_VALS
COORD_OP_ID, COORD_OP_METHOD_ID, PARAMETER_ID, PARAMETER_VALUE, PARAM_VALUE_FILE_REF, UOM_ID)
VALUES (50632625, 9807, 8807,-6500614.7836, NULL, 9001);
-Adds the system projected on top the geodetic system in rt90_dp_geosystem_102.sql
-COORD_SYS_ID = 4400: CS Cartesian Axes. 2D: abscissa, ordinate (E, N). Directions: East, North. Unit of measure: m.
-GEOG_CRS_DATUM_ID = 4619: SWEREF99
INSERT MDSYS. () SDO_COORD_REF_SYSTEM
SRID, COORD_REF_SYS_NAME, COORD_REF_SYS_KIND, COORD_SYS_ID.
DATUM_ID, GEOG_CRS_DATUM_ID, SOURCE_GEOG_SRID, PROJECTION_CONV_ID.
CMPD_HORIZ_SRID, CMPD_VERT_SRID, INFORMATION_SOURCE,
DATA_SOURCE, IS_LEGACY, LEGACY_CODE, LEGACY_WKTEXT, LEGACY_CS_BOUNDS,
IS_VALID, SUPPORTS_SDO_GEOMETRY)
VALUES)
50632625,'ST_74_0_GON_65:-1 ', 'PROJECTION', 4400,.
NULL, 6619, 4619, 50632625,.
NULL, NULL, 'Digpro AB, [email protected],
'Digpro AB', 'FALSE', NULL, NULL, NULL,
"TRUE", "TRUE");
sqlplus kranskom/password
-Update the metadata for the KRANSKOM schema
Insert values (user_sdo_geom_metadata)
"BOUCHIHAB", "SHAPE", HE SAID.
() mdsys.sdo_dim_array
MDSYS.sdo_dim_element ('Y',-100000, 200000, 0.0005).
MDSYS.sdo_dim_element ('X',-100000, 200000, 0.0005),
MDSYS.sdo_dim_element ('Z', -1000, 1000, 0.0005)
), 50632625
);
-Display content in column form (in the table GRAG)
Insert into GRAG (SHAPE) values (MDSYS. SDO_GEOMETRY (3003,50632625, 'null', MDSYS. SDO_ELEM_INFO_ARRAY (1,5,1,1,2,1), MDSYS. SDO_ORDINATE_ARRAY(276.2339,-179.7433,0,276.2498,-179.7361,0,276.2668,-179.7324,0,276.2842,-179.7325,0,276.6235,-179.7691,0,276.793,-179.7731,0,276.8055,-179.772,0,276.8174,-179.7682,0,276.8281,-179.7619,0,277.073,-179.5793,0,277.2068,-179.4543,0,277.2122,-179.4481,0,277.2162,-179.4408,0,277.2186,-179.4329,0,277.2192,-179.4247,0,277.2159,-179.3107,0,277.3184,-178.9335,0,277.3252,-178.6913,0,277.3265,-178.5765,0,277.3258,-178.5683,0,277.3237,-178.5604,0,277.3201,-178.5531,0,277.3152,-178.5465,0,277.3092,-178.541,0,277.3023,-178.5366,0,277.2947,-178.5337,0,277.2867,-178.5321,0,277.1778,-178.5219,0,277.1731,-178.5219,0,277.1683,-178.5227,0,277.1637,-178.5244,0,277.1595,-178.5268,0,277.1558,-178.5299,0,277.1527,-178.5336,0,277.1503,-178.5378,0,277.1486,-178.5424,0,277.1478,-178.5471,0,277.1478 ,-178.5519,0,277.1536,-178.6151,0,277.1537,-178.6198,0,277.1529,-178.6244,0,277.1515,-178.6289,0,277.0012,-178.9885,0,276.9919,-179.0066,0,276.9797,-179.023,0,276.9651,-179.0373,0,276.2832,-179.6059,0,276.2804,-179.6079,0,276.2773,-179.6093,0,276.274,-179.6101,0,276.2706,-179.6103,0,276.2673,-179.61,0,276.264,-179.609,0,276.2609,-179.6075,0,276.2582,-179.6054,0,276.2559,-179.6029,0,276.2541,-179.6001,0,276.2528,-179.5969,0,276.252,-179.5935,0,276.2476,-179.5581,0,276.247,-179.5555,0,276.2459,-179.5529,0,276.2444,-179.5506,0,276.2425,-179.5485,0,276.2402,-179.5469,0,276.2377,-179.5456,0,276.235,-179.5449,0,276.2322,-179.5446,0,276.2294,-179.5449,0,276.2267,-179.5456,0,276.2242,-179.5468,0,276.2219,-179.5485,0,276.22,-179.5505,0,276.0132,-179.8127,0,276.0105,-179.8169,0,276.0086,- 179.8215,0,276.0076,-179.8263,0,276.0074,-179.8312,0,276.0082,-179.8361,0,276.0099,-179.8408,0,276.0124,-179.845,0,276.0157,-179.8488,0,276.0196,-179.8518,0,276.0239,-179.8541,0,276.0287,-179.8556,0,276.0336,-179.8562,0,276.0385,-179.8558,0,276.0433,-179.8546,0,276.0478,-179.8525,0,276.2339,-179.7433,0)));If the 2D, the value of 2002 data. otherwise assign 3002.
Siva
-
1. when I try to create an e-mail, or reply, or reply all or forward, or open an email received, get the error message "there was an error opening this message. An error has occurred. »
2. when I try to open the address book, get the error message "the address book cannot be installed correctly."
3. when I try to open the address book, get error message 'the address book failed to load. Outlook Express is configured incorrectly, please re - install. »
Had a major power outage 6/28; power finally restored 7/3 but had to reconfigure Outlook Express but also a number of other programs, including the password for computer access.
This article is quite old: http://support.microsoft.com/kb/191946 but if you search for *.wab which will give you the address book, and it is probably corrupted. You can click on it and check whether it is open or not. If not, then look for * ~ * and who will be the backup of the address book. Try to rename to give it a file extension wab and if it opens when you click it, and then replace the bad with it. Otherwise, remove the old one and see if that fixes it. You might be best by clicking file | Identities and setting a new identity and then see if it works fine. If Yes, then you can import the old identity.
See Bruce's wider response also here: http://answers.microsoft.com/en-us/windows/forum/windows_xp-networking/the-address-book-failed-to-load-outlook-express-is/d6a4dea7-c936-4925-a66a-33042bac5fe1
Steve
-
How to use newly created database in oracle
Hi friends,
I created a new database in the name of the model and I dono how to use this database.
can someone help me through the process step by step.
Note: I use the oracle 11g and working in the command prompt
I thank in advance
2749241 wrote:
In fact, I learn about dblink so I need to know how to use it
I created db using DBCA
After I created db as a model and when tried to use the fake database
his spear a mistake as TNS Protocol adapter error...
Help me to enter this dummy database...
Thank you
That error is normally due to the eitehr you have a bad SID or in the service of the database is not started. In order to check what applies to you. Do a Google search for the same mistake.
Aman...
-
Bad system setting, cannot start the database
Hello, I have problem with start my database
C:\Users\Raw>sqlplus "/ as sysdba" SQL*Plus: Release 11.2.0.1.0 Production on Thu May 28 15:23:34 2015 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2182592 bytes Variable Size 587203136 bytes Database Buffers 473956352 bytes Redo Buffers 5595136 bytes Database mounted. ORA-01092: ORACLE instance terminated. Disconnection forced ORA-30012: undo tablespace 'UNDOTS3' does not exist or of wrong type Process ID: 2716 Session ID: 5 Serial number: 3 SQL> startup mount ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2182592 bytes Variable Size 587203136 bytes Database Buffers 473956352 bytes Redo Buffers 5595136 bytes Database mounted. SQL> show parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTS3 SQL> select * from v$tablespace; TS# NAME INC BIG FLA ENC ---------- ------------------------------ --- --- --- --- 0 SYSTEM YES NO YES 1 SYSAUX YES NO YES 2 UNDOTBS1 YES NO YES 4 USERS YES NO YES 3 TEMP NO NO YES 6 ARB_TABLESPACE YES NO YES 7 ARB2_TABLESPACE YES NO YES 5 UNDOTBS2 YES NO YES 8 TEMP2 NO NO YES 9 UNDOTBS3 YES NO YES 10 rows selected. SQL> alter system set undo_tablespace=UNDOTBS3 scope=both; alter system set undo_tablespace=UNDOTBS3 scope=both * ERROR at line 1: ORA-02097: parameter cannot be modified because specified value is invalid ORA-01219: database not open: queries allowed on fixed tables/views only SQL> alter database open 2 ; alter database open * ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection forced ORA-30012: undo tablespace 'UNDOTS3' does not exist or of wrong type Process ID: 1128 Session ID: 5 Serial number: 3 SQL>
When I have a parameter not valid, the I often resolve when the database does not open is to simply create a pfile the spfile file:
sqlplus
Connect / as sysdba
create pfile='/home/oracle/pfile.txt 'to spfile='/u01/app/oracle/product/12.1.0.2/dbs/spfileorcl.ora ';
Then use a text editor to fix the value of the parameter. When done, save the changes. Then create spfile from pfile this and you should be able to start the instance.
create spfile='/u01/app/oracle/product/12.1.0.2/dbs/spfileorcl.ora 'to pfile='/home/oracle/pfile.txt ';
startup
HTH,
Brian
Maybe you are looking for
-
How uninstall Firefox when it always says that it is running
I checked all the troubleshooting suggestions to get Firefox running properly again. Finally decided that I just need to completely remove and download a new copy. Problem is when I try to uninstall the program he says "Firefox must be closed for uni
-
Satellite A60-122: RAM upgrade
I am considering the upgrade of RAM on my laptop 1 GB + 256 MB (it is currently 256 + 256). As far as I understand, Toshiba recommends the use of memory Kingston KTT3311 / 1 G, which is, unfortunately, ridiculously expensive. I wonder if I could use
-
Just upgraded to iOS 9.2 and can no longer receive emails from EarthLink. Help!
JJust upgraded to iOS 9.2 and can no longer receive emails from EarthLink. Help! I tried to support; what she proposed didn't work; may never come again.
-
I just bought a p6533 and have problems with the sound. The speakers are built into the screen and when I do the test sound it beeps, but when I go on line there is no sound at all. As far as I know that everything is connected properly. When I go
-
Creation of a right by using the API of the IOM - what is lookupkey for?
HelloI try this codeAppService = oimClient.getService (ApplicationInstanceService.class) ApplicationInstanceService;ApplicationInstance appInstance = appService.findApplicationInstanceByName("MyAppInstance");EntitlementService entSvc = (EntitlementSe