Create second database in unix
Hi, I am trying to create a second database in Oracle 10g in solaris 10. I know i need to set up the ORACLE_SID
i have 2 questions.
if i set up ORACLE_SID, am i orverwriting the current ORACLE_SID? or i am just creating another one.
another question, when i do setenv ORACLE_SID catdb
the command failed, it tells me setenv not found.
thanks.
create database catdb
2 logfile group1 ('/data/oradata/catdb/redo1.log') size 10M,
3 group 2 ('/data/oradata/catdb/redo2.log') size 10M,
4 group 3 ('/data/oradata/catdb/redo3.log') size 10M
5 datafile '/data/oradata/catdb/dbcatdb.dbf'
6 size 80
7 autoextend on next 8M maxsize unlimited extent management local
8 sysaux datafile '/data/oradata/catdb/sysaux.dbf'
9 size 16M
10 autoextend on next 4M maxsize unlimited
11 undo tablespace undo
12 default '/data/oradata/catdb/undo.dbf'
13 size 10M
14 default temporary tablespace temp
15 tempfile '/data/oradata/catdb/temp.dbf'
16 size 10M;
it tells me invalid option line 2
any idea? Thanks.
Similar Messages
-
Hi Experts,
We have 4 nodes oracle 11.1 RAC with oracle 10g2 DATABASE with ASM in redhat5.1.
the system is not more file system
now my boss want to add additional file system and ask me to create new database in RAC.
My question is which is best to create new database?
1) create second database under existing oracle server.
in these way, which bad effection is for existing DB that support a heavy data loading, GIS application and stream (data replication)
How to configure new ASM for new database? are there two ASM instance in system?
or
2) install new oracle in new directory. configure new ASM and create new database as ASM in new directory.
In this case, it seems that two DB is total separately without touch each other.
I do not have idea.
Please advice me your experience for RAC to handle two or more database and any tips.
JIMuser589812 wrote:
Hi Experts,
We have 4 nodes oracle 11.1 RAC with oracle 10g2 DATABASE with ASM in redhat5.1.
the system is not more file system
now my boss want to add additional file system and ask me to create new database in RAC.Do I understand this correctly? The intention is to create a 2nd RAC database on existing RAC cluster?
Why?
This is not how RAC scales. RAC scales by adding more servers to the cluster, thereby increasing the processing capacity of the cluster. RAC does not scale by adding more instances to a server node.
You want to pay once for the overheads of a database instance. You want to have a single large SGA for the instance to use - as it is better than having 2 smaller SGAs for 2 instances. You want pay, in bytes, once for a system tablespace, temp tablespace, undo tablespace and redo/undo logs. You want to pay once in memory and CPU for a set of system processes for that instance - a database writer, log writer, system and process monitors, etc.
It does not make sense to pay twice for any of these. 2 system monitor processes are not somehow better than one. 2 smaller SGA are not better than 1 large SGA. 2 sets of ASM instances do not provide a better service than a single ASM instance.
My question is which is best to create new database?Create a logical database - within Oracle that means you create a new schema. That schema is a logical database. It can have its own tablespaces. It can have its own resource profile. t can even have its own temp space, etc.
1) create second database under existing oracle server.Correct - this is what I refer to as a schema.
in these way, which bad effection is for existing DB that support a heavy data loading, GIS application and stream (data replication)
How to configure new ASM for new database? are there two ASM instance in system?Single ASM instance.
or
2) install new oracle in new directory. configure new ASM and create new database as ASM in new directory.
In this case, it seems that two DB is total separately without touch each other.No. As this is exactly how one does not scale Oracle. Remember that if you want a 2nd set of instances, you need to use existing memory and CPU top pay for the overheads of that.. which means you will be taking away from the existing instance. Why turn the existing instance into something less than what it was before in order to create another (also inferior) instance?
No, it is better to add to the existing instance instead... rather add a logical database to it. Rather add more space, more memory, more RAC nodes to it.. as that is how Oracle RAC scales. -
Exception while creating a DataBase Connection (Unix)
Hello Friends,
I am Trying to create a DataBase Connection using OCI in java on UNIX Platform, but it gives an error message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1542)
at java.lang.Runtime.loadLibrary0(Runtime.java:795)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at TestDBConn.<init>(TestDBConn.java:16)
at TestDBConn.main(TestDBConn.java:35)
I have also checked my environment variables which seems to be correct, just have a look:
$ echo $ORACLE_HOME
/oratest/ora/proddb/9.2.0
$ echo $CLASSPATH
/oratest/ora/proddb/9.2.0/jdbc/lib
$ echo $LD_LIBRARY_PATH
/oratest/ora/proddb/9.2.0/lib
Please help in solving this problem...
Thanks in Avance,
AnkurYes dear there three file under LD_LIBRARY_PATH:
1. libocijdbc9.a
2. libocijdbc9.sl
3. libocijdbcst9.a
Please provide me the solution...
Regards,
Ankur -
How to create second database at ASM in 4 node RAC system
Hi Experts,
we use 4 nodes RAC (11.0.1) with 10.2.0. 4 database in red hat5.0
we want to add second database at ASM in RAC system based on manager decision.
how do I add second database in ASM with exist database?
Do I need to created new ASM insatnce?
how to create two new diskgroup? is it under existing ASM instance or new ASM instance?
how to reset ASM properity to support ( or new) ASM instance and two database?
Do I need to configure AMS again after added more space into ASM?
I could not find ducument that add seconf database into ASM in RAC system.
I want add second database by dbca. any experience for add second database in ASM RAC ?
Thanks for help!
JImHi... I'm in the same situation.
I need to add a new second database on a RAC installation based on already available ASM instance.
I'm using 11gR2.
I read your suggested documentation. Then I typed asmca and analyzed my asm configuration:
As you can see I have a DISK GROUP NAME with several FREE space.
!http://img522.yfrog.com/img522/8405/dbca20100203173248.jpg!
If I select Volumes tab the following is my current configuration:
!http://img682.yfrog.com/img682/562/dbca20100203173343.jpg!
Selecting Create button, I can insert some values as you can see:
!http://img403.yfrog.com/img403/9889/dbca20100203173403.jpg!
First question:
Is this the right way to create space for a new database ? Consider that running dbca.. no DISK GROUP NAME is available.
Second question:
When I created my first database on this DISK GROUP NAME no volumes were created. Why now I have to do it ? Is this necessary to really separate datafiles coming from different databases ? -
Who can kindly give me the full scripts to create oracle9i database in UNIX
Who can kindly give me the full scripts to create oracle9i database(and instance) in UNIX Aix?
Thanks so muchCheck this:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#ADMIN002
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#1003614 -
Paraller Query Server Error while creating the database using DBCA on UNIX
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish Sharmauser12104101 wrote:
Hi All,
I am try to create the database on UNIX PLATFORM database 11g R1.
At the end of database creation using DBCA i got the errors:
ORA-12801:error signaled in parallel query server P077
ORA-00018: maximun number of sessions exceeded
ORA-06512:at"SYS.UTL_RECOMP",line 760
ORA-06512:at"SYS.UTL_RECOMP",line 773
ORA-06512:at line 1
Please suggest what can i do to remove this issue.
Regards
Girish SharmaIncrease value of SESSIONS(also processes) parameter as
sqlplus "/as sysdba"
show parameter sessions
alter system set sessions =<new big value> scope=spfile;
shutdown immediate;
startup; -
SQLException occurs in getConnection to the Second Database
Hello all!
I have posted this earlier and apparently no one is able to reply. I need some answers regarding this matter. We are currently doing a project in one of our clients.
Right now, our team has created second database in our server, we now have two databases, one is in port 1521 and the new one is in port 1526. We need to access our 2nd database named SWITCHDB. Unfortunately, we are encountering the following error in our test program:
java.sql.SQLException: No more data to read from socket
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(Compiled Code)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java)
at oracle.jdbc.ttc7.TTIpro.receive(TTIpro.java)
at oracle.jdbc.ttc7.v8TTIpro.receive(v8TTIpro.java)
at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at com.weserv.ibo.reports.TestSwitch.setConnection(TestSmsDb.java:40)
at com.weserv.ibo.reports.TestSwitchDb.main(TestSmsDb.java:122)
The error occurs in the following lines:
Connection connection = DriverManager.getConnection(DATABASE, USERNAME, PASSWORD);
where:
DATABASE = jdbc:oracle:thin:@Victoria:1526:SWITCHDB
USERNAME = switch
PASSWORD = switch
DRIVER = oracle.jdbc.driver.OracleDriver
We searched through this forum as well and we followed the advice to get the latest classes111.zip and put it in our classpath. Unfortunately, the error remains the same. Even if we changed our classes111.zip to classes12.zip, still the error is the same. =(
We are using Oracle 8i and Sun Solaris. We don't have any idea right now on how to go through this scenario. We could still connect to the first database and have the usual transactions without encountering any errors, but not when we connect in the second database. How is that? Are we missing some things?
Please feel free to reply. I would really appreciate it to state your views and advices.
Thanks you so much.
Regards,
RonronI make multiple database connections all the time with this code, perhaps you can try it. If it still does'nt work then perhaps your second database is not configured properly. In that case, compare the two databases for differences:
try
Connection conn = null;
String host= "serverip:1526"; //server ip address : portnumber
String sid = "SWITCHDB"; //use the db's SID
String user = "Victoria";
String pwd = "VicsPassword";
//Register driver, make sure you have installed correct drivers.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//Get thin connection
String thin = "jdbc:oracle:thin:@" + host + ":" + sid;
conn = DriverManager.getConnection(thin,user,pwd);
catch(SQLException se)
se.printStackTrace(); -
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 -
How to create a DBlink from oracle database on unix to sqlserver
Hi
I need to create a database link from oracle database on solaris machine to sqlserver database.I found that the database link cannot be created from oracledatabase 10g to microsoft sqlserver.So i am planning to go for another windows server where i can pull this data from sqlserver to oracle 10g database on windows and then from windows to unix.
Can you explain me how can i create a database link from orace 10g on windows to sqlserver.HI
Thanks for your response.
But the thing is i am looking whether if u can create a database link from oracle to sqlserver from unix.If that's the case what is the driver i require and if not how can i do it ?
I am ready to create a intermediate windows server where i can pull the table temporarily and then from there to unix box.
If i can do it windows how can i achieve that.
Thanks -
Hi experts,
One of the unix server already has database i.e orcl, if i want to create new database do i have to configure the semophores and share segment again. Please help creating new database which already has a database in it, what are measures to be taken in the unix server
ThanksHi,
##Please help creating new database which already has a database in it, what are measures to be taken in the unix server
Just invoke DBCA and create the new database. it is advisable to create and use templates as per your requirements.
Thanks
--Raman -
Create a second database from an existing ORACLE_HOME
DB Version:11.1.0.6.0
OS : AIX
We have a database running for an OLTP test environment. We need to create another database of same version (11.1.0.6.0) for Datawarehousing needs. The init.ora parameter are going to be different for this. So we need to create another database.
We are having some issues with dbca due to some JAVA related errors. So, we need to use the 'CREATE DATABASE' statement.
This is what i am going to do.
1. create an init.ora file for the new db and copy it to $ORACLE_HOME/dbs
2. Set the env variables
export ORACLE_HOME=/u01/oracle/product/11.1.0/db_1
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID= <sid of the database which i am going to create>
3.
sqlplus / as sysdba
SQL> startup nomount pfile=$ORACLE_HOME/dbs/initora318.ora
4. Copy, Paste the Create Database statement.
Are these steps right?
I know that Enterprise Manager would not be configured using this method. But configuring EM shouldn't be a complex exercise.Right?
Edited by: N.Page on 11-Sep-2009 00:28Just a small note: You can save "database create scripts" from dbca in any other system(use the same main version please) if your db server has issues. In this way you can get the original scripts and you wont forget any steps...
-
How can i create a second database
i installed and created a oracle 10g database. now i want to create another database on the same server. is there any utility on linux i can use? or only the command line option there?
DBCA!!
-
ORA:00205 fro the second database
Thanks to all your suggestions, I finally got it. I tried to run dbca remotely and I think that's why I didn't get the GUI. So I installed a VNC server to view the remote server's desktop . The re I ran dbca ,created a second database successfully.
Now I have a question. How to get connected to the second database without affecting the first one. I typed startup command from sqlplus. It said ORA:00205 --control files not found errror . But I have the correct path of the control files in my
$ORACLE_HOME/dbs/initorcl2.ora (ex: /oracle/product/10.2.0/oradata/orcl2/control01,
/oracle/product/10.2.0/oradata/orcl2/control01,
/oracle/product/10.2.0/oradata/orcl2/control01,
Where doed it look for the control file parameter. In the init.ora file or initorcl2.ora??
Or do I have start the instance first for the second database. How?
Please let me know.
Thanks.which OS do you use,windows or unix?
-
Configuration of second database
Hello
I want to add second oracle instance to my already
instance, I am running oracle 8 in NT envorinment. Please
tell me also how to access second instance while first
instance is running.
Please also tell me how to configure and run second
instance in Unix Sco platform.
Thanks
qaiserWhat do you mean by second instance?
Second instance of the same database or another instance pointing to a new database.
If you want another instance instance of the same database, you need to have the parallel server option. Typically, you don't have a second instance of the same database in the same machine.
If you want a new database, the use database configuration assitant to create a new database. You can start the new instance by the follwing way.
At command promt, type:
svrmgrl
connect internal/oracle
startup pfile=<pfile name with full path>
Hope this helps,
Raghu. -
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
Maybe you are looking for
-
Bitlocker drive informs me I need a newer version of windows
Hi people, I went to bed last night with a reasonably happy computer, came down this morning and one of my drives wouldn't unlock, giving me a message saying that "The BitLocker encryption on this drive isn't compatible with you version of windows. T
-
Stock In Transit In IM (MMBE) Not Showing in WM
Hi SAP Experts, The user used VLMOVE in moving the material from storage location to storage location using movement type 313. The destination storage location is in a different warehouse. In IM, it posted in the transfer storage location or stock in
-
My save as window will not open.
I am using the trial version on a new computer. The operating system is windows 7 starter addition. When I edit pictures in adobe and press file save as I do not get a dialog box. If I just try to save the picture I get as error message that says:
-
Error message when trying to publish iWeb
I am getting the following error message when I try to update my Blog: An error occurred while publishing file "/Web/Sites/iWeb/The Drytown Project/Blog/Blogfiles/navbar_separator0.png". What do I do to fix?
-
'Not enough memory' error using Music Manager with...
When I connect my brand new 6300 to my PC, and try to copy an mp3 onto the phone (either C: phone or E: memory card (128Mb)) the software says 'There is not enough memory in the phone.' This is a lie as the phone is brand new and I have put nothing o