Help creating a database
please help...
the complete command for creating a database
Full syntax: http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5004.htm#SQLRF01204
Example of the CREATE DATABASE command:
CREATE DATABASE sample
CONTROLFILE REUSE
LOGFILE
GROUP 1 ('diskx:log1.log', 'disky:log1.log') SIZE 50K,
GROUP 2 ('diskx:log2.log', 'disky:log2.log') SIZE 50K
MAXLOGFILES 5
MAXLOGHISTORY 100
MAXDATAFILES 10
MAXINSTANCES 2
ARCHIVELOG
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
DATAFILE
'disk1:df1.dbf' AUTOEXTEND ON,
'disk2:df2.dbf' AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
DEFAULT TEMPORARY TABLESPACE temp_ts
UNDO TABLESPACE undo_ts
SET TIME_ZONE = '+02:00';
Similar Messages
-
Help in creating a database..
please help ...
The complete command for creating a database..
please helphttp://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_5001.htm#sthref4474
Message was edited by:
jeneesh
Sorry, if I misread your question -
Ask help About Create Direct Database Request
Hi, all.
When I using the Create Direct Database Request, how can I specify a variable which can used to receive multiple input value?
My SQL like this:
select... from table t1 where t1.c1 in('@{v_c1}{001})
where, v_c1 is the variabe name, 001 is the defaut value of the variable.
But, it doesn' work.
If it's the systax error, then how can I correct it?
Thank you in advance.Hi katherine,
Your connection pool should look like this "DEV_BI"."Connection Pool"
Second thing is go to Administration/Manage privileages/Direct database privileage is there.
If you want to use variables into your SQL query follow this link
http://bintelligencegroup.wordpress.com/2010/08/26/how-to-use-the-presentation-variable-in-direct-database-request/
Hope it helps you.
By,
KK -
BRTOOLS - Recreate database Create new database fails URGENT HELP
Hi All,
I'm following sap note 748434 to recreate SYSTEM tablespace but when I've got to step 4 Create new database it errors :-
Recreate database main menu
1 + Specify new database options
2 + Export user tablespaces
3 + Export global objects
4 = Create new database
5 * Import global objects
6 * Import user tablespaces
7 * Exit program
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0663I Your choice: '4'
BR0613I Database instance BWD is shut down
BR0618I Database instance BWD will be started now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0619I Starting database instance BWD ...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0620I Start of database instance BWD successful
BR0490I Database file /oracle/BWD/sapdata1/system_1/system.data1 (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g11m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g12m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g13m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g14m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0792I Database files can be saved before deletion
BR0675I Do you want to perform this action?
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0257I Your reply: 'c'
BR0678I The action will be skipped...
BR0259I Program execution will be continued...
BR0794I Database file /oracle/BWD/sapdata1/system_1/system.data1 deleted
BR0480I Directory /oracle/BWD/sapdata1/system_1 deleted
BR0794I Database file /oracle/BWD/origlogA/log_g11m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g12m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/log_g13m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g14m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf deleted
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/system_1/system.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/sysaux_1/sysaux.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/temp_1/temp.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata4/undo_1/undo.data1 and will be recreated now if needed
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0370I Directory /oracle/BWD/sapdata1/system_1 created
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR1273I SQLPLUS will be started for execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0278I Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 13 15:27:43 2014
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> SQL> SQL> Connected.
SQL>
SQL> CREATE DATABASE BWD
ERROR at line 1:
BR0278E Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR1274I Execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql completed
BR1277W SQLPLUS reported warnings or errors during the execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
The file it refers to Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi': contains this :-
cat /oracle/BWD/sapreorg/.senkbgrd.spi
set linesize 250;
set pagesize 1000;
@/oracle/BWD/sapreorg/.senkbgrd.spu
host /usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapreorg/.senkbgrd.spu;
@/oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
exit;
But the file it tries to run first @/oracle/BWD/sapreorg/.senkbgrd.spu doesn't exist at runtime it seems!
Anyone offer any help urgently as this system is now dead!
Thanks
CraigApologies, I resolved this myself. Was not obvious and no error logs indicated what the problem was.
Turns out that the initial configuration of tablespace data files was incorrect. Even though it matched the correct size it tried creating them as 1 file and subsequently ran out of file system space.
After realising this I changed the values and adjusted the tablespaces post creation.
Thanks anyway.
Cheers
Craig -
Help I need to Create a Database Schema
Hello Forum, I am sured that I have misunderstood something fundamental.I have created a database called PUS with Database Configuration Assistant,this database is located Network/databases/.(Network/databases/PUS)
Then I want to created a new Schema under PUS, like SCOTT Schema, that I will use toadFree to connect to,
how do I do that ?
Help and thanksyou can use toad if you like, or you can use the sql*plus editor that comes with an oracle installation. Connect to the database with a user with dba priviliges - either sys or system.
To create a schmea , for example scott, issue the following command from the sql prompt:
SQL>create user scott identified by tiger
default tablespace <tablespace_name>
temporary tablespace <temporary tablespace_name>
Replace <tablespace_name> with the tablespace you would like scotts objects to be created in by default.
Replace <temporary tablespace name>, with the name of the temporary tablespace in your database.
After this grant the necessary, roles, privileges to scott, to get you on your way - grant the following two roles:
SQL>grant connect,resource to scott;
naqi -
Help creating a relational database table
Hi,
I need help creating a relational database data. I am suppose to enter the following information in the workstation:
CREATE TABLE patient (
MedRecNo number (4),
LName varchar2 (15),
FNAME varchar2 (15),
MInitial varchar2 (1),
BDate date,
Sex varchar2 (1));
3. Query (using the syntax below) the database to ensure that you have created the table:
SELECT TABLE_NAME FROM USER_TABLES;
I entered the information in the workstation but I have no idea what to do with this command-------->SELECT TABLE_NAME FROM USER_TABLES;
Pleaaaassssse help me.
Thanks in advance,
TanyaThanks for responding so quickly. I'm sorry if I said
it wrong, this is completely new to me. This is what
I am suppose to do:
Directions:
1. Login to the DVOLUSER (select this from the
Connection Identifier drop down window) Oracle
instance using the username and password provided to
you.
2. Use the following SQL syntax to create the patient
table in the database:
CREATE TABLE patient (
MedRecNo number (4),
LName varchar2 (15),
FNAME varchar2 (15),
MInitial varchar2 (1),
BDate date,
Sex varchar2 (1));
3. Query (using the syntax below) the database to
ensure that you have created the table:
SELECT TABLE_NAME FROM USER_TABLES;ETA: I also do not know how to enter this into the data base. I mean I enter the following information into the database and then I click execute but once I do that, what do I do with the SELECT TABLE_NAME FROM USER_TABLES; -
Help with creating a database instance and populating it
the project given to me is to create a database and populate it in berkeley DB. use that as the backend to the Oracle Business Intelligence tool and run some tests.
with other databases like oracle, sybase and teradata, there were user interfaces both GUI and CLI to create a database. they provides sql interfaces for DDL/DML execution to create objects and populate them. basically these utilities helped me do my project successfully. but in berkeley DB i find very minimal utilities and they dont correspond to those provided by other databases.
is there an interface in berkeley db for sql execution
in general how do i create database and populate data in berkeley db
thanks
[email protected]Hi Prasanna,
is there an interface in berkeley db for sql executionNo, Berkeley DB does not provide an SQL interface. It is a library that can be used to store and retrieve key/data pairs in a database. The Berkeley DB reference guide is a good place to look if you want to get an overview of Berkeley DB functionality:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
in general how do i create database and populate data in Berkeley db You generally need to write code to do that. There are a number of programming language bindings provided for Berkeley DB, including a Perl binding. So you can write your testing code in the Perl scripting language if that suits you.
If you intend to measure performance I would recommend using the C or C++ APIs to build your application. The best way to become familiar with using Berkeley DB is with the Getting started guides found here:
http://www.oracle.com/technology/documentation/berkeley-db/db/index.html
Or by familiarizing yourself with the example applications that are shipped with the source distribution.
Regards,
Alex -
Creating a database form query??? HELP?
Hi, i want to create a rate calculator on a webpage. I dont know much about databases and all that, please help. I basically have an excel sheet with a list of countries calling from (with corresponding amounts with it) and list of countries calling to (with corresponding amounts with it). And basically the two numbers (calling from and calling to) have to be added to get the rate per min. An example of a rate calculator that i want to create is: http://www.globenettroaming.com/Rates.php but like i said, i only need a calling from country drop down list and a calling to country drop down list and a calculate button.
I really REALLY would appriciate any help. All i know is that i have to asp - and thats it. Please explain how i would create this database and create a form query on a web page.
Thank you A LOT!mmmm, not much - i've just been reading up on the topic so im just begining to learn it all. Well, i could use access BUT i dont know where to start and how to put in all the data etc... The hosting company i use uses mysql (????) - i havent even an idea of where to start. Scripting language (????) - i guess ASP....Are you able to help?
Thank you. -
Errors creating a database.. HELP!
I've installed Oracle 9i on Mandrake 8 but whenever I try to create a database I get the following error:
ORA-01078 : Failure in processing system parameters.
What does this mean and how can I fix it??
null1) you can see my variables:
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.0.1
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$LD_LIBRARY_PATH
export ORACLE_SID=ORCL
export ORACLE_TERM=xterm
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
2) i use jdk1.1.8_v3 Blackdown
3) the listener didn't start automatically.
4) you must use to start database :
export THREADS_FLAG=native
dbca
5) I choose "Transaction Processing" on screen 2 of 8
6) I have no more idea and I allways cant build new custom database -
How to create a Database - Please Help!
Hi everyone, I would like to create a database program for a video store and have a simple web page as the interface between the user and the database.
I would like to be able to do the following with the database:
Add new film details
Delete Film Details
Edit already existing film details
Search the database for a keyword (Star of film, Director)
Search the database for a certain title
The data I would like the Database to store is:
Title of film
Star of film
Director of film
Release Date
Number of copies in stock.
This is for a university assignment, the problem is that I don't know where to begin such a program, can anyone point me in the direction of any good books that covers this topic.
Thanks everyone
NoelHave you got your table design done yet ? Do you have to use Java ? What resources have you got available ? Do you have access to an infrastruture like Oracle, PL/SQL and Apache ? If so, you can use mod_plsql from Apache to link up with Oracle. You will need to write packages in PL/SQL to generate the HTML. The servlet option is more involved.
-
Request time out when creating content database
Hello,
my problem is, that i cannot create a SharePoint content database via the central administration.
My Setup is the following:
SharePoint Server 2013 Enterprise Farm
1x Applikation Server/WFE (Windows Server 2012 SP 1)
1x Database Server MSSQL Server 2012 (Windows Server 2012 SP 1)
1x TFS 2013 (Windows Server 2012 SP 1)
all of them are hosted in the same Hyper-V Environment. It is not the fasted Hyper-V Environment existing on planet earth.
The weirdest part of the problem is, i am able to create a content database via powershell.
I am running in some kind of time out issue related to the IIS and CA of that Applikation Server.
Here is the ULS Log from the failling content database creation via CA
12.18.2014 10:26:09.47 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope (PostAuthenticateRequestHandler). Execution Time=8,5997
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.66 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
General g3qj
High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.50, Original Level: Verbose] url is in site
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.66 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Asp Runtime aj1kp
High [Forced due to logging gap, Original Level: Verbose] SPRequestModule.PreSendRequestHeaders
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.73 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.70, Original Level: Verbose] SQL connection time: 14.765 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Pooling=False
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.73 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 8xqz
High [Forced due to logging gap, Original Level: Medium] Updating SPPersistedObject {0}. Version: {1} Ensure: {2}, HashCode: {3}, Id: {4}, Stack: {5}
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.77 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Upgrade aj2jl
High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.77 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Upgrade aj2jk
High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
4deed69c-2f53-a086-14bb-cbf40b020025 4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.77 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Upgrade aj2jl
High 12/18/2014 10:26:09.77 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 4deed69c-2f53-a086-14bb-cbf40b020025
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.83 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 8acb
High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.81, Original Level: VerboseEx] Reverting to process identity
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:09.83 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 0.2565 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
Pool Size=0;Max Pool Size=100;Connect Timeout=400
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.16 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, cached @ 12/18/2014 10:26:09.86, Original Level: Verbose] SQL connection time: 0.1719 for Data Source=SQLSERVER\DATABASE;Initial Catalog=SharePoint_2013_Prod_Config;Integrated Security=True;Enlist=False;Pooling=True;Min
Pool Size=0;Max Pool Size=100;Connect Timeout=400
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.16 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 8acb
High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.19 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 84y4
High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.23 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 84y5
High VIEW SERVER STATE permission updated successfully.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.23 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 84y4
High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.25 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 84y5
High CONTROL SERVER permission updated successfully.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.33 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 8acb
High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.30, Original Level: VerboseEx] Reverting to process identity
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.33 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 16.4685 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.39 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 8acb
High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.38, Original Level: VerboseEx] Reverting to process identity
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.39 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, Original Level: Verbose] SQL connection time: 11.6743 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max
Pool Size=100;Connect Timeout=400 4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:12.42 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 7t6o
High The WSS_Content_uitest database does not exist. It will now be created.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:15.11 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, cached @ 12/18/2014 10:26:12.44, Original Level: Verbose] SQL connection time: 9.9785 for Data Source=SQLSERVER\DATABASE;Initial Catalog=master;Integrated Security=True;Enlist=False;Pooling=False;Min
Pool Size=0;Max Pool Size=100;Connect Timeout=400
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:15.11 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ab20s
High [Forced due to logging gap, Original Level: Medium] Setting the {0} option to {1} on the database {2}.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:26:15.14 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Upgrade ajy0d
High 12/18/2014 10:26:15.14 w3wp (0x2304) 0x1B40 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time out =
0 sec 4deed69c-2f53-a086-14bb-cbf40b020025
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.46 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database ahjqp
High [Forced due to logging gap, cached @ 12/18/2014 10:26:15.16, Original Level: Verbose] SQL connection time: 11.4389 for Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min
Pool Size=0;Max Pool Size=100;Connect Timeout=400
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.46 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database fa45
High System.Threading.ThreadAbortException: Thread was being aborted. at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 ) at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle
pConn, IntPtr& packet, Int32 timeout) at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32
commandTimeout) 4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.47 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database fa46
High at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout) at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession,
SqlFile sqlFileId, Int32 timeOut) at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options) at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()
at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags) at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid
newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags) at Microsoft.SharePoint.ApplicationPages.NewContentDBPage.BtnSubmit_Click(Object
sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at
System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer,
IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.47 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database tzku
High ConnectionString: 'Data Source=SQLSERVER\DATABASE;Initial Catalog=WSS_Content_uitest;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max Pool Size=100;Connect Timeout=400' Partition:
NULL ConnectionState: Closed ConnectionTimeout: 400
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.50 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database tzkv
High SqlCommand: '--FixO15:3174405 create role SPReadOnly This line should not be changed or removed, otherwise upgrade would fail. IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'SPReadOnly'
AND type = 'R') CREATE ROLE [SPReadOnly] DECLARE @objname sysname, @objtype NVARCHAR(max), @datatype NVARCHAR(max), @query NVARCHAR(max) -- Grant SELECT on all SharePoint stored procedures and functions DECLARE c CURSOR LOCAL FAST_FORWARD
FOR SELECT ROUTINE_NAME, ROUTINE_TYPE, DATA_TYPE FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_SCHEMA = 'DBO' OPEN c WHILE 1 = 1 BEGIN FETCH NEXT FROM c INTO
@objname, @objtype, @datatype IF @@FETCH_STATUS = -1 BREAK IF @@FETCH_STATUS = 0 BEGIN -- Inline table-valued functions
IF (@objtype = 'FUNCTION' AND @datatype = 'TABLE') SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]' EXEC sp_executesql
@query END END CLOSE c DEALLOCATE c -- Grant SELECT on all SharePoint tables DECLARE c CURSOR LOCAL FAST_FORWARD FOR SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'DBO' OPEN c WHILE 1 = 1 BEGIN FETCH NEXT FROM c INTO @objname IF @@FETCH_STATUS = -1 BREAK IF @@FETCH_STATUS
= 0 BEGIN SET @query = 'GRANT SELECT ON [dbo].' + quotename(@objname) + ' TO [SPReadOnly]' EXEC sp_executesql @query END END CLOSE
c DEALLOCATE c -- Grant EXECUTE on User-defined type where schema is dbo DECLARE c CURSOR LOCAL FAST_FORWARD FOR SELECT NAME FROM SYS.TYPES WHERE IS_USER_DEFINED = 1
AND SCHEMA_ID = schema_id(N'dbo') OPEN c WHILE 1 = 1 BEGIN FETCH NEXT FROM c INTO @objname IF @@FETCH_STATUS = -1 BREAK IF @@FETCH_STATUS
= 0 BEGIN SET @query = 'GRANT EXECUTE ON TYPE::[dbo].' + quotename(@objname) + ' TO [SPReadOnly]' EXEC sp_executesql @query END END CLOSE
c DEALLOCATE c ' CommandType: Text CommandTimeout: 0
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.50 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database aek90
High SecurityOnOperationCheck = False
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.50 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope (Database.Provision (WSS_Content_uitest on SQLSErver\database)). Execution Time=115148.4664
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.50 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology 8dyx
High Deleting the SPPersistedObject, SPContentDatabase Name=WSS_Content_uitest.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.56 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Topology bw4w
High [Forced due to logging gap, cached @ 12/18/2014 10:28:07.53, Original Level: Medium] {0}
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.56 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Database 8acb
High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.60 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope (Creating Content Database (WSS_Content_uitest on SQLServer\Database)). Execution Time=115311.5636
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.64 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Runtime tkau
Unexpected System.Web.HttpException: Request timed out.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.64 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
General ajlz0
High Getting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.
4deed69c-2f53-a086-14bb-cbf40b020025
12.18.2014 10:28:07.69 w3wp.exe (0x2304)
0x1B40 SharePoint Foundation
Micro Trace uls4
High Micro Trace Tags: 0 b4ly,301 aj2jl,3 aj2jk,0 aj2jl,2423 84y4,35 84y5,4 84y4,11 84y5,181 7t6o,2714 ajy0d,112321 fa45,10 fa46,3 tzku,23 tzkv,0 aek90,0 b4ly,6 8dyx,91 b4ly,38 tkau,13 ajlz0
4deed69c-2f53-a086-14bb-cbf40b020025
The working content database creation from powershell looks like this
12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade aj2jl
High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade aj2jk
High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jk DEBUG Setting Search ServerSequence version (guid '53d65723-a256-48d7-a477-1d3466089eef') to BuildVersion '15.0.4675.1000'
43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:37.52 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade aj2jl
High 12/18/2014 09:45:37.52 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade ServerSequence aj2jl DEBUG Search ServerSequence returns TargetBuildVersion '15.0.4675.1000' 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:39.98 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Topology 84y4
High Granting VIEW SERVER STATE permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Topology 84y5
High VIEW SERVER STATE permission updated successfully.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:40.02 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Topology 84y4
High Granting CONTROL SERVER permission for S-1-5-21-3747686279-3738247048-1854932723-1131.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:40.03 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Topology 84y5
High CONTROL SERVER permission updated successfully.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:40.23 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Database 7t6o
High The WSS_Content_powershelltest database does not exist. It will now be created.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:45:43.03 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade ajy0d
High 12/18/2014 09:45:43.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPUtility ajy0d DEBUG File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\sql\store.sql, Time
out = 0 sec 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:52.70 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Database 944r
High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, db_owner, in the database, WSS_Content_powershelltest.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:52.81 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope (Database.Provision (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=192653,1989
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:57.90 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade al2ph
High 12/18/2014 09:48:57.90 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.03 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade al2ph
High 12/18/2014 09:48:58.03 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.04 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade al2ph
High 12/18/2014 09:48:58.04 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPContentDatabaseSequence2 al2ph DEBUG Executing SQL DDL Script. 43dae8a1-02e3-43f5-8a06-0417221e6385
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.15 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Upgrade ajyw6
High 12/18/2014 09:48:58.15 powershell (0x2058) 0x1E28 SharePoint Foundation Upgrade SPHierarchyManager ajyw6 DEBUG [SPTree Value=SPContentDatabase Name=WSS_Content_powershelltest] added to dependency cache by lookup
43dae8a1-02e3-43f5-8a06-0417221e6385 43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.23 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Database 944r
High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.59 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Database bx4r
High All documents with forward links in content database [SPContentDatabase Name=WSS_Content_powershelltest] is being dirtied.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.97 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Database 944r
High Adding S-1-5-21-3747686279-3738247048-1854932723-1131 to the role, SPDataAccess, in the database, WSS_Content_powershelltest.
43dae8a1-02e3-43f5-8a06-0417221e6385
12.18.2014 09:48:58.98 PowerShell.exe (0x2058)
0x1E28 SharePoint Foundation
Monitoring b4ly
High Leaving Monitored Scope (Creating Content Database (WSS_Content_powershelltest on SQLSERVER\DATABASE)). Execution Time=198893,1578
43dae8a1-02e3-43f5-8a06-0417221e6385
The fact that i am able to create a content database through powershell sorts out permissions problems. I am certain of that because the w3wp.exe and the powershell.exe used for both creations were run under the same user.
The timeout always happens aroud 120 seconds after i started the creation. The creation via powershell takes about 3,5 minutes.
Here for the folks that ask me, why i haven't asked google or bing or some other search engine.
I tried the solutions suggested here
http://www.sharepointpals.com/post/Error-while-Creating-Web-Application-through-Central-Administration , here
http://anthonyspiteri.net/sharepoint-2010-web-ui-timeout-creating-web-application-quick-fix/ and here
http://blogs.ibs.com/Duane.Odum/Lists/Posts/Post.aspx?ID=33
which i thought pointed me to the right solution.
But those post unfortunatly didnt worked out.
I also tried to alter the web.config files (i know that isn't recommended or supported, but it didn't change anything so those are back to normal as well)
So here are my question:
Can you guys help me solve this issue?
Are there any other places where timeouts can be managed or defined?
P.S.: I am new to using this forum. so pls don't crucify me for doing a mistake.
P.S.S: My english is very poor also :D
With best regards
SimonBe careful with settings like these because there may be a much deeper issue at hand. I have had an issue with a customer that manifests itself as a timeout on a site collection. It was very hard to track since it didn't happen frequently. We engaged Microsoft
Support to find out the root cause but all they could point at is a general network issue that pertains to authentication. After digging deeper, we found out that the network issue was caused by a saturated network connectivity to the domain controller that
impacts a site collection when the database is making an authentication call. Keep this solution as more of a quick fix but be sure to conduct a deeper investigation of the real root cause
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
Blog |
Twitter | LinkedIn
SQL Server High Availability and Disaster Recover Deep Dive Course -
Sharepoint server 2013 configuration issue - failed to create configuration database
Hi All,
I have installed the SharePoint server 2013. After installing the SharePoint products, the configuration stops at failure of creating configuration database.
Some system configuration & info:
- 1 Domain controller server run Active Directory services on Windows server 2008 R2 SP1 (PC1 with name DC.Brainfiniti.com)
- 1 Server which is used for installing Sharepoint server 2013 and MS SQL server 2008 R2 SP1 (PC2 with name App.Brainfiniti.com)
- All of PCs were satisfied the requirement of Sharepoint server 2013
- Firewall turned off & No antivirus tool was installed.
- During installing of Sharepoint, choose "Complete" option: Farm mode and use SQL Server instead of SQL Express.
- During configuration, created a new farm with a domain user account.
- Use domain account to log on and install, configure in Sharepoint & SQL server (PC2)
ATTEMPTS:
1. Tried install and set up all of steps with just 1 account - domain administrator.
2. Tried with separate domain account:
- SQL Service account use for:
+ Install SQL server 2008
+ Connect all SQL services
+ Admin for SQL server
- Setup account use for:
+ Member of local administrator group in PC2
+ Install Sharepoint
+ Run Configuration wizard
+ Was granted permission in SQL database: dbcreator, securityadmin, sysadmin and deselect serveradmin role.
+ Was choose for the database account in configuration database step
Also tried with SQL service account in this step.
3. Tried with Standalone mode for Sharepoint installing
4. Trie with domain name: Brainfiniti.local
5. Tried with some another solution from topic relate to database configuration in our community but not successful.
But all attempts are failed at this configuration database step :'(
Please correct me if I am going wrong by missing something or do I need to start/install some services.
Screenshot Attached
Sorry! Cannot add screenshot because my account is still not verified. Will add later.
LOG ENTRY:
01/23/2013 06:58:28 1 INF Entering function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
01/23/2013 06:58:28 1 INF Found a task by the name of adminvs in the task collection
01/23/2013 06:58:28 1 INF Entering function TaskCommon.GenerateRandomUnUsedPort
01/23/2013 06:58:28 1 INF Entering function TaskCommon.EnsureIIs
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsIisInstalled
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Version of IIS is 7
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsIisInstalled
01/23/2013 06:58:28 1 INF Entering function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Version of IIS is 7
01/23/2013 06:58:28 1 INF Leaving function PreRequisiteChecks.IsRightVersionOfIis
01/23/2013 06:58:28 1 INF Entering function ServiceHelper.Start
01/23/2013 06:58:28 1 INF Trying to start service W3SVC and waiting 180 sec to do so
01/23/2013 06:58:28 1 INF service W3SVC is Running, nothing to do
01/23/2013 06:58:28 1 INF starting service W3SVC (it may already be started)
01/23/2013 06:58:28 1 INF Leaving function ServiceHelper.Start
01/23/2013 06:58:28 1 INF Leaving function TaskCommon.EnsureIIs
01/23/2013 06:58:28 1 INF Trying to see if port 40993 is free on machine APP. Min port we will try is 1024, Max port we will try is 49151
01/23/2013 06:58:30 1 INF A SocketException was thrown with
SocketError ConnectionRefused
01/23/2013 06:58:30 1 INF Connect has been refused for port 40993, so we will consider this a free port
01/23/2013 06:58:30 1 INF Have not found a free port yet. Number of tries is 1. Min port we will try is 1024, Max port we will try is 49151
01/23/2013 06:58:30 1 INF Adding port 40993 to the exclusion list so it is not chosen again during this run
01/23/2013 06:58:30 1 INF Leaving function TaskCommon.GenerateRandomUnUsedPort
01/23/2013 06:58:30 1 INF Leaving function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
I just post a part of its logs which contain "error" string because it's too long.
According this log, there is a error in port connection but i've turned firewall off ???
Please help me with this mix up :'(
p/s: sorry for my English!
Thanks,
Hien HoangBelow is the logs entry with "ERR" marked line:
01/23/2013 07:03:17 9 INF Now joining to farm at server app.brainfiniti.com database SharePoint_Config
01/23/2013 07:04:12 9 ERR Task configdb has failed with an unknown exception
01/23/2013 07:04:12 9 ERR Exception: System.Security.Principal.IdentityNotMappedException: Some or all identity references could not
be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ExceptionInfo for language English (United States)
01/23/2013 07:04:12 9 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.
Additional exception information: {1}
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ExceptionInfo for language English (United
States)
01/23/2013 07:04:12 9 INF Resource retrieved id ExceptionInfo is An exception of type {0} was thrown.
Additional exception information: {1}
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionMessage
01/23/2013 07:04:12 9 INF Leaving function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 ERR An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception
information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function Common.BuildExceptionInformation
01/23/2013 07:04:12 9 INF Entering function TaskBase.OnTaskStop
01/23/2013 07:04:12 9 INF Creating the OnTaskStop event for task configdb
01/23/2013 07:04:12 9 ERR Task configdb has failed
01/23/2013 07:04:12 9 INF friendlyMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 9 INF debugMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 9 INF Entering function TaskBase.FireTaskStateChanged
01/23/2013 07:04:12 9 INF Firing the OnTaskStateChanged event for task configdb
01/23/2013 07:04:12 9 INF Entering function TaskDriver.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName
for language English (United States)
01/23/2013 07:04:12 9 INF Resource retrieved id ConfigurationDatabaseTaskDisplayName
is configuration database
01/23/2013 07:04:12 9 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 9 INF Received an TaskStateEventHandler event. task:configdb TaskBase.State:stopped
01/23/2013 07:04:12 9 INF Entering function TasksQueue.IncrementTaskFailed
01/23/2013 07:04:12 9 INF Incremented the number of tasks failed to 1
01/23/2013 07:04:12 9 INF Leaving function TasksQueue.IncrementTaskFailed
01/23/2013 07:04:12 9 INF Task configdb has stopped and failed. Total failed is now 1
01/23/2013 07:04:12 9 INF Leaving function TaskDriver.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Entering function PsconfigBaseForm.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Invoking the UI thread with the task state chagne event
01/23/2013 07:04:12 1 INF Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
01/23/2013 07:04:12 1 INF Received an TaskStateEventHandler event. task:configdb
TaskBase.State:stopped TaskBase.TaskResultconfigdb
01/23/2013 07:04:12 1 INF Acquiring the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Releasing the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Acquiring the reader lock to retrieve the state
01/23/2013 07:04:12 1 INF Releasing the reader lock to retrieve the state
01/23/2013 07:04:12 1 ERR Task configdb has stopped and failed. Total failed
is now 1
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
disconnect
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter disconnect in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
connect
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter connect in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found value in collection for key
create
01/23/2013 07:04:12 1 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 1 INF Found parameter create in collection
01/23/2013 07:04:12 1 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 1 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 1 INF Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
for language English (United States)
01/23/2013 07:04:12 1 INF Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
is Failed to create the configuration database.
01/23/2013 07:04:12 1 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 1 INF Updating the task label below the progress bar Failed to
create the configuration database.
01/23/2013 07:04:12 1 INF Entering function FormParameterCollection.Add
01/23/2013 07:04:12 1 INF Leaving function FormParameterCollection.Add
01/23/2013 07:04:12 1 INF Last message from task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background
with our trademarked image
01/23/2013 07:04:12 1 INF Updating the task additional notification information below
the progress bar An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception information: Some or all identity references could not be translated.
01/23/2013 07:04:12 1 INF Leaving function ConfigurationProgressForm.InvokeTaskStateEventHandler
01/23/2013 07:04:12 9 INF Sleeping an extra 1 ms so things don't go too fast for the user for this
task
01/23/2013 07:04:12 1 INF Not running in high contrast, so we will paint the background with our
trademarked image
01/23/2013 07:04:12 9 INF Leaving function PsconfigBaseForm.TaskStateEventHandler
01/23/2013 07:04:12 9 INF Leaving function TaskBase.FireTaskStateChanged
01/23/2013 07:04:12 9 INF Leaving function TaskBase.OnTaskStop
01/23/2013 07:04:12 9 INF Leaving function TaskThread.ExecuteTask
01/23/2013 07:04:12 4 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 INF Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)
01/23/2013 07:04:12 4 INF Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database
01/23/2013 07:04:12 4 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 ERR Task configuration database failed, so stopping execution of the engine
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key disconnect
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter disconnect in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key connect
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter connect in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found value in collection for key create
01/23/2013 07:04:12 4 INF Leaving function CommandCollectionBase.Get
01/23/2013 07:04:12 4 INF Found parameter create in collection
01/23/2013 07:04:12 4 INF Leaving function Command.this[string key]
01/23/2013 07:04:12 4 INF Entering function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 INF Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language English
(United States)
01/23/2013 07:04:12 4 INF Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is Failed to create the configuration
database.
01/23/2013 07:04:12 4 INF Leaving function StringResourceManager.GetResourceString
01/23/2013 07:04:12 4 ERR Failed to create the configuration database.
An exception of type System.Security.Principal.IdentityNotMappedException was thrown. Additional exception information: Some or all identity references could not be translated.
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/23/2013 07:04:12 4 INF Entering function TaskDriver.NotifyTaskSummary -
How to create a database for sample code from Tutorial/Book?
I want to try out the sample code from [http://shop.oreilly.com/product/0636920013471.do] for the book SQL Pocket Guide 3rd Ed.
I have downloaded the oracle vm/appliance for oracle 11g2 and I have started sqlplus as sysdba.
I'm feeling overwhelmed with these links describing how to create a database:
[http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
[http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html]
[http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
(1) What is the command to list the existing databases?
(2) What is the command to delete an existing database?
(3) When creating a new database with the create database command, is it necessary to specify the logfile, character set, national character set, datafile, sysaux datafile, undo tablespace, temp table space? Do these have reasonable defaults? I'm not sure what proper directories are to specify for Linux and the examples are for windows.
Can someone give me a simplified create database command to create a database called 3rdEdPocketGuide? Should I follow the example at [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html] and instead of orcl use 3rdEdPocketGuide?
(4) What command do I use to execute the script that comes with the book SQL Pocket Guide 3rd Ed? This is the script that has all the drop table, create table and insert commands in it.
(5) What command do I use in sqlplus to set the current default database prior to running this script? Perhaps this is the connect command? I don't want my script to create tables in the system database.
(6) I tried the command "connect 3rdEdPocketGuide" and it prompted for a password! Yikes! What password? Do I need to specify a password when I create a database? I cannot tell if I have successfully created such a database or it is just prompting me for a password to thwart malicious users. Is it is possible to create databases which don't require a password or maybe a zero length password?
Thanks
Siegfried
Edited by: user8816970 on Sep 26, 2012 12:01 PM
Edited by: user8816970 on Sep 26, 2012 12:18 PMuser8816970 wrote:
Paul,
Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
username=sysdba
password=
I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
OK, sqlplus let me in with out a password, why does not this work?
So I try checking the box for "OS Authentication" and I get the same error!
Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
Everyone:
Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
OK, so I run sqlplus and issue these commands
create user siegfried identified by abc ;
grant connect to siegfried ;
connect siegfried/abc;
Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
So now I am connected in the "Oracle SQL Developer" and I see no list of databases.
Thanks!
Siegfried
>Paul,
Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
username=sysdba
password=
I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
OK, sqlplus let me in with out a password, why does not this work?
So I try checking the box for "OS Authentication" and I get the same error!
Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
Everyone:
Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
OK, so I run sqlplus and issue these commands
create user siegfried identified by abc ;
grant connect to siegfried ;
connect siegfried/abc;
above does NOT use SQL*Net to connect to the instance
>
Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
So now I am connected in the "Oracle SQL Developer" and I see no list of databases.SQL Developer can only connect to the instance via SQL*Net
>
Thanks!
Siegfrieda database in SQL Server is same as schema/user in Oracle -
How do i create multiple databases on the same unix box?
Hello experts.
Please send me some guidelines on how to create multiple databases on the same unix box and how to configure their startups including listeners.
Please also, list me the possible precautions to takes especially if the existing database is a production one!
thanks very much for you reply
Best Regards
YogeerajHello,
I tried the following:
svrmgrl> startup nomount pfile=I:\d01\oracle\admin\cmttest\pfile\init.ora
then
svrmgrl> CREATE DATABASE cmttest
LOGFILE 'i:\d01\oracle\oradata\cmttest\redo01.log' SIZE
1024K,'i:\d01\oracle\oradata\cmttest\redo02.log' SIZE 1024K
MAXLOGFILES 32
MAXLOGMEMBERS 3
MAXLOGHISTORY 1
DATAFILE 'i:\d01\oracle\oradata\cmttest\system01.dbf' SIZE 50M REUSE
MAXDATAFILES 254
MAXINSTANCES 1
CHARACTER SET WE8ISO8859P1
NATIONAL CHARACTER SET WE8ISO8859P1;
Then when i try to run both databases:
svrmgrl> set instance cmttest
ORA-12500: TNS: Listener failed to start a dedicated process
===================
I am doing something wrong.
please help
Regards
Yogeeraj -
I need Fusion help creating a demo of BRM JCA Resource Adapter
I need Fusion help creating a demo of BRM JCA Resource Adapter.
I know BRM well but am clueless with Fusion.
I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
My BRM docs say:
Installing the BRM JCA Resource Adapter ->
Software requirements
(yada yada install a bunch of BRM stuff I know how to do)
The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
(more yada yada about installing more BRM packages I know how to do)
Deploying and configuring the BRM JCA Resource Adapter ->
Overview of the BRM JCA Resource Adapter configuration procedure
The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
Deploying the BRM JCA Resource Adapter on an Oracle application server
The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
Application
JAR files
J2EE application server
classes12.jar, connector15.jar, and jta.jar
Oracle BPEL process
bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
BRM J2EE Resource Adapter
pcm.jar and pcmext.jar
Apache
xercesImpl.jar
If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
<imported-shared-libraries>
<import-shared-library name="adf.oracle.domain"/>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
Save and close the file.
Restart the application server or the J2EE instance.
After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
Remove the following oracle.bpel.common entry (shown in bold below):
<imported-shared-libraries>
<import-shared-library name="adf.oracle.domain"/>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
Save and close the file.
Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
<oc4j-connector-factories...>
<imported-shared-libraries>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
<oc4j-connector-factories>
Save and close the file.
Restart the application server or the J2EE instance.
For more information about deploying the adapter, see your application server’s documentation.
Connecting the adapter to BRM in Oracle AS
You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
Create as many connection factories as your system needs. For each connection factory, specify the following:
The JNDI location for the connection factory.
The connection pool to use.
How to connect to BRM by using these entries:
Entry
Description
ConnectionString
Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
DBNumber
Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
InputValidation
Specifies whether to validate the input XMLRecord:
True — The adapter validates the input XMLRecord against the opcode schema.
False — The adapter does not validate the input XMLRecord.
The default is False.
This overrides any other validation parameter specified in the WSDL file.
OutputValidation
Specifies whether to validate the output XMLRecord:
True — The adapter validates the output XMLRecord against the opcode schema.
False — The adapter does not validate the output XMLRecord.
The default is False.
This overrides any other validation parameter specified in the WSDL file.
LoginType
Specifies the authentication method:
1 — The adapter logs in to BRM by using the specified login name and password.
0 — The adapter logs in to BRM by using the specified service type and POID ID.
The default is 1.
UserName
Specifies the login name the adapter uses for logging in to the BRM software.
Note This entry is required only if LoginType is set to 1.
Password
Specify the password the adapter uses for logging in to the BRM software.
Note This entry is required only if LoginType is set to 1.
PoidID
Specifies the POID ID. This entry should be set to 1.
ServiceType
Specifies the service the adapter uses to log in to the BRM software.
The default is /service/pcm_client.
You have successfully configured the adapter to connect to BRM.I need Fusion help creating a demo of BRM JCA Resource Adapter.
I know BRM well but am clueless with Fusion.
I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
My BRM docs say:
Installing the BRM JCA Resource Adapter ->
Software requirements
(yada yada install a bunch of BRM stuff I know how to do)
The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
(more yada yada about installing more BRM packages I know how to do)
Deploying and configuring the BRM JCA Resource Adapter ->
Overview of the BRM JCA Resource Adapter configuration procedure
The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
Deploying the BRM JCA Resource Adapter on an Oracle application server
The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
Application
JAR files
J2EE application server
classes12.jar, connector15.jar, and jta.jar
Oracle BPEL process
bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
BRM J2EE Resource Adapter
pcm.jar and pcmext.jar
Apache
xercesImpl.jar
If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
<imported-shared-libraries>
<import-shared-library name="adf.oracle.domain"/>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
Save and close the file.
Restart the application server or the J2EE instance.
After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
Remove the following oracle.bpel.common entry (shown in bold below):
<imported-shared-libraries>
<import-shared-library name="adf.oracle.domain"/>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
Save and close the file.
Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
<oc4j-connector-factories...>
<imported-shared-libraries>
<import-shared-library name="oracle.bpel.common"/>
</imported-shared-libraries>
<oc4j-connector-factories>
Save and close the file.
Restart the application server or the J2EE instance.
For more information about deploying the adapter, see your application server’s documentation.
Connecting the adapter to BRM in Oracle AS
You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
Create as many connection factories as your system needs. For each connection factory, specify the following:
The JNDI location for the connection factory.
The connection pool to use.
How to connect to BRM by using these entries:
Entry
Description
ConnectionString
Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
DBNumber
Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
InputValidation
Specifies whether to validate the input XMLRecord:
True — The adapter validates the input XMLRecord against the opcode schema.
False — The adapter does not validate the input XMLRecord.
The default is False.
This overrides any other validation parameter specified in the WSDL file.
OutputValidation
Specifies whether to validate the output XMLRecord:
True — The adapter validates the output XMLRecord against the opcode schema.
False — The adapter does not validate the output XMLRecord.
The default is False.
This overrides any other validation parameter specified in the WSDL file.
LoginType
Specifies the authentication method:
1 — The adapter logs in to BRM by using the specified login name and password.
0 — The adapter logs in to BRM by using the specified service type and POID ID.
The default is 1.
UserName
Specifies the login name the adapter uses for logging in to the BRM software.
Note This entry is required only if LoginType is set to 1.
Password
Specify the password the adapter uses for logging in to the BRM software.
Note This entry is required only if LoginType is set to 1.
PoidID
Specifies the POID ID. This entry should be set to 1.
ServiceType
Specifies the service the adapter uses to log in to the BRM software.
The default is /service/pcm_client.
You have successfully configured the adapter to connect to BRM.
Maybe you are looking for
-
Translation date from billing document
Hello, We are setting up currencies in our system and i am facing a problem with conversion date used for posting documents. The client would like to use the pricing date (set in VBRP-PRSDT) as conversion date. I have checked taht conversion date typ
-
My iSight, upon starting photobooth, flickers bright green for about 1 second, and then produces the normal picture. I assume that this is just the camera calibrating itself based on the light conditions in the room, but I wanted to be sure. Is it no
-
What is the use of the reference code they give you when you submit your Mac OS X ML Up to Date Program?
-
Is it possible to load programs ont stream 7 using an external CD drive?
Is it possible to loa programs to the Stream 7 from an external CD drive? This question was solved. View Solution.
-
Earlier this year my computer suffered a corruption of the video card on my Dell Inspiron. This involved a need to reinstall Windows 7. Following this itunes re-installed and imported my library perfectly. I syncronized my ipod and all seemed well. S