Quantcast
Viewing all articles
Browse latest Browse all 12874

WSUS Post installation task error, one DB

HI Guys

Keep on getting below error when trying to run the post installation tasks, please assist. 

2014-02-10 17:31:22  Postinstall started
2014-02-10 17:31:22  Detected role services: Api, UI, WidDatabase, Services
2014-02-10 17:31:22  Start: LoadSettingsFromParameters
2014-02-10 17:31:22  Content local is: True
2014-02-10 17:31:22  Content directory is: E:\WSUS1
2014-02-10 17:31:22  SQL instname is: 
2014-02-10 17:31:22  End: LoadSettingsFromParameters
2014-02-10 17:31:22  Start: Run
2014-02-10 17:31:22  Configuring content directory...
2014-02-10 17:31:22  Configuring groups...
2014-02-10 17:31:23  Starting group configuration for WSUS Administrators...
2014-02-10 17:31:23  Found group in regsitry, attempting to use it...
2014-02-10 17:31:23  Searching for existing group...
2014-02-10 17:31:23  Group was not fount attempt to create it...
2014-02-10 17:31:23  Writing group to registry...
2014-02-10 17:31:23  Finished group creation
2014-02-10 17:31:23  Starting group configuration for WSUS Reporters...
2014-02-10 17:31:23  Found group in regsitry, attempting to use it...
2014-02-10 17:31:23  Searching for existing group...
2014-02-10 17:31:23  Group was not fount attempt to create it...
2014-02-10 17:31:23  Writing group to registry...
2014-02-10 17:31:23  Finished group creation
2014-02-10 17:31:23  Configuring permissions...
2014-02-10 17:31:23  Fetching content directory...
2014-02-10 17:31:23  Fetching ContentDir from registry store
2014-02-10 17:31:23  Value is E:\WSUS1
2014-02-10 17:31:23  Fetching group SIDs...
2014-02-10 17:31:23  Fetching WsusAdministratorsSid from registry store
2014-02-10 17:31:23  Value is S-1-5-21-2562008261-4042848667-4248770126-1000
2014-02-10 17:31:23  Fetching WsusReportersSid from registry store
2014-02-10 17:31:23  Value is S-1-5-21-2562008261-4042848667-4248770126-1001
2014-02-10 17:31:23  Creating group principals...
2014-02-10 17:31:26  Granting directory permissions...
2014-02-10 17:31:26  Granting permissions on content directory...
2014-02-10 17:31:26  Granting registry permissions...
2014-02-10 17:31:26  Granting registry permissions...
2014-02-10 17:31:26  Granting registry permissions...
2014-02-10 17:31:26  Configuring shares...
2014-02-10 17:31:27  Configuring network shares...
2014-02-10 17:31:27  Fetching content directory...
2014-02-10 17:31:27  Fetching ContentDir from registry store
2014-02-10 17:31:27  Value is E:\WSUS1
2014-02-10 17:31:27  Fetching WSUS admin SID...
2014-02-10 17:31:27  Fetching WsusAdministratorsSid from registry store
2014-02-10 17:31:27  Value is S-1-5-21-2562008261-4042848667-4248770126-1000
2014-02-10 17:31:27  Content directory is local, creating content shares...
2014-02-10 17:31:27  Creating share "UpdateServicesPackages" with path "E:\WSUS1\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2014-02-10 17:31:27  Deleting existing share...
2014-02-10 17:31:27  Creating share...
2014-02-10 17:31:27  Share successfully created
2014-02-10 17:31:27  Creating share "WsusContent" with path "E:\WSUS1\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2014-02-10 17:31:27  Deleting existing share...
2014-02-10 17:31:27  Creating share...
2014-02-10 17:31:27  Share successfully created
2014-02-10 17:31:27  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2014-02-10 17:31:28  Deleting existing share...
2014-02-10 17:31:28  Creating share...
2014-02-10 17:31:28  Share successfully created
2014-02-10 17:31:28  Finished creating content shares
2014-02-10 17:31:28  Configuring WID database...
2014-02-10 17:31:28  Configuring the database...
2014-02-10 17:31:28  Establishing DB connection...
2014-02-10 17:31:29  Checking to see if database exists...
2014-02-10 17:31:30  Database exists
2014-02-10 17:31:30  Switching database to single user mode...
2014-02-10 17:31:30  Loading install type query...
2014-02-10 17:31:30  DECLARE @currentScriptVersion   int
DECLARE @currentDBVersion       int
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
    SELECT 1
END
ELSE
BEGIN
    SET @currentScriptVersion = (9200 + 16384)
    SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
    IF @currentDBVersion < 926
    BEGIN
        SELECT 3
    END
    ELSE IF @currentDBVersion < @currentScriptVersion
    BEGIN
        SELECT 2
    END
    ELSE IF @currentDBVersion = @currentScriptVersion
    BEGIN
        SELECT 0
    END
    ELSE
    BEGIN
        SELECT 4
    END
END

2014-02-10 17:31:30  Install type is: Reinstall
2014-02-10 17:31:30  Creating logins...
2014-02-10 17:31:30  Fetching account info for S-1-5-20
2014-02-10 17:31:31  Found principal
2014-02-10 17:31:31  Found account
2014-02-10 17:31:31  Got binary SID
2014-02-10 17:31:31  Fetching WsusAdministratorsSid from registry store
2014-02-10 17:31:31  Value is S-1-5-21-2562008261-4042848667-4248770126-1000
2014-02-10 17:31:31  Fetching account info for S-1-5-21-2562008261-4042848667-4248770126-1000
2014-02-10 17:31:31  Found principal
2014-02-10 17:31:31  Found account
2014-02-10 17:31:31  Got binary SID
2014-02-10 17:31:31  Setting content location...
2014-02-10 17:31:31  Fetching ContentDir from registry store
2014-02-10 17:31:31  Value is E:\WSUS1
2014-02-10 17:31:32  Swtching DB to multi-user mode......
2014-02-10 17:31:35  System.Data.SqlClient.SqlException (0x80131904): Schema verification failed for database 'SUSDB'.
ALTER DATABASE statement failed.
Failed to restart the current database. The current database is switched to master.
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
   at Microsoft.UpdateServices.Administration.ConfigureDB.SetMultiUser(Boolean noFail)
ClientConnectionId:9145e987-f963-4569-b970-7da05c1c9a25
2014-02-10 17:31:35  System.Data.SqlClient.SqlException (0x80131904): Schema verification failed for database 'SUSDB'.
ALTER DATABASE statement failed.
Failed to restart the current database. The current database is switched to master.
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
   at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
   at Microsoft.UpdateServices.Administration.ConfigureDB.SetMultiUser(Boolean noFail)
   at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
   at Microsoft.UpdateServices.Administration.PostInstall.Run()
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
ClientConnectionId:9145e987-f963-4569-b970-7da05c1c9a25



Viewing all articles
Browse latest Browse all 12874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>