Hi,
Need to configure WSUS. I have added the role, but while configuring WSUS its getting failed. I am trying to do it in my AD server. Also tried in SQL server and Vcentre server, but no luck getting same error. copied the log file below. Please help.
2014-12-31 18:00:58 Postinstall started
2014-12-31 18:00:58 Detected role services: Api, UI, WidDatabase, Services
2014-12-31 18:00:58 Start: LoadSettingsFromXml
2014-12-31 18:00:58 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2014-12-31 18:00:58 Value is true
2014-12-31 18:00:58 End: GetConfigValue
2014-12-31 18:00:58 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2014-12-31 18:00:58 Value is C:\WSUS
2014-12-31 18:00:58 End: GetConfigValue
2014-12-31 18:00:58 Content directory is C:\WSUS
2014-12-31 18:00:58 Database roleservice is not installed
2014-12-31 18:00:58 End: LoadSettingsFromXml
Post install is starting
2014-12-31 18:00:58 Start: Run
2014-12-31 18:00:58 Configuring content directory...
2014-12-31 18:00:58 Configuring groups...
2014-12-31 18:00:58 Starting group configuration for WSUS Administrators...
2014-12-31 18:00:58 Found group in regsitry, attempting to use it...
2014-12-31 18:00:58 Searching for existing group...
2014-12-31 18:00:58 Existing group was found
2014-12-31 18:00:58 Writing group to registry...
2014-12-31 18:00:58 Finished group creation
2014-12-31 18:00:58 Starting group configuration for WSUS Reporters...
2014-12-31 18:00:58 Found group in regsitry, attempting to use it...
2014-12-31 18:00:58 Searching for existing group...
2014-12-31 18:00:58 Existing group was found
2014-12-31 18:00:58 Writing group to registry...
2014-12-31 18:00:58 Finished group creation
2014-12-31 18:00:58 Configuring permissions...
2014-12-31 18:00:58 Fetching content directory...
2014-12-31 18:00:58 Fetching ContentDir from registry store
2014-12-31 18:00:58 Value is C:\WSUS
2014-12-31 18:00:58 Fetching group SIDs...
2014-12-31 18:00:58 Fetching WsusAdministratorsSid from registry store
2014-12-31 18:00:58 Value is S-1-5-21-401427083-3155353651-1701718379-1625
2014-12-31 18:00:58 Fetching WsusReportersSid from registry store
2014-12-31 18:00:58 Value is S-1-5-21-401427083-3155353651-1701718379-1626
2014-12-31 18:00:58 Creating group principals...
2014-12-31 18:01:00 Granting directory permissions...
2014-12-31 18:01:00 Granting permissions on content directory...
2014-12-31 18:01:00 Granting registry permissions...
2014-12-31 18:01:00 Granting registry permissions...
2014-12-31 18:01:00 Granting registry permissions...
2014-12-31 18:01:00 Configuring shares...
2014-12-31 18:01:00 Configuring network shares...
2014-12-31 18:01:00 Fetching content directory...
2014-12-31 18:01:00 Fetching ContentDir from registry store
2014-12-31 18:01:00 Value is C:\WSUS
2014-12-31 18:01:00 Fetching WSUS admin SID...
2014-12-31 18:01:00 Fetching WsusAdministratorsSid from registry store
2014-12-31 18:01:00 Value is S-1-5-21-401427083-3155353651-1701718379-1625
2014-12-31 18:01:00 Content directory is local, creating content shares...
2014-12-31 18:01:00 Creating share "UpdateServicesPackages" with path "C:\WSUS\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-12-31 18:01:00 Deleting existing share...
2014-12-31 18:01:00 Creating share...
2014-12-31 18:01:00 Share successfully created
2014-12-31 18:01:00 Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2014-12-31 18:01:00 Deleting existing share...
2014-12-31 18:01:00 Creating share...
2014-12-31 18:01:00 Share successfully created
2014-12-31 18:01:00 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-12-31 18:01:00 Deleting existing share...
2014-12-31 18:01:00 Creating share...
2014-12-31 18:01:00 Share successfully created
2014-12-31 18:01:00 Finished creating content shares
2014-12-31 18:01:00 Configuring WID database...
2014-12-31 18:01:00 Configuring the database...
2014-12-31 18:01:00 Establishing DB connection...
2014-12-31 18:01:00 Checking to see if database exists...
2014-12-31 18:01:00 Database exists
2014-12-31 18:01:00 Switching database to single user mode...
2014-12-31 18:01:08 System.Data.SqlClient.SqlException (0x80131904): Changes to the state or options of database 'SUSDB' cannot be made at this time. The database is in single-user mode, and a user is currently connected to it.
ALTER DATABASE statement failed.
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
at Microsoft.UpdateServices.Administration.ConfigureDB.ConnectToDB()
at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
ClientConnectionId:7d374f2e-cfee-4d10-bb24-caa55a693f2f
Fatal Error: Changes to the state or options of database 'SUSDB' cannot be made at this time. The database is in single-user mode, and a user is currently connected to it.
ALTER DATABASE statement failed.