Create a database
how can i create a new database in oracle 10g Ex
thanks
Use DBCA - Database Creation Assistant. There are other ways, but seeing as how you need to ask, they are probably beyond the scope of your abilities at this time - they require a fair amount of knowledge about the features, options, and prerequisites some of them have..
Similar Messages
-
Is there a way to create a database with Test Stand?
Anyone know of a way to have Test Stand create a database? My company standard MS Office suite is Microsoft Access 2010, and TestStand does not support the .accmdb extension type(format), so I have to create new databases using old formats. I'm worried about backwards compatability down the road since good ole Microsoft doesn't seem to care about legacy formats.
I'm still a beginner with databasing, so any suggestions would be greatly appreciated.TestStand 2012 SP1, and we are using a modified Generic Recordset (NI). The problem we are having right now is that the Build SQL instructions are not creating the database tables the way we are configuring them from the "Statements" and "Column/Parameters" tabs under Database Options.
What is happening is when we validate the schema, and drop all schema tables, it empties all the database tables, but then when you build using the TestStand generated sql file, we get errors(shown below) we are not understanding, and we can no longer write to the database and LabVIEW throws a "Data type mismatch in criteria expression" error like this
"Possible reason(s):
ADO Error: 0x80040E07
Exception occured in Microsoft JET Database Engine: Data type mismatch in criteria expression. in NI_Database_API.lvlib:Conn Execute.vi->TSData - Query Actions.vi->Retrieve Test Data.vi->ARA-63 Data Miner.vi->ARA-63 Data Miner.vi.ProxyCaller"
==================================================================================================== > CREATE TABLE UUT_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STATION_ID VarChar(255), BATCH_SERIAL_NUMBER VarChar(255), TEST_SOCKET_INDEX Long, UUT_SERIAL_NUMBER VarChar(255), USER_LOGIN_NAME VarChar(255), START_DATE_TIME DateTime, EXECUTION_TIME Double, UUT_STATUS VarChar(32), UUT_ERROR_CODE Long, UUT_ERROR_MESSAGE VarChar(255), PART_NUMBER VarChar(255), TSR_FILE_NAME VarChar(255), TSR_FILE_ID VarChar(64), TSR_FILE_CLOSED Bit, PART_NAME VarChar(255), PRG VarChar(255), Comment VarChar(255), Operator VarChar(255)) Command issued.
> CREATE TABLE STEP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, UUT_RESULT Long, STEP_PARENT Long, ORDER_NUMBER Long, STEP_NAME VarChar(255), STEP_TYPE VarChar(255), STEP_GROUP VarChar(32), STEP_INDEX Long, STEP_ID VarChar(32), STATUS VarChar(255), REPORT_TEXT VarChar(255), ERROR_CODE Long, ERROR_MESSAGE VarChar(255), CAUSED_SEQFAIL Bit, MODULE_TIME Double, TOTAL_TIME Double, NUM_LOOPS Long, NUM_PASSED Long, NUM_FAILED Long, ENDING_LOOP_INDEX Long, LOOP_INDEX Long, INTERACTIVE_EXENUM Long, CONSTRAINT STEP_RESULT_FK FOREIGN KEY (UUT_RESULT) REFERENCES UUT_RESULT (ID)) Command issued.
> CREATE TABLE STEP_SEQCALL ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, SEQUENCE_NAME VarChar(255), SEQUENCE_FILE_PATH LongText, CONSTRAINT STEP_SEQCALL_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command issued.
> CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH LongText, CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA Double, FORMATTED_DATA VarChar(255), CONSTRAINT STEP_NUMERICLIMIT1_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command issued.
> CREATE TABLE PROP_NUMERICLIMIT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, COMP_OPERATOR VarChar(32), HIGH_LIMIT Double, LOW_LIMIT Double, UNITS VarChar(255), STATUS VarChar(255), HIGH_LIMIT_FORMATTED VarChar(255), LOW_LIMIT_FORMATTED VarChar(255), CONSTRAINT STEP_NUMERICLIMIT2_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
> CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH VarChar(255), CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA VarChar(255), FORMATTED_DATA VarChar(255), CONSTRAINT PROP_MULTINUMERICLIMIT1_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID), CONSTRAINT PROP_MULTINUMERICLIMIT1_FK FOREIGN KEY (PROP_PARENT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_RESULT' already exists. (-2147217900)
> CREATE TABLE PROP_NUMERICLIMIT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, COMP_OPERATOR VarChar(32), HIGH_LIMIT Double, LOW_LIMIT Double, UNITS VarChar(255), STATUS VarChar(255), HIGH_LIMIT_FORMATTED VarChar(255), LOW_LIMIT_FORMATTED VarChar(255), CONSTRAINT PROP_MULTINUMERICLIMIT2_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_NUMERICLIMIT' already exists. (-2147217900)
> CREATE TABLE PROP_RESULT ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, STEP_RESULT Long, PROP_PARENT Long, ORDER_NUMBER Long, NAME VarChar(255), PATH VarChar(255), CATEGORY Long, TYPE_VALUE Long, TYPE_NAME VarChar(255), DISPLAY_FORMAT VarChar(32), DATA VarChar(255), FORMATTED_DATA VarChar(255), CONSTRAINT PROP_RESULT_FK FOREIGN KEY (STEP_RESULT) REFERENCES STEP_RESULT (ID)) Command failed with the following error...: Table 'PROP_RESULT' already exists. (-2147217900)
> CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_T DateTime, DELTA_T Double, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_ANALOGWAVEFORM_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
> CREATE TABLE PROP_DIGITALWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_T DateTime, DELTA_T Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), TRANSITIONS LongBinary, DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_DIGITALWAVEFORM_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued.
> CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_IVIWAVE_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_ANALOGWAVEFORM' already exists. (-2147217900)
> CREATE TABLE PROP_ANALOGWAVEFORM ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, INITIAL_X Double, DELTA_X Double, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, ATTRIBUTES LongText, CONSTRAINT PROP_IVIWAVEPAIR_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command failed with the following error...: Table 'PROP_ANALOGWAVEFORM' already exists. (-2147217900)
> CREATE TABLE PROP_BINARY ( ID COUNTER CONSTRAINT TABLE_CONSTRAINT PRIMARY KEY, PROP_RESULT Long, UPPER_BOUNDS VarChar(32), LOWER_BOUNDS VarChar(32), DATA_FORMAT VarChar(32), DATA LongBinary, CONSTRAINT PROP_BINARY_FK FOREIGN KEY (PROP_RESULT) REFERENCES PROP_RESULT (ID)) Command issued. -
ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES
I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
Probando...
Fallo.
SQL Exception
Error del repositorio: Excepción SQL.
Nombre de la Clase: CacheMediator.
Nombre del Método: getDDEntryFromDB.
Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
ORA-02063: preceding 2 lines from PRUEBA_SEH
As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????Right places to ask this question are
Heterogeneous Connectivity
Warehouse Builder -
ERROR WHILE CREATING A DATABASE LINK TO INFORMIX
I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
Probando...
Fallo.
SQL Exception
Error del repositorio: Excepción SQL.
Nombre de la Clase: CacheMediator.
Nombre del Método: getDDEntryFromDB.
Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
ORA-02063: preceding 2 lines from PRUEBA_SEH
As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????Right places to ask this question are
Heterogeneous Connectivity
Warehouse Builder -
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 -
Unable to create mail database
okay, I had 4 hard drives fail at once on my Storage Server,
Lost the VHD for my Exchange VM
Created a new VM, recovered Exchange 2010 SP3 using setup /m:recoverserver
Didn't appear to have any errors until it was time to mount the database, database wouldn't mount.
Tried to create a new database, getting Error 5000.
When I looked under Exchange\V14\mailbox, I can't actually find a copy of my mail database, so, I am not able to mount because I can't actually create a good mail database.
When I try to create a mail database, I get these errors
From EMC
AcmeMail2
Failed
Error:
Couldn't set the System Attendant for database "AcmeMail2".
The requested search root 'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant' is not within the scope of this operation. Cannot perform
searches outside the scope 'Acmenet.local/MyBusiness'.
Warning:
An error occurred while trying to prepopulate newly created mailbox "/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" in database "AcmeMail2" on server "Acme".
"/o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=SystemMailbox{22655608-c412-4e60-baa3-4d716ab38f20}" may not immediately be available for certain cmdlets and operations until it has replicated. If you need to run the
cmdlet again, and you want more information about the error, please add the -Verbose parameter. Error: 0x8004010F.
Exchange Management Shell command attempted:
new-mailboxdatabase -Server 'Acme' -Name 'AcmeMail2' -EdbFilePath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb' -LogFolderPath 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2'
From the Application Log
Event ID 5000
Failed to save admin audit log for this cmdlet invocation.
Organization:
Log content:
Subject: Acmenet.local/Users/Administrator : New-MailboxDatabase
Body:
Cmdlet Name: New-MailboxDatabase
Object Modified: AcmeMail2
Parameter: Server = Acme
Parameter: Name = AcmeMail2
Parameter: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
Parameter: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: OrganizationId =
Property Modified: Id = AcmeMail2
Property Modified: DataMoveReplicationConstraint = None
Property Modified: RawName = AcmeMail2
Property Modified: RpcClientAccessServerExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme
Property Modified: Server = Acme
Property Modified: LogFilePrefix = E01
Property Modified: LogFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: SystemFolderPath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2
Property Modified: AdminDisplayName = AcmeMail2
Property Modified: ExchangeLegacyDN = /o=Acme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Acme/cn=Microsoft Private MDB
Property Modified: EdbFilePath = C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\AcmeMail2\AcmeMail2.edb
Property Modified: DisplayName = AcmeMail2
Property Modified: MasterServerOrAvailabilityGroup = Acme
Property Original: OrganizationId =
Property Original: Id =
Property Original: DataMoveReplicationConstraint = SecondCopy
Property Original: RawName =
Property Original: RpcClientAccessServerExchangeLegacyDN =
Property Original: Server =
Property Original: LogFilePrefix =
Property Original: LogFolderPath =
Property Original: SystemFolderPath =
Property Original: AdminDisplayName =
Property Original: ExchangeLegacyDN =
Property Original: EdbFilePath =
Property Original: DisplayName =
Property Original: MasterServerOrAvailabilityGroup =
Caller: Acmenet.local/Users/Administrator
Succeeded: False
Error: System.InvalidOperationException: Couldn\'t set the System Attendant for database \"AcmeMail2\". ---> Microsoft.Exchange.Data.Directory.ADOperationException: The requested search root \'Acmenet.local/Configuration/Services/Microsoft Exchange/Acme/Administrative
Groups/Exchange Administrative Group (FYDIBOHF23SPDLT)/Servers/Acme/Microsoft System Attendant\' is not within the scope of this operation. Cannot perform searches outside the scope \'Acmenet.local/MyBusiness\'.\r\n at Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String
preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)\r\n at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request,
ADObjectId originalId, Boolean emptyObjectSessionOnException)\r\n at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties)\r\n at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable
instance)\r\n at Microsoft.Exchange.Management.SystemConfigurationTasks.NewMailboxDatabase.SetSystemAttendantObject(MailboxDatabase database)\r\n --- End of inner exception stack trace ---
Run Date: 2014-04-04T19:48:39
OriginatingServer: Acme (14.03.0123.002)
Error:
Exception thrown during AdminLogProvisioningHandler.Validate: Microsoft.Exchange.Data.Storage.ObjectNotFoundException: The discovery mailbox, a hidden default mailbox that is required to search mailboxes, can't be found. It may have been inadvertently deleted.
This mailbox must be re-created before you can search mailboxes.
at Microsoft.Exchange.Data.Storage.Infoworker.MailboxSearch.MailboxDataProvider.GetDiscoveryMailbox(ADRecipientSession session)
at Microsoft.Exchange.Management.SystemConfigurationTasks.AdminAuditLogHelper.CheckArbitrationMailboxStatus(OrganizationId organizationId, ADUser& user, ExchangePrincipal& principal, String& errorMessage)
And Event ID 3154
Active Manager failed to mount database AcmeMail on server Acme.Acmenet.local. Error: An Active Manager operation failed. Error The database was never mounted..
On the Domain Controller, I have run setup /prepareAD several times
Any suggestions?
Don Miller Network Administrator Teton Machine CompanyIn the case,
the VM is hosted on the Host machine's local drive, the VHD is too.
I created this database about an hour ago (there still isn't a database or log file that has been created), but when I try to mount it manually, I am getting this error
Microsoft Exchange Error
Failed to mount database 'acme'.
acme
Failed
Error:
Couldn't mount the database that you specified. Specified database: acme; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred
during a database operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database:
acme, Server: acme.acmenet.local].
An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database
'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'. [Database: acme, Server: acme.acmenet.local]
An Active Manager operation failed with a transient error. Please retry the operation. Error: An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find
the path specified) from Windows API 'FindFirstFile'. [Server: acme.acmenet.local]
An error occurred while preparing to mount database 'acme'. Error: An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'.
An I/O error occurred while attempting to enumerate log files. Error 0x3 (The system cannot find the path specified) from Windows API 'FindFirstFile'
Don Miller Network Administrator Teton Machine Company -
Error creating a database on oracle9i
I have win2k server SP2 with 30 Gb and 1.7Gb RAM.
I installed oracle9i software Ok.
But when I create a database an error appears in dbca (read or write error), I tried first a general purpose database, after I tried a new database with less options but the same error appears.
I also tried create sql scripts and run manually de creation of the database, but it says that is not connected to oracle.
In a .trc file a found this text:
*** SESSION ID:(7.3) 2002-06-14 16:08:21.000
ORA-01501: CREATE DATABASE ha fallado // failed to create the database
ORA-01990: error al abrir el archivo de contrase?as 'C:\oracle\ora90\DATABASE\PWDaiac.ORA'
// error on open passwords file
ORA-27041: no se ha podido abrir el archivo
// cannot open file
OSD-04002: no se ha podido abrir el archivo
// cannot open file
O/S-Error: (OS 2) El sistema no puede hallar el archivo especificado.
// the system cannot find the file specified
Any idea?
ThanksNo schemas have been created.You should at least have the defaults schema SYS and SYSTEM, isn't it ?
Well, you can read the documentation about import :
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#SUTIL002
Then comeback for further question.
Nicolas. -
How do I create multiple databases on the same ORACLE_HOME
Hi,
I would like to know how can I create 2 databases on the same ORACLE_HOME? Also is it possible to start both databases at the same time?
When I installed oracle,a directory named database has been created under ORACLE_HOME, which contains all initorc1.ora ,etc ?
At this point how do I create another database named orc2 on the same machine?
Thanks in advance.
winnie philip.Hi,
Set the oracle_sid=db1
Now rename your init.ora to init<oracle_sid>.ora in $oracle_home/dbs directory.
Change the db_name parameter to appropriate name in the init<oracle_sid>.ora file.
Now create the database.
In the same fashion create another database with the new database name and different oracle_sid
Now in order to switch between the databases.
Change the env variable Oracle_Sid to the value of the database which you wanted to start.
Regards
Anand -
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 -
Not able to create a database link using the database gateway of oracle 11g
HI,
While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
These are the steps i have followed for setting up:
1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
LISTENER_SQL_FCD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
SID_LIST_LISTENER_SQL_FCD =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
(PROGRAM=dg4msql)
3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
dg4msql=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
5. Created the database link :
create database link dblink
connect to "sa" identified by "<pswd>"
using 'dg4msql'
On running :select * from test1@dblink i get the following error:
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
Is there any issue with the set or definition that I get the above error?What is the version of the Oracle database in which you have specified/and use the database link?
If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
Regards,
Ed -
How do i create a database template from the command line?
Hi,
As part of implementing a backup and recovery strategy for a client (including disaster recovery) I want to automate the creation of a database template From an Existing Database (Structure as well as data) via a script that will run every night.
The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
The idea is that nightly we will run a script that creates a database template from the Existing Database (Structure as well as data) and then transfers the 2 files involved e.g. DB_data_included.dbc and DB_data_included.DFB across to a standby server where they can be used to recreate the database in the event of us needing to after e.g. a complete server failure.
So I have a couple of questions about this that I would be very grateful if something could answer for me:
1) Is it possible? That is, can a database template be created from some utility by supplying a series of parameter=value pairs on the command line?
2) If yes how do I go about it, what utility do I use (the emca utility?). and what parameters do I need to supply on the command line to create the template?
3) The intention is that the script to create the template will run in the early hours of the morning when no-one is using the database but what state does the database need to be in when the template creation script runs i.e. up, down, mounted and does the creation of a template affect the state of an already up database i.e. if I kick off the template creation script and the database is up will it switch it into mount mode or anything like that? My concern here is that I want to make sure I understand exactly what is going on so that no users or connected external systems are affected?
Thanks in anticipation of someone being able to guide me on what to do or what documentation to read.
Also if you require any clarification on what i'm asking please post up your query and i'll respond ASAP.
Kind Regards,
George Johnston
OCP 9i DBASybrandb,
Firstly thanks for you reponse.
However, I don’t agree that dbca only creates empty databases otherwise why does the option to create a template from an existing database (structure as well as data) exist in the dbca wizard?
I have performed a test case where I have a created a database template including data on one 10g server. I have then used the files generated to recreate that database on a separate server. When the new database is started it is an exact copy of the original. So it’s not empty at all , it’s exactly what the client wants.
So I don’t agree that I’m gaining zero.
Why is this approach doomed to fail?
There a number of reasons why I “just set up a proper standby database”
1. Time – I’m on a customer site in a tight engagement where the customer wants maximum value for money. I don’t have standby database skills and the customer isn’t willing to pay for me to learn on the job so please understand the tight circumstances I’m working in.
2. Availability – As far as I know the client is running 10.2.0.3.0 standard edition. Correct me if I’m wrong but is standby db available in that edition. Where do I look to check V$OPTION.
On the RMAN duplicating a database front it’s an area I haven’t used before but I will take a look at it.
Also please revisit the context of my original posting where I state
The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
So please understand that this a quick fix that the client wants developed in the minimum time possible in ADDITION to a full nightly RMAN backup being taken.
In an ideal world I’d have the time to follow best practice but in the real world of on-site customer support I just need to get the job done operating under the customer imposed constraints.
Many Thanks,
George Johnston
OCP 9i DBA -
How to create a database in ORACLE 8i
How to create a database in ORACLE 8i
hello ...
enter in
http://www.oracle.com/pls/db102/portal.portal_db?selected=2 between demand and type in "create database"
or read others docs ORACLE.
AF -
How can I create a database from a sharepoint using entity framework
Hello All,
I want to develop a data base from SharePoint list independently. The column name are based on a SharePoint list eg: Contact-list (will be having 10 columns)
can any one please suggest me an idea on how to do this task? Which Visual Studio template is suitable for this purpose?
I confused with starting with following Visual studio template!!!
Empty SharePoint Project??, Business Data Connectivity Model??, ASP.Net Web application??
Somebody please help me soon....
I am using SharePoint 2010 and Visual Studio 2010Hey,
basically you should start with an empty SharePoint 2010 project where you add an List-EventReceiver. This Receiver should point to the url of the list and handle the ItemAdded-Event. In this method you place the code to create the database, for example
with a SQL-Statement. -
How to Create Public database link in oracle 9i?
Friends,
OS: RHEL AS 3
DB: 9iR2
database name 1 = nubul
database name 2 = test
in the 'nubul' database server using system user.
i created a database link to connect the 'test' database
sql> create public database link test using 'test';
database link created.
then i logged in as normal user....
sql> select count(*) from employee@test
Error at line 1:
ORA-12154: TNS: could not resolve service name
where i am making mistake?
i gave the linkname as my remote database name.
am i have to make any entry in the tnsnames.ora?
thanks & regardsYou have to remember that when you access a dblink, the database where the link is defined is acting as a client to the database to which the link points ... exactly the same as if you you were using sqlplus on the machine hosting the db where the link is defined. In other words, given:
Host 'Host-src', with database 'db-src', with a dblink 'lk_target'
Host 'host-trgt', with database 'db-trgt'
When you connect to db-src and access lk-target, db-src is now acting as a client to db-trgt. Exactly as if you had opened sqlplus on host-src and connected directly to db-trgt. So, given the above scenario
host-src$> sqlplus scott/tiger@db-src
sql> select * from emp@lk_target;when you execute that SELECT to the link, the same tns considerations are in effect as if you had
host-src$> sqlplus scott/tiger@db-trgtThe same tnsnames.ora entry, on the source machine, is required for both.
Maybe you are looking for
-
How to find my windows office 2003 product key?
Hi,you can try this one: URL Removed by a moderator
-
Hi, I have a web service implemented by session bean from CMP Entity Beans from table,this works, but a DATE type present in the field of database table not appear in WSDL definition, therefore I can't assign this value at object. Any idea? Thanks fo
-
Hi, After installing Java, I have a JRE folder under jdk1.5.0_03 directory, and another folder jre1.5.0_03 under java directory. Can someone please tell me the different between these two folders? Which one is the run-time jre? Thanks in advance.
-
I have made a gridview which has to columns and a template field. I have binded data in gridview using datsource and databind. I want to add a Search option to the gridview through stored procedure only. How can I do that?
-
my touchscreen stopped working and i haven't gotten it wet or dropped it. Ive already restored it to factory settings and it still doesn't work...what can i do?