Create the database with a set of characters
HelloI need to create a database with the character US8PC437 (platform Linux Redhat 5.4 64-bit, database version 11.2.0.3), but this character set do not appear when I create the database with the database assistant (DBCA).
Any help will be apreciated.
Best regards
Antonio Serrano
Published by: albrotar on March 6, 2012 09:14
While AL32UTF8 is certainly recommended for the Oracle database character set, use only, if your application provider has confirmed that their application will work with a set of characters to multibyte database.
To create a database US8PC437 (it is rarely a choice, in fact) with DBCA 11.2, select the "character sets" tab, once shown, then select the option 'Choose from the list of character sets' and uncheck 'Show recommended only character sets '. This will add US8PC437 to the "Database character set" drop-down list. Select "US8PC437" from the list and continue the process of creation.
But first, contact your provider and ask a compatible Unicode version of your application.
-Sergiusz
Tags: Database
Similar Questions
-
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
-
Create the database fails with error ORA-01505: Error adding log files
Hi all
hope someone can help out me, I'm creating a database by using a SQL script, the content of the script is:
create the testora database
the user sys identified by oracle
the user identified by oracle's system
LogFile Group 1 ('/ u01/app/oracle/oradata/testora/redo01a.log ',' / u02/app/oracle/oradata/testora/redo01b.log') blocksize 512 re-use, 100 m in size.
Group 2 ('/ u01/app/oracle/oradata/testora/redo02a.log ',' / u02/app/oracle/oradata/testora/redo02b.log') blocksize 512 re-use, 100 m in size.
Group 3 ('/ u01/app/oracle/oradata/testora/redo03a.log ',' / u02/app/oracle/oradata/testora/redo03b.log') blocksize 512 re-use, 100 m in size.
maxLogFiles 5
maxlogmembers 5
MAXDATAFILES 100
US7ASCII character set
AL16UTF16 national character set
Local extended management
DataFile ' / u01/app/oracle/oradata/testora/system01.dbf' re-use of 400 m size
SYSAUX datafile ' / u01/app/oracle/oradata/testora/sysaux01.dbf' re-use of 400 m size
default tablespace users
DataFile ' / u02/app/oracle/oradata/testora/users01.dbf' size 500 m reuse autoextend on maxsize unlimited
default temporary tablespace tempts1
tempfile ' / u01/app/oracle/oradata/testora/temp01.dbf' size 20 m reuse autoextend on maxsize 4g
Undo tablespace undotbs1
DataFile ' / u01/app/oracle/oradata/testora/undotbs01.dbf' size 200 m reuse autoextend on maxsize unlimited
;
It fails in the creation of the database with the following result:
SQL > @/home/oracle/Oracle_Scripts/testora_db_script.sql
create the testora database
*
ERROR on line 1:
ORA-01092: ORACLE instance is complete. Disconnection forced
ORA-01501: CREATE DATABASE failed
ORA-01505: Error adding log files
ORA-01184: logfile group 1 already exists
Process ID: 3486
ID of the session: 1 serial number: 3This is the documentation: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_5004.htm#i2142335
>
If only the DB_RECOVERY_FILE_DEST initialization parameter is specified, Oracle database then creates a log file member to this place. -
On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?
I tried to start dbconsole, and it did not work:[oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)
database was created with the option as:
emConfiguration - NONE - storageType FS
I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "
When I try to start it, it exports the error
[Oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
Could someone could give me help with this problem?
Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?
I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?
-
How to recover the database with RMAN avoiding blur
Hi gurus,
I'm stuck in a situation and need your help.
We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.
(1) copied the prod parameter file to test.
(2) make the necessary changes in the init file.
db_file_name_convert, etc..
(3) start db in nomount mode.
(4) restore the backup control file
Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';
(5) mount the database.
(6) created under the rman script and executed.
Run {}
Catalogue start with ' / oraback/RMAN/test "noprompt.
Catalogue start with ' / oraback/ARCH/test "noprompt.
allocate channel C1 device type disk;
allocate channel C2 device type disk;
allocated channel C3 device type disk;
allocate channel C4 device type disk;
allocate channel C5 device type disk;
allocate channel C6 device type disk;
allocate channel C7 device type disk;
allocate channel C8 device type disk;
@rename_datafiles.lst
@rename_logfiles.lst
until the SNA 144390584718.
restore the database;
switch datafile;
recover the database
}
Questions-
-Restore completed successfully, but I found that few archives are missing.
-I pulled from database to recover until cancel using backup controlfile; There is a below error
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'
-Then tried to restore the archive of available backup archive and few of archives have been restored.
i.e. of sequence between 759529 and 759552.
And then I pulled the database until cancel using backup controlfile recovery and I got errors below.
SQL > restore database using backup controlfile until cancel;
ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc
ORA-00280: change 144185396330 thread 1 is in sequence #759541
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
Auto
ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc
ORA-00280: change 144187549215 thread 1 is in sequence #759542
ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc
ORA-00280: change 144187559176 thread 1 is in sequence #759543
ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc
ORA-00280: change 144188388865 thread 1 is in sequence #759544
ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc
ORA-00280: change 144188399424 thread 1 is in sequence #759545
ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc
ORA-00280: change 144189462436 thread 1 is in sequence #759546
ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc
ORA-00280: change 144189469985 thread 1 is in sequence #759547
ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc
ORA-00280: change 144189577217 thread 1 is in sequence #759548
ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc
ORA-00280: change 144189584836 thread 1 is in sequence #759549
ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc
ORA-00280: change 144189699671 thread 1 is in sequence #759550
ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc
ORA-00280: change 144189708674 thread 1 is in sequence #759551
ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc
ORA-00280: change 144189715134 thread 1 is in sequence #759552
ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer
necessary for this recovery
ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52
thread 1
ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc
ORA-00280: change 144189715148 thread 1 is in sequence #759553
ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer
necessary for this recovery
ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'
ORA-27037: unable to get file status
IBM AIX RISC System/6000 error: 2: no such file or directory
Additional information: 3
ORA-10879: error reported in parallel recovery slave
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
ORA-01194: file 6 recovery needs more match
ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'
-Now when I tried to open the database with resetlogs it gives below error.
SQL > alter database open resetlogs;
ALTER database open resetlogs
*
ERROR on line 1:
ORA-01194: file 6 recovery needs more match
ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'
-I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.
-I tried to check the blur of datafiles and achieved lower results.
ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";
Set of feedback on
topic on the value
set pagesize 1000
set linesize 175
format of column checkpoint_change # 999999999999999999999
Select the State, checkpoint_change #, fuzzy,.
TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.
Count (*)
v $ datafile_header
Status group, checkpoint_change #, fuzzy, checkpoint_time
order of the State, checkpoint_change #, fuzzy, checkpoint_time;
STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)
--------------------- ---------------------- --------- -------------------- ----------
144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123
ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1
ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1
ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1
ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1
144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1
ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1
ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1
ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1
144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1
ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1
ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1
ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1
ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1
ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1
ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1
ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1
ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1
ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1
ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1
ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1
ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1
ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1
ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1
ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1
ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1
ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1
ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1
ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1
ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1
ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1
ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1
ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1
ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1
ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1
ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1
ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1
144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1
144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1
ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1
ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1
ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1
ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1
ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1
ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1
ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1
144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1
144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1
ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1
144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1
ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1
144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1
ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1
ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1
ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1
ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1
ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1
ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1
ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1
144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1
ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1
144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1
ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1
ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1
144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1
144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1
(1) how to proceed from here.
(2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.
(3) I don't want to use under hidden settings
_ALLOW_RESETLOGS_CORRUPTION = TRUE
_CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)
Thank you for the support.
You can not ignore the archivelogs.
If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.
Hemant K Collette
-
Refresh the production database to test the database with RMAN
Hi experts,
I want to refresh the production database to test the database with RMAN. You can help me please how to do this.
I saw a lot of blog on the internet but not got a satisfactory answer.
Reg,
Thomas verrma
Thomas
Follow these steps
1. on the server target
a. Add entry in oratab
b. create init.ora for target db copy of source
c. If you use catalog
connect to the RMAN catalog, you can use the double option to clone run below
one.
RMAN > Connect target sys /
@trgt RMAN > Connect Catalog rman /
@catalog b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile
c. restore the controlfile
RMAN > set DBID = xxxxxxxx (DBID of the source db)
RMAN > run
{
allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =
-
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
-
How to create the database using the command line?
Hi all
Win7
10g or 11g
I want to create a new database using a script.
I set up my new SID and oracle_home.
Then sqlplus / DBA.
then I execute a common script...
I always hit itstartup nomount; create database PRODB logfile group 1 ('z:\oradata\PRODB\redo01.log', 'z:\oradata\PRODB\redo01b.log') size 50M, group 2 ('z:\oradata\PRODB\redo02.log', 'z:\oradata\PRODB\redo02b.log') size 50M, group 3 ('z:\oradata\PRODB\redo03.log', 'z:\oradata\PRODB\redo03b.log') size 50M, group 4 ('z:\oradata\PRODB\redo04.log', 'z:\oradata\PRODB\redo04b.log') size 50M character set AL32UTF8 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M undo tablespace undo datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M default temporary tablespace temp tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catalog.sql; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catproc.sql; connect system/manager; @/opt/app/oracle/product/10.2.0/db_1/sqlplus/admin/pupbld.sql; exit; SQL> startup nomount; ORA-12560: TNS:protocol adapter error SQL> create database PRODB 2 logfile group 1 ('z:\oradata\PRODB\redo01.log', 3 'z:\oradata\PRODB\redo01b.log') size 50M, 4 group 2 ('z:\oradata\PRODB\redo02.log', 5 'z:\oradata\PRODB\redo02b.log') size 50M, 6 group 3 ('z:\oradata\PRODB\redo03.log', 7 'z:\oradata\PRODB\redo03b.log') size 50M, 8 group 4 ('z:\oradata\PRODB\redo04.log', 9 'z:\oradata\PRODB\redo04b.log') size 50M 10 character set AL32UTF8 11 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M 12 sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M 13 undo tablespace undo 14 datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M 15 default temporary tablespace temp 16 tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M;
SQL > startup nomount;
ORA-12560: TNS:protocol adapter error
But if I run it on Linux is good.
Help, please...
Thank you very much
zxyyxes2013 wrote:
I want to create a new database using a script.
Suggestion. DBCA allows to generate the database model and use the option "+ Save as scripts + ' (no need to create the database).
In the scripts directory, there will be a couple of shell and SQL scripts to create the database. Use them as your CLI model for the creation of a custom database. (I guess that DBCA works the same on Windows as it does on Linux).
Another option, if you are using Oracle XE, is to copy ORACLE_HOME/bin/createdb.sh (probably a + .cmd on Windows) script and change for use. If you manually add non-XE features to the script (such as the installation of the Java virtual machine) If you want a database of SE or EE. (whereby DBCA scripts are a better answer).
-
Hi guys!
I'm having problems creating a data link...
I enter something like < IP >: < PORT > / < SID > in the SERVICE NAME field and the Assistant returns me error message.
This structure for THE SERVICE NAME is correct?
Thank you.Hello
I think the nomenclature might be a little better. During create/edit the entry box is marked but the Service name in outdoor, HOMEtab, and in fact both are misleading.
Looks like you want to use the format EZConnect [host: port / service name].
http://www.orafaq.com/wiki/EZCONNECTService_name is generally SID.domain, but you can get away with only SID since many products add the local domain name. It can work if you leave off of the area, but local and remote domain names are the same.
It's really much easier to use a TNS alias if you have a local listener running with the appropriate entry in the tnsnames.ora file. Thus, for example, in my environment my sqlnet.ora file contains this line:
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
My remote database THAT SID is ora1122 on, say, xyz1234567 to the remote computer and I have a TNS alias entry of the xyz1122 in my local tnsnames.ora file. Given these parameters, I am able to create the database to help link
xyz1122
or
xyz1234567:1521/ora1122.us.Oracle.com
Thus the first case depends on all: the local listener running, the tnsnames.ora and sqlnet.ora parameters. The second case only on rethinking the host, port, and service. And, in my environment, I actually couldn't give up the domain name. us.Oracle.com.
I hope that this more detailed example is aid,
Gary -
How to manually create database Windows?
Windows
go to start > all programs >(Oracle Home) > Configuration and migration Tools > the database Configuration Wizard
Click that assistant Configuration of the database, with the help of you can create several number of databases, deletePublished by: Guy on March 21, 2012 22:05
-
create the database on windows
Hello
Assume, I have a database of SE oracle under windows.
If I want to create another database on the same server, can I just there create with dbca, or I have to manually create windows as services?N ° not required. If you try to create the database using DBCA, then there is no need to manually create any service.
-
How to register the database with earphone
Hello
After you create the database, it is automatically saved with the listener. I am not registered the database with listener then how it registers itself automatically with the listener. How a registry database that is automatically saved.
I use 11 GR 2 and RHEL 5.4
[oracle@dog1050 bin] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dog1050) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/oracle
[oracle@dog1050 bin] $ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on December 29, 2011 16:03:09
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dog1050) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date December 29, 2011 16:01:07
Uptime 0 days 0 h 2 min 1 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/dog1050/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dog1050) (PORT = 1521)))
Summary of services...
Service 'db11g' has 1 instance (s).
"Db11g", State LOAN, has 1 operation for this service...
Service 'db11gXDB' has 1 instance (s).
"Db11g", State LOAN, has 1 operation for this service...
The command completed successfully
Thank you
Knani K>
By default, the PMON process stores information about service with his local listening on the local address by default TCP/IP port 1521
>Please read more http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm#CHDCCHIC.
-
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.
-
You do not have enough disk space to create the database...
Hi all
During the creation of the database, I received this message:
+ "You don't have enough disk space to create the database. +
+ You must at least 939008 on/U01 KB, you only 1981480960 available KB. +
+ Please allow more free disk space. » +
I checked:
Root@server# df h
Size of filesystem used avail capacity mounted on
/ dev/dsk/c4t600A0B800033696A000017534E2F6F67d0s0
2.2 T 2.2 G 2.2 T 1% / U01
My Info:
DB-INSUP2-C2VAS of SunOS 5.10 Generic_142909-17 sun4u sparc SUNW, Sun-Fire-V890
Oracle database: 10.2.0.1
Help, please!
Thank you!
Dan.Thank you all,
I got the same warning messages and I created the point of editing/U01 with 50 GB for installation of Oracle and creation of database with no caveat. In my opinion, the warning appeared as the point of Assembly/U01 is too large (2.2 T).
Sorting.
Published by: hqtri on August 4, 2011 23:33
-
Create name synonymous with more than 30 characters.
I created a synonym for a table which is over 30 characters long.
After you have created the synonym with create synonym... created synonym message shows.
but when I check in view object that syninym is not available, and
Select * from < synonym_name > returtning nor the ranks.
What is the reason for this? If oracle poster created as Syninym message then where his stored?
Thanks in advance...To demonstrate the above...
SQL> select * from user_synonyms; no rows selected SQL> create synonym MY_EMPLOYEE_RECORDS_VERY_LONG_NAME for EMP; Synonym created. SQL> select * from user_synonyms; SYNONYM_NAME TABLE_OWNER TABLE_NAME DB_LINK ------------------------------ ------------------------------ ------------------------------ --------- /9c4d39ff_MY_EMPLOYEE_RECORDS_ SCOTT EMP SQL> select * from MY_EMPLOYEE_RECORDS_VERY_LONG_NAME; select * from MY_EMPLOYEE_RECORDS_VERY_LONG_NAME * ERROR at line 1: ORA-00972: identifier is too long SQL> select * from "/9c4d39ff_MY_EMPLOYEE_RECORDS_" 2 ; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- ------------------- ---------- ---------- ---------- 7369 SMITH CLERK 7902 17/12/1980 00:00:00 800 20 7499 ALLEN SALESMAN 7698 20/02/1981 00:00:00 1600 300 30 7521 WARD SALESMAN 7698 22/02/1981 00:00:00 1250 500 30 7566 JONES MANAGER 7839 02/04/1981 00:00:00 2975 20 7654 MARTIN SALESMAN 7698 28/09/1981 00:00:00 1250 1400 30 7698 BLAKE MANAGER 7839 01/05/1981 00:00:00 2850 30 7782 CLARK MANAGER 7839 09/06/1981 00:00:00 2450 10 7788 SCOTT ANALYST 7566 19/04/1987 00:00:00 3000 20 7839 KING PRESIDENT 17/11/1981 00:00:00 5000 10 7844 TURNER SALESMAN 7698 08/09/1981 00:00:00 1500 0 30 7876 ADAMS CLERK 7788 23/05/1987 00:00:00 1100 20 7900 JAMES CLERK 7698 03/12/1981 00:00:00 950 30 7902 FORD ANALYST 7566 03/12/1981 00:00:00 3000 20 7934 MILLER CLERK 7782 23/01/1982 00:00:00 1300 10 14 rows selected. SQL>
Maybe you are looking for
-
OK, I know that my old iMac is done towards the end of his life and I use my 2nd Mac now, but this iMac (version 7.1, dating back to mid-2007) is now almost unusably slow, in the respect that it takes a few minutes running until I can move the cursor
-
Satellite C660 / 01 m that the CPU can use?
Hello I was wondering what CPU the C660 / 01 m can take. It is an i3, but can she take i5 or i7?Is there a list of all technical information? Thanx Brian
-
IPhone appear not anywhere on my pc
My Iphone keeps resarting and I can not restore cause it does not connect to my computer, I see nothing in Device Manager or something like that please help
-
No characters on the paper when you print from Word or Excel
When printing from Word and Excel - printer goes through all the steps and sounds but no ink on the page. Print test and other programs non - SM page print very well. Worked fine before (maybe 2-3 months I have used Office but print very well before)
-
Where is my IPv4 protocol?
I recently updated my Vista Service Pack 2 and now I only have the IPv6 protocol. SP2 removes the IPv4 protocol and how I get it back? I can't connect to the internet from my pc to office without it.