AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / server / Perguntas / 862133
Accepted
NeilWang
NeilWang
Asked: 2017-07-14 21:30:32 +0800 CST2017-07-14 21:30:32 +0800 CST 2017-07-14 21:30:32 +0800 CST

Windows Server 2012 R2 A interface é desconhecida após a renomeação

  • 772

Renomeei o nome do computador do meu único DC no meu domínio de teste. No entanto, parece que o banco de dados não está completamente atualizado. Eu encontrei a tela azul 0xc00002e2 após a primeira reinicialização. Em seguida, tentei corrigi-lo usando os comandos ntdsutil -> Compact to para reconstruir o arquivo ntds.dit.

O servidor finalmente conseguiu inicializar normalmente. Mas, não posso usar nenhum serviço AD agora. Aqui está o que o dcdiag está dizendo:

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = dc1
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: SEA\SDC
      Starting test: Connectivity
         ......................... SDC passed test Connectivity

Doing primary tests

   Testing server: SEA\SDC
      Starting test: Advertising
         Fatal Error:DsGetDcName (SDC) call failed, error 1717
         The Locator could not find the server.
         ......................... SDC failed test Advertising
      Starting test: FrsEvent
         ......................... SDC passed test FrsEvent
      Starting test: DFSREvent
         The event log DFS Replication on server sdc.sea.nr could not be queried, error 0x6ba
         "The RPC server is unavailable."
         ......................... SDC failed test DFSREvent
      Starting test: SysVolCheck
         ......................... SDC passed test SysVolCheck
      Starting test: KccEvent
         The event log Directory Service on server sdc.sea.nr could not be queried, error 0x6ba
         "The RPC server is unavailable."
         ......................... SDC failed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... SDC passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... SDC passed test MachineAccount
      Starting test: NCSecDesc
         ......................... SDC passed test NCSecDesc
      Starting test: NetLogons
         Unable to connect to the NETLOGON share! (\\SDC\netlogon)
         [SDC] An net use or LsaPolicy operation failed with error 67, The network name cannot be found..
         ......................... SDC failed test NetLogons
      Starting test: ObjectsReplicated
         ......................... SDC passed test ObjectsReplicated
      Starting test: Replications
         ......................... SDC passed test Replications
      Starting test: RidManager
         ......................... SDC passed test RidManager
      Starting test: Services
         Could not open Remote ipc to [sdc.sea.nr]: error 0x43 "The network name cannot be found."
         ......................... SDC failed test Services
      Starting test: SystemLog
         The event log System on server sdc.sea.nr could not be queried, error 0x6ba "The RPC server is unavailabl
         ......................... SDC failed test SystemLog
      Starting test: VerifyReferences
         ......................... SDC passed test VerifyReferences


   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : sea
      Starting test: CheckSDRefDom
         ......................... sea passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... sea passed test CrossRefValidation

   Running enterprise tests on : sea.nr
      Starting test: LocatorCheck
         Warning: DcGetDcName(GC_SERVER_REQUIRED) call failed, error 1717
         A Global Catalog Server could not be located - All GC's are down.
         Warning: DcGetDcName(PDC_REQUIRED) call failed, error 1717
         A Primary Domain Controller could not be located.
         The server holding the PDC role is down.
         Warning: DcGetDcName(TIME_SERVER) call failed, error 1717
         A Time Server could not be located.
         The server holding the PDC role is down.
         Warning: DcGetDcName(GOOD_TIME_SERVER_PREFERRED) call failed, error 1717
         A Good Time Server could not be located.
         Warning: DcGetDcName(KDC_REQUIRED) call failed, error 1717
         A KDC could not be located - All the KDCs are down.
         ......................... sea.nr failed test LocatorCheck
      Starting test: Intersite
         ......................... sea.nr passed test Intersite

Parece que o servidor estava tentando se conectar ao sdc.sea.nr, que é o nome que eu pretendia renomear. Mas atualmente o nome do computador ainda está mostrando o antigo e não consegui adicionar um registro A no servidor DNS local. Como devo corrigir isso?

active-directory
  • 1 1 respostas
  • 3307 Views

1 respostas

  • Voted
  1. Best Answer
    NeilWang
    2017-07-15T01:59:18+08:002017-07-15T01:59:18+08:00

    Eu encontrei a solução:

    1. Modifique o registro, altere todos os nomes de computador:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName Nome da chave: ComputerName

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName Nome da chave: ComputerName

      HKey_Local_Machine\System\CurrentControlSet\Services\TCPIP\ Parameters Nome da chave: NVHostName

    2. Editar

      C:\Windows\System32\drivers\etc\hosts

      Adicione meu endereço IP e o nome do computador.

    3. Reinício.

    • 0

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Você pode passar usuário/passar para autenticação básica HTTP em parâmetros de URL?

    • 5 respostas
  • Marko Smith

    Ping uma porta específica

    • 18 respostas
  • Marko Smith

    Verifique se a porta está aberta ou fechada em um servidor Linux?

    • 7 respostas
  • Marko Smith

    Como automatizar o login SSH com senha?

    • 10 respostas
  • Marko Smith

    Como posso dizer ao Git para Windows onde encontrar minha chave RSA privada?

    • 30 respostas
  • Marko Smith

    Qual é o nome de usuário/senha de superusuário padrão para postgres após uma nova instalação?

    • 5 respostas
  • Marko Smith

    Qual porta o SFTP usa?

    • 6 respostas
  • Marko Smith

    Linha de comando para listar usuários em um grupo do Windows Active Directory?

    • 9 respostas
  • Marko Smith

    O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL?

    • 3 respostas
  • Marko Smith

    Como determinar se uma variável bash está vazia?

    • 15 respostas
  • Martin Hope
    Davie Ping uma porta específica 2009-10-09 01:57:50 +0800 CST
  • Martin Hope
    kernel O scp pode copiar diretórios recursivamente? 2011-04-29 20:24:45 +0800 CST
  • Martin Hope
    Robert ssh retorna "Proprietário incorreto ou permissões em ~/.ssh/config" 2011-03-30 10:15:48 +0800 CST
  • Martin Hope
    Eonil Como automatizar o login SSH com senha? 2011-03-02 03:07:12 +0800 CST
  • Martin Hope
    gunwin Como lidar com um servidor comprometido? 2011-01-03 13:31:27 +0800 CST
  • Martin Hope
    Tom Feiner Como posso classificar a saída du -h por tamanho 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich O que é um arquivo Pem e como ele difere de outros formatos de arquivo de chave gerada pelo OpenSSL? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent Como determinar se uma variável bash está vazia? 2009-05-13 09:54:48 +0800 CST

Hot tag

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve