none
В DHCP-сервер не добавляется служба ролей RRS feed

  • Вопрос

  • Все было нормально, ничего не менялось.

    DHCP перестал работать. Его удалили и попытались поставить заново.

    DHCP-сервер: Установка завершена с ошибками


     <Ошибка>: Не удалось настроить DHCP-сервер, код ошибки 0x80074E54. Параметры области неверны. Либо такая область уже существует, либо адрес и маска ее подсети не согласуются с адресом и маской существующей области. 

    Никаких других областей нет.

    Есть кусок лога:

     2013-10-04 11:54:00.585 [DnsConfig]                 Validation of DNS server 192.168.100.12 resulted in: return=0, status=0, substatus=0, delay=0
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 201 }, Network Byte Order = 3232261321
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 249 }, Network Byte Order = 3232261369
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:54:58.102 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 255 Byte 1: 255 Byte 2: 255 Byte 3: 0 }, Network Byte Order = 4294967040
    2828: 2013-10-04 11:54:58.118 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:54:58.118 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 201 }, Network Byte Order = 3232261321
    2828: 2013-10-04 11:54:58.118 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:54:58.118 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 255 Byte 1: 255 Byte 2: 255 Byte 3: 0 }, Network Byte Order = 4294967040
    2828: 2013-10-04 11:55:28.554 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 201 }, Network Byte Order = 3232261321
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 249 }, Network Byte Order = 3232261369
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 255 Byte 1: 255 Byte 2: 255 Byte 3: 0 }, Network Byte Order = 4294967040
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:55:28.569 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 201 }, Network Byte Order = 3232261321
    2828: 2013-10-04 11:55:28.585 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:55:28.585 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 255 Byte 1: 255 Byte 2: 255 Byte 3: 0 }, Network Byte Order = 4294967040
    2828: 2013-10-04 11:56:31.016 [AuthorizePage]             Impersonating user for DHCP authorization page check.
    2828: 2013-10-04 11:56:31.016 [AuthorizePage]             Current user:      S-1-5-21-2165938818-3844895360-1472225758-1106
    2828: 2013-10-04 11:56:31.032 [AuthorizePage]             Domain:            S-1-5-21-2165938818-3844895360-1472225758
    2828: 2013-10-04 11:56:31.032 [AuthorizePage]             Domain Admins:     S-1-5-21-2165938818-3844895360-1472225758-512
    2828: 2013-10-04 11:56:31.141 [AuthorizePage]             Member of Domain Admins:     True
    2828: 2013-10-04 11:56:36.383 [InstallationProgressPage]  Loading progress page...
    2828: 2013-10-04 11:56:36.429 [InstallationProgressPage]  Begining Sync operation...
    2828: 2013-10-04 11:56:36.429 [Sync]                      
    Sync Graph of changed nodes
    ==========
    ---------------------------------------------------------------------------
    name     : DHCP-сервер
    state    : Changed
    rank     : 1
    sync tech: CBS
    ant.     : empty
    pred.    : empty
    provider : DhcpServerRoleProvider

    2828: 2013-10-04 11:56:36.429 [Sync]                      Calling sync provider of DHCP-сервер ...
    2828: 2013-10-04 11:56:36.429 [DHCP]                      Sync:: guest: 'DHCP-сервер', guest deleted?: False
    2828: 2013-10-04 11:56:36.429 [DHCP]                      Begin installation of 'DHCP-сервер'...
    2828: 2013-10-04 11:56:36.429 [DHCP]                      Install: Guest: 'DHCP-сервер', updateElement: 'DHCPServer'
    2828: 2013-10-04 11:56:36.429 [DHCP]                      Installation queued for 'DHCP-сервер'.
    2828: 2013-10-04 11:56:36.429 [CBS]                       installing 'DHCPServer ' ...
    2828: 2013-10-04 11:56:38.691 [CBS]                       ...parents that will be auto-installed: '<none>'
    2828: 2013-10-04 11:56:38.691 [CBS]                       ...default children to turn-off: '<none>'
    2828: 2013-10-04 11:56:38.738 [CBS]                       ...current state of 'DHCPServer': p: Staged, a: Staged, s: UninstallRequested
    2828: 2013-10-04 11:56:38.738 [CBS]                       ...setting state of 'DHCPServer' to 'InstallRequested'
    2828: 2013-10-04 11:56:38.769 [CBS]                       ...'DHCPServer' : applicability: Applicable
    2828: 2013-10-04 11:56:38.832 [CbsUIHandler]              Initiate:
    2828: 2013-10-04 11:56:38.832 [InstallationProgressPage]  Установка...
    2828: 2013-10-04 11:56:42.279 [InstallationProgressPage]  Проверка установки...
    2828: 2013-10-04 11:56:42.560 [CbsUIHandler]              Terminate:
    2828: 2013-10-04 11:56:42.872 [CBS]                       ...done installing 'DHCPServer '. Status: 0 (0)
    2828: 2013-10-04 11:56:42.872 [DHCP]                      Begin configuration of 'DHCP-сервер'...
    2828: 2013-10-04 11:56:42.888 [InstallationProgressPage]  Выполнение настройки...
    2828: 2013-10-04 11:56:42.888 [DHCP]                      Did not find any Configuration messages for DHCP-сервер
    2828: 2013-10-04 11:56:42.888 [DHCP]                      Configure: 'DHCP-сервер'
    2828: 2013-10-04 11:56:42.935 [DHCP]                      Successfully added Dhcp security groups.
    2828: 2013-10-04 11:56:42.935 [DHCP]                      Determining well known IP address of DHCP server being configured...
    2828: 2013-10-04 11:56:42.950 [DHCP]                      Begin GetWellKnownAddress
    2828: 2013-10-04 11:56:42.950 [DHCP]                      End GetWellKnownAddress, preferred well known address = 192.168.100.12
    2828: 2013-10-04 11:56:42.950 [DHCP]                      Starting the DhcpServer service...
    2828: 2013-10-04 11:56:47.739 [DHCP]                      DhcpServer service started successfully.
    2828: 2013-10-04 11:56:47.739 [DHCP]                      Configuring bindings...
    2828: 2013-10-04 11:56:47.739 [DHCP]                      Begin DhcpGetServerBindingInfo, ServerIpAddress = 192.168.100.12
    2828: 2013-10-04 11:56:47.739 [DHCP]                      End DhcpGetServerBindingInfo, error code = 0
    2828: 2013-10-04 11:56:47.739 [DHCP]                      Number of Bind Elements: 1
    2828: 2013-10-04 11:56:47.755 [DHCP]                      Network card with ID 37285473-a8a2-4242-a13c-d3918e361c20 has actual binding state of True
    2828: 2013-10-04 11:56:47.755 [DHCP]                      Network card with ID 37285473-a8a2-4242-a13c-d3918e361c20 has desired binding state of True
    2828: 2013-10-04 11:56:47.755 [DHCP]                      There are no network cards with a difference between actual and desired binding state, skipping the call to DhcpSetServerBindingInfo
    2828: 2013-10-04 11:56:47.755 [DHCP]                      Configuring V4 options...
    2828: 2013-10-04 11:56:47.755 [DHCP]                      Configuring IPv4 DNS domain name...
    2828: 2013-10-04 11:56:47.755 [DHCP]                      DNS domain name string = mainserver.torinsk.ru
    2828: 2013-10-04 11:56:47.755 [DHCP]                      Begin DhcpSetOptionValue, serverIpAddress = 192.168.100.12, optionID = 15, scopeInfo = {ScopeType = DhcpGlobalOptions, GlobalScopeInfo = 0}, optionValue = {NumElements = 1, 0: {OptionType = 5 StringData = mainserver.torinsk.ru} }
    2828: 2013-10-04 11:56:47.771 [DHCP]                      End DhcpSetOptionValueString, error code = 0
    2828: 2013-10-04 11:56:47.771 [DHCP]                      Configuring preferred DNS IPv4 addresses...
    2828: 2013-10-04 11:56:47.771 [DHCP]                      Number of preferred addresses = 1
    2828: 2013-10-04 11:56:47.771 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.771 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 12 }, Network Byte Order = 3232261132
    2828: 2013-10-04 11:56:47.786 [DHCP]                      Begin DhcpSetOptionValue, serverIpAddress = 192.168.100.12, optionID = 6, scopeInfo = {ScopeType = DhcpGlobalOptions, GlobalScopeInfo = 0}, optionValue = {NumElements = 1, 0: {OptionType = 4 IpAddress = -1062706164} }
    2828: 2013-10-04 11:56:47.786 [DHCP]                      End DhcpSetOptionValue, error code = 0
    2828: 2013-10-04 11:56:47.786 [DHCP]                      Configuring preferred WINS IPv4 addresses...
    2828: 2013-10-04 11:56:47.786 [DHCP]                      There are no preferred addresses specified.
    2828: 2013-10-04 11:56:47.786 [DHCP]                      Configuring scopes...
    2828: 2013-10-04 11:56:47.786 [DHCP]                      Getting network byte ordering for start address of scope temporary adress
    2828: 2013-10-04 11:56:47.786 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.802 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 201 }, Network Byte Order = 3232261321
    2828: 2013-10-04 11:56:47.802 [DHCP]                      Getting network byte ordering for end address of scope temporary adress
    2828: 2013-10-04 11:56:47.802 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.802 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 249 }, Network Byte Order = 3232261369
    2828: 2013-10-04 11:56:47.802 [DHCP]                      Getting network byte ordering for subnet mask of scope temporary adress
    2828: 2013-10-04 11:56:47.802 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.802 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 255 Byte 1: 255 Byte 2: 255 Byte 3: 0 }, Network Byte Order = 4294967040
    2828: 2013-10-04 11:56:47.817 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.817 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 12 }, Network Byte Order = 3232261132
    2828: 2013-10-04 11:56:47.817 [DHCP]                      Creating scope...
    2828: 2013-10-04 11:56:47.817 [DHCP]                      Begin DhcpCreateSubnet, subnetAddress = 3232261120, subnetInfo = {Subnet Address = 3232261120, Subnet Mask = 4294967040, Subnet Name = temporary adress, Primary Host = {Ip Address = 3232261132, Net Bios Name = 0, Host Name = 0}, Subnet State = DhcpSubnetEnabled}
    2828: 2013-10-04 11:56:47.817 [DHCP] Error (Id=0) End DhcpCreateSubnet, error code = 20052
    2828: 2013-10-04 11:56:47.817 [DHCP]                      Begin LoadLibrary, module name = dhcpssvc.dll
    2828: 2013-10-04 11:56:47.833 [DHCP]                      Begin FormatMessage, flags = 2304, moduleHandle = 8791295655936, errorCode = 20052, languageId = 1049, messagePtr = Microsoft.Windows.ServerManager.SafeGlobalHandle, size = 0, args = 0
    2828: 2013-10-04 11:56:47.849 [DHCP]                      Configuring AD authorization...
    2828: 2013-10-04 11:56:47.849 [DHCP]                      Using alternate credentials for AD authorization...
    2828: 2013-10-04 11:56:47.849 [DHCP]                      Parsing user name, user name = MAINSERVER\tori
    2828: 2013-10-04 11:56:47.864 [DHCP]                      Parsing user name succeeded, name = tori, domain = MAINSERVER
    2828: 2013-10-04 11:56:47.864 [DHCP]                      Creating WindowsIdentity...
    2828: 2013-10-04 11:56:47.880 [DHCP]                      Creating WindowsImpersonationContext via WindowsIdentity.Impersonate()...
    2828: 2013-10-04 11:56:47.895 [DhcpHelper]                Begin GetNetworkByteOrdering
    2828: 2013-10-04 11:56:47.895 [DhcpHelper]                End GetNetworkByteOrdering, Bytes = {Byte 0: 192 Byte 1: 168 Byte 2: 100 Byte 3: 12 }, Network Byte Order = 3232261132
    2828: 2013-10-04 11:56:47.895 [DHCP]                      Begin DhcpAddServer, flags = 0, idInfo = 0, newSever = {Version = 0, ServerName = toriserver.mainserver.torinsk.ru, ServerAddress = 3232261132, Flags = 0, State = 0, DsLocation = , DsLocType = 0}, callbackFn = 0, callbackData = 0
    2828: 2013-10-04 11:56:48.005 [DHCP]                      End DhcpAddServer, error code = 0
    2828: 2013-10-04 11:56:48.005 [DHCP]                      Undoing WindowsImpersonationContext via WindowsImpersonationContext.Undo()...
    2828: 2013-10-04 11:56:48.005 [DHCP]                      [STAT] For 'DHCP-сервер':
    2828: 2013-10-04 11:56:48.005 [DHCP]                      [STAT] Configuration took '5.1248744' second(s) total.
    2828: 2013-10-04 11:56:48.005 [Provider]                  
    [STAT] ---- CBS Session Consolidation -----

    4 октября 2013 г. 7:07

Ответы

Все ответы

  • Предполагаю, что процесс установки сервера DHCP находит старую базу данных и вновь создаваемая область конфликтует со старой, находящейся в БД.

    Попробуйте при запуске мастера добавления ролей не создавать область на вкладке DHCP Scopes (ее потом можно будет создать в консоли сервера DHCP, если надо).

    Альтернатива - перед добавлением роли удалить (лучше - переместить) все файлы из папки %SystemRoot%\system32\dhcp: база данных сервера DHCP находится там.


    Слава России!

    4 октября 2013 г. 8:30
  • Спасибо, но не помогло. Создает типа север с именем  "www.subdomen.192.168.100.12" и на нем нарисован маленький значек "кирпич" и нельзя ни включить не перезапустить. Можно только удалить этот "subdomen", но создать новый уже не получается. В системных событиях dhcp требует статического ipV6 адреса, но у меня ipV6 везде отключено. 
    5 октября 2013 г. 13:42
  • Добрый день!

    Используйте стандартное средство поиска ошибок для роли DHCP (http://technet.microsoft.com/ru-ru/library/dd759206.aspx#BKMK_GUIscan). После того как данный инструмент отработает, ошибки должны быть определены...например ошибка с ID 2976 (если так то решение http://zona.su/2011/02/dhcp-0x80074e54.html).

    5 октября 2013 г. 16:28