Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1707
  • Last Modified:

Adprep /rodcprep Fails

When I run adprep /rodcprep it gives me this error message. Any idea how I can fix this? We did have a server that we were replicating to crash a few years back and we did not replace it. I am guessing that is what is causing the problem. This is all in preparation of adding a new 2008 server to take over the DC role.

C:\Documents and Settings\Administrator.TBA>E:\support\adprep\adprep32.exe /rodc
prep
Adprep connected to the domain FSMO: tba-dc001.tba.local.


==============================================================================
Adprep found partition DC=DomainDnsZones,DC=tba,DC=local, and is about to update
 the permissions.


Adprep could not contact a replica for partition DC=DomainDnsZones,DC=tba,DC=loc
al.

Adprep encountered an LDAP error.
Error code: 0x0. Server extended error code: 0x0, Server error message: (null).



Adprep failed the operation on partition DC=DomainDnsZones,DC=tba,DC=local. Skip
ping to next partition.
==============================================================================


==============================================================================
Adprep found partition DC=ForestDnsZones,DC=tba,DC=local, and is about to update
 the permissions.


Adprep could not contact a replica for partition DC=ForestDnsZones,DC=tba,DC=loc
al.

Adprep encountered an LDAP error.
Error code: 0x0. Server extended error code: 0x0, Server error message: (null).



Adprep failed the operation on partition DC=ForestDnsZones,DC=tba,DC=local. Skip
ping to next partition.
==============================================================================


Adprep detected the operation on partition DC=tba,DC=local has been performed. S
kipping to next partition.
==============================================================================


Adprep completed with errors. Not all partitions are updated. See the ADPrep.log
 in the C:\WINDOWS\debug\adprep\logs\20130624131829 directory for more informati
on.

To successfully update all partititions, the current logged on user needs to be
a member of Enterprise Admins group.  If that is not the case, please correct th
e problem, and then restart Adprep.



C:\Documents and Settings\Administrator.TBA>
0
tbawarehouse
Asked:
tbawarehouse
  • 7
  • 4
1 Solution
 
tbawarehouseAuthor Commented:
Here is what the log says -

[2013/06/24:13:18:29.088]
Adprep created the log file ADPrep.log under C:\WINDOWS\debug\adprep\logs\20130624131829 directory.
[2013/06/24:13:18:29.103]
Adprep connected to the domain FSMO: tba-dc001.tba.local.
[2013/06/24:13:18:29.103]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2013/06/24:13:18:29.103]
LDAP API ldap_search_s() finished, return code is 0x0
[2013/06/24:13:18:29.103]
Adprep successfully retrieved information from the local Active Directory Domain Services.
[2013/06/24:13:18:29.119]
Adprep successfully initialized global variables.

[Status/Consequence]

Adprep is continuing.
[2013/06/24:13:18:29.119]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Partitions,CN=Configuration,DC=tba,DC=local.
[2013/06/24:13:18:29.119]
LDAP API ldap_search_s finished, return code is 0x0
[2013/06/24:13:18:29.119]
==============================================================================

Adprep found partition DC=DomainDnsZones,DC=tba,DC=local, and is about to update the permissions.
[2013/06/24:13:18:29.134]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Infrastructure,DC=DomainDnsZones,DC=tba,DC=local.
[2013/06/24:13:18:29.134]
LDAP API ldap_search_s finished, return code is 0x0
[2013/06/24:13:18:29.134]
Adprep could not contact a replica for partition DC=DomainDnsZones,DC=tba,DC=local.
[2013/06/24:13:18:29.150]
Adprep encountered an LDAP error.

Error code: 0x0. Server extended error code: 0x0, Server error message: (null).
[2013/06/24:13:18:29.150]
Adprep failed the operation on partition DC=DomainDnsZones,DC=tba,DC=local. Skipping to next partition.

==============================================================================
[2013/06/24:13:18:29.166]
==============================================================================

Adprep found partition DC=ForestDnsZones,DC=tba,DC=local, and is about to update the permissions.
[2013/06/24:13:18:29.166]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Infrastructure,DC=ForestDnsZones,DC=tba,DC=local.
[2013/06/24:13:18:29.181]
LDAP API ldap_search_s finished, return code is 0x0
[2013/06/24:13:18:29.181]
Adprep could not contact a replica for partition DC=ForestDnsZones,DC=tba,DC=local.
[2013/06/24:13:18:29.197]
Adprep encountered an LDAP error.

Error code: 0x0. Server extended error code: 0x0, Server error message: (null).
[2013/06/24:13:18:29.197]
Adprep failed the operation on partition DC=ForestDnsZones,DC=tba,DC=local. Skipping to next partition.

==============================================================================
[2013/06/24:13:18:29.213]
Adprep detected the operation on partition DC=tba,DC=local has been performed. Skipping to next partition.

==============================================================================
[2013/06/24:13:18:29.228]
Adprep completed with errors. Not all partitions are updated. See the ADPrep.log in the C:\WINDOWS\debug\adprep\logs\20130624131829 directory for more information.



To successfully update all partititions, the current logged on user needs to be a member of Enterprise Admins group.  If that is not the case, please correct the problem, and then restart Adprep.


FYI the Administrator is a part of the Enterprise Admins Group.
0
 
CITG_CarlCommented:
How many domain controllers do you have on your Domain? It sounds like its failing to connect to a stale domain controller hence why your getting LDAP errors

did ADPREP /prepforest or /prepdomain or /prepschema work fine?

Cheers
0
 
tbawarehouseAuthor Commented:
We just have one DC but had another DC 2 years ago that crashed. We never replaced it.

I ran forestprep and domainprep with no errors.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CITG_CarlCommented:
The domain controller that crashed, was it removed from the domain correctly?

if you look in the 'Domain Controllers' container in ADUC is it still listed? Or run repadmin /replsummary
0
 
tbawarehouseAuthor Commented:
It is not within Domain Controllers under ADUC. Where is the repadmin file located? Can't seem to find it..
0
 
CITG_CarlCommented:
run that command in CMD. repadmin /replsummary

This will return back any configured or semi-configured domain controllers
0
 
CITG_CarlCommented:
Sorry just a side thought.

Are you actually planning on installing a read only domain controller onto the domain?
0
 
tbawarehouseAuthor Commented:
Odd...that command doesn't work. Says it is not recognized. Does it need to be installed from the 2003 server CD?

We are planning on promoting the 2008 server once the replication is done and demoting the 2003 server.
0
 
tbawarehouseAuthor Commented:
C:\Program Files\Support Tools>repadmin /replsummary
Replication Summary Start Time: 2013-06-24 15:10:44

Beginning data collection for replication summary, this may take awhile:
  ....


Source DC           largest delta  fails/total  %%  error


Destination DC    largest delta    fails/total  %%  error
Assertion


C:\Program Files\Support Tools>

This is what i get when i run that command
0
 
tbawarehouseAuthor Commented:
http://support.microsoft.com/kb/949257 - this article seems to be the fix. I am unsure of how to run this script. Anyone have any ideas?
0
 
tbawarehouseAuthor Commented:
I found the Microsoft article.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now