Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Windows Server 2012/2012 R2 (http://forum.oszone.net/forumdisplay.php?f=117)
-   -   [решено] Настройка WSUS (http://forum.oszone.net/showthread.php?t=296692)

111den11 10-03-2015 18:36 2481038

Настройка WSUS
 
Вложений: 1
При завершающем этапе настройки WSUS выдает ошибку с кракосябрами лог на который ссылаются кракозябры во вложении, (хотел сначало на другой диск контент назначить, но после ошибки попробЫвал на локальный , таже проблема) не силен с IIS , что мне подсказывает что трабла там..

Iska 10-03-2015 19:18 2481058

Цитата:

Цитата 111den11
с кракосябрами лог на который ссылаются кракозябры во вложении, »

Это не кракозябры. Обычная UTF-8:
Скрытый текст
Код:

2015-03-10 19:18:21  Postinstall started
2015-03-10 19:18:21  Detected role services: Api, UI, WidDatabase, Services
2015-03-10 19:18:21  Start: LoadSettingsFromParameters
2015-03-10 19:18:21  Content local is: True
2015-03-10 19:18:21  Content directory is: E:\shareWSUS
2015-03-10 19:18:21  SQL instname is:
2015-03-10 19:18:21  End: LoadSettingsFromParameters
2015-03-10 19:18:21  Start: Run
2015-03-10 19:18:21  Configuring content directory...
2015-03-10 19:18:21  Configuring groups...
2015-03-10 19:18:21  Starting group configuration for WSUS Administrators...
2015-03-10 19:18:21  Found group in regsitry, attempting to use it...
2015-03-10 19:18:21  Writing group to registry...
2015-03-10 19:18:21  Finished group creation
2015-03-10 19:18:21  Starting group configuration for WSUS Reporters...
2015-03-10 19:18:21  Found group in regsitry, attempting to use it...
2015-03-10 19:18:21  Writing group to registry...
2015-03-10 19:18:21  Finished group creation
2015-03-10 19:18:21  Configuring permissions...
2015-03-10 19:18:21  Fetching content directory...
2015-03-10 19:18:21  Fetching ContentDir from registry store
2015-03-10 19:18:21  Value is E:\shareWSUS
2015-03-10 19:18:21  Fetching group SIDs...
2015-03-10 19:18:21  Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:21  Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:21  Fetching WsusReportersSid from registry store
2015-03-10 19:18:21  Value is S-1-5-21-85942948-4180474264-638709195-1002
2015-03-10 19:18:21  Creating group principals...
2015-03-10 19:18:21  Granting directory permissions...
2015-03-10 19:18:21  Granting permissions on content directory...
2015-03-10 19:18:21  Granting registry permissions...
2015-03-10 19:18:21  Granting registry permissions...
2015-03-10 19:18:21  Granting registry permissions...
2015-03-10 19:18:21  Configuring shares...
2015-03-10 19:18:21  Configuring network shares...
2015-03-10 19:18:21  Fetching content directory...
2015-03-10 19:18:21  Fetching ContentDir from registry store
2015-03-10 19:18:21  Value is E:\shareWSUS
2015-03-10 19:18:21  Fetching WSUS admin SID...
2015-03-10 19:18:21  Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:21  Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:21  Content directory is local, creating content shares...
2015-03-10 19:18:21  Creating share "UpdateServicesPackages" with path "E:\shareWSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2015-03-10 19:18:22  Deleting existing share...
2015-03-10 19:18:22  Creating share...
2015-03-10 19:18:22  Share successfully created
2015-03-10 19:18:22  Creating share "WsusContent" with path "E:\shareWSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-03-10 19:18:22  Deleting existing share...
2015-03-10 19:18:22  Creating share...
2015-03-10 19:18:22  Share successfully created
2015-03-10 19:18:22  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."
2015-03-10 19:18:22  Deleting existing share...
2015-03-10 19:18:22  Creating share...
2015-03-10 19:18:22  Share successfully created
2015-03-10 19:18:22  Finished creating content shares
2015-03-10 19:18:22  Configuring WID database...
2015-03-10 19:18:22  Configuring the database...
2015-03-10 19:18:22  Establishing DB connection...
2015-03-10 19:18:22  Checking to see if database exists...
2015-03-10 19:18:22  Database exists
2015-03-10 19:18:22  Switching database to single user mode...
2015-03-10 19:18:25  Loading install type query...
2015-03-10 19:18:25  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

2015-03-10 19:18:25  Install type is: Reinstall
2015-03-10 19:18:25  Creating logins...
2015-03-10 19:18:25  Fetching account info for S-1-5-20
2015-03-10 19:18:25  Found principal
2015-03-10 19:18:25  Found account
2015-03-10 19:18:25  Got binary SID
2015-03-10 19:18:25  Fetching WsusAdministratorsSid from registry store
2015-03-10 19:18:25  Value is S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:25  Fetching account info for S-1-5-21-85942948-4180474264-638709195-1001
2015-03-10 19:18:27  Found principal
2015-03-10 19:18:27  Found account
2015-03-10 19:18:27  Got binary SID
2015-03-10 19:18:27  Setting content location...
2015-03-10 19:18:27  Fetching ContentDir from registry store
2015-03-10 19:18:27  Value is E:\shareWSUS
2015-03-10 19:18:27  Swtching DB to multi-user mode......
2015-03-10 19:18:28  Finished setting multi-user mode
2015-03-10 19:18:28  Writing DB settings to registry...
2015-03-10 19:18:28  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2015-03-10 19:18:28  Configuring IIS...
2015-03-10 19:18:28  Start: ConfigureWebsite
2015-03-10 19:18:28  Configuring website on port 8530
2015-03-10 19:19:07  System.IO.IOException: Процесс не может получить доступ к файлу "C:\Users\администратор.FMICPN\AppData\Local\Temp\WsusUtilUseCustomWebSite.log", так как этот файл используется другим процессом.
  в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  в System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
  в System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
  в System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
  в Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
2015-03-10 19:19:07  End: ConfigureWebsite
2015-03-10 19:19:07  Configuring performance counters...
2015-03-10 19:19:07  Configuring Stats.NET perf counter...
2015-03-10 19:19:07  Configuring reporting perf counter...
2015-03-10 19:19:07  Configuring client webservice perf counter...
2015-03-10 19:19:07  Configuring server sync webservice perf counter...
2015-03-10 19:19:07  Configuring API remoting perf counter...
2015-03-10 19:19:07  Bringing services online...
2015-03-10 19:19:07  Checking initialization status...
2015-03-10 19:19:07  Database needs initialization.
2015-03-10 19:19:07  StartServer starting...
2015-03-10 19:19:07  Generating encryption key to write to the registry...
2015-03-10 19:19:07  Generating encryption key to write to the database...
2015-03-10 19:19:08  Generating encryption key succeeded...
2015-03-10 19:19:08  Setting WSUSService to autostart...
2015-03-10 19:19:08  WSUSService is set to autostart.
2015-03-10 19:19:08  Starting WSUSService...
2015-03-10 19:19:08  Failed to start WsusService. Exception: System.InvalidOperationException: Не удалось запустить службу WSUSService на компьютере '.'. ---> System.ComponentModel.Win32Exception: Одна копия службы уже запущена
  --- Конец трассировки внутреннего стека исключений ---
  в System.ServiceProcess.ServiceController.Start(String[] args)
  в Microsoft.UpdateServices.Setup.StartServer.StartServer.StartAndConfigureService()
2015-03-10 19:19:08  Importing default detectoids.
2015-03-10 19:19:08  Importing CriticalUpdates.xml...
2015-03-10 19:19:08  Importing Drivers.xml...
2015-03-10 19:19:08  Importing FeaturePacks.xml...
2015-03-10 19:19:08  Importing MicrosoftCorporation.xml...
2015-03-10 19:19:08  Importing SecurityUpdates.xml...
2015-03-10 19:19:08  Importing ServicePacks.xml...
2015-03-10 19:19:08  Importing Tools.xml...
2015-03-10 19:19:08  Importing UpdateRollups.xml...
2015-03-10 19:19:08  Importing Updates.xml...
2015-03-10 19:19:08  Importing Windows.xml...
2015-03-10 19:19:08  Importing Windows2000family.xml...
2015-03-10 19:19:08  Importing WindowsServer2003DatacenterEdition.xml...
2015-03-10 19:19:08  Importing WindowsServer2003Family.xml...
2015-03-10 19:19:08  Importing WindowsXPfamily.xml...
2015-03-10 19:19:08  Importing LocalPublisher.xml...
2015-03-10 19:19:08  Importing LocallyPublishedPackages.xml...
2015-03-10 19:19:08  Importing Applications.xml...
2015-03-10 19:19:08  Importing Exchange.xml...
2015-03-10 19:19:08  Importing Office.xml...
2015-03-10 19:19:08  Importing SQL.xml...
2015-03-10 19:19:08  Importing Exchange2000Server.xml...
2015-03-10 19:19:08  Importing ExchangeServer2003.xml...
2015-03-10 19:19:08  Importing OfficeXP.xml...
2015-03-10 19:19:08  Importing Office2003.xml...
2015-03-10 19:19:08  Importing SQLServer.xml...
2015-03-10 19:19:08  Importing WindowsXP64BitEditionVersion2003.xml...
2015-03-10 19:19:08  Importing DefinitionUpdateSusXml.xml...
2015-03-10 19:19:08  Importing ClientServicingApiDetectoid.xml...
2015-03-10 19:19:08  Importing default detectoids succeeded.
2015-03-10 19:19:08  Creating default subscription.
2015-03-10 19:19:08  Instantiating UpdateServer
2015-03-10 19:19:09  CreateDefaultSubscription failed. Exception: System.Net.WebException: Сбой запроса с состоянием HTTP 503: Service Unavailable.
  в System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
  в System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
  в Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
  в Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
  в Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
  в Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
  в Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
2015-03-10 19:19:09  StartServer encountered errors. Exception=Сбой запроса с состоянием HTTP 503: Service Unavailable.
2015-03-10 19:19:09  Microsoft.UpdateServices.Administration.CommandException: Не удалось запустить и настроить службу WSUS
  в Microsoft.UpdateServices.Administration.PostInstall.Run()
  в Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)


thomosgee1 14-03-2015 14:26 2482566

Ошибка проверки подлинности с согласованием для WinRM" На серверах удаленное администрирование включено, брандмауэр выключен, через консоль прописывал winrm set winrm/config/client @{TrustedHosts="IP-своей-удаленной-машины"} - никакого толку. Что можно сделать? Заранее спасибо!

111den11 03-04-2015 12:20 2491349

C:\Windows\WID\Data выпилил файл SUSDB.mdf , пошло

Hellminos 20-03-2017 12:36 2721270

Цитата:

Цитата 111den11
C:\Windows\WID\Data выпилил файл SUSDB.mdf , пошло »

Выпилил как? Просто удалив? Проблема таже, пока не решается. Что только не пробовал. Даже где-то нашел предложение перезайти в домен, пытался вне домена сделать, все мимо

111den11 27-03-2017 18:54 2723535

Цитата:

Цитата Hellminos
Проблема таже, пока не решается. Ч »

Да просто удалил.. Это файл старой базы данных.. А так как он не удалятся (даже после удаления роли) приходится руками

Hellminos 14-04-2017 14:49 2729247

Решил в итоге полной переустановкой, тогда все заработало.

PAU5920 23-09-2020 09:09 2934665

Цитата:

Цитата Hellminos
Решил в итоге полной переустановкой, тогда все заработало. »

Ну собственно это не решение проблемы, хотя сколько я не читал, не искал всё сводится именно к этому в итоге, с добавлениями душевных страданий "Зачем я вообще купил Windows 2012?!", "Зачем установил/обновил ведь всё работало?" и т.п. Но у меня было небольшое преимущество, а именно несколько WSUS серверов подчиненных, и в том числе 1 на котором Windows 2012 R2 ставилась с нуля, поэтому было с чем сравнить. Так что решил, и даже решил зарегистрироваться, а то тема то всплывает везде и решения по сути нет.

И так решили вы обновить Windows 2008 R2 с WSUS-м на Windows 2012 R2 с новым WSUS-м, чтобы 10-ка обновлялась и прочее, и первая ошибка это то, что понадеялись на Microsoft и то что при обновлении уж свой то софт должен перенестись нормально, а уж тем более то что установлено в качестве ролей и компонентов. Так вот нет!
1) Лучше удалить WSUS перед обновлением. Потом удалить тоже можно, но столкнетесь с ручным удалением файлов, чисткой реестра и прочим, поскольку удаляться он не захочет ругаясь, что не совместим с 2012-й виндой. На сайте Мелкософта есть конечно сценарий по переносу со скриптами, ручным сохранением и прочими телодвижениями вокруг базы скаченных обновлений, и прочим, но как-то там всё сложно, невнятно и не факт что сработает, я не проверял. Да и вообще почему как говорится я должен это делать руками, если это я их продукты обновяю, почему эти скрипты не встроены? Ладно это лирика.
2) Накатите на сам сервер обновления после того как он станет Windows 2012 R2.
3) Поставьте, если её нет, оснастку IIS и удалите через Диспетчер IIS на Default Web Site все привязки кроме http на 80-м порту!
Скрин того как должно быть

Это и есть самая главная загвоздка!
4) После этого можете ставить роль и/или проводить завершающие этапы, всё должно отработать нормально.

Спасибо за внимание, пользуйтесь!


Время: 11:48.

Время: 11:48.
© OSzone.net 2001-