Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2003 : Troubleshooting DHCP (part 3) - Reconciling the DHCP Database

3/19/2011 11:39:15 AM

Reconciling the DHCP Database

If you detect that DHCP database information is missing or inconsistent, you can attempt to resolve the problem by reconciling DHCP data for any or all scopes.

Scope IP address lease information is stored in two forms by the DHCP Server service:

  • Detailed IP address lease information, stored in the DHCP database

  • Summary IP address lease information, stored in the DHCP database

When reconciling scopes, the detail and summary entries are compared to find inconsistencies.

If you choose to repair inconsistencies found in this process, the DHCP server either returns the addresses in question to their original owners or creates a temporary reservation for these address. These reservations are valid for the lease time assigned to the scope. When the lease time expires, the addresses are recovered for future use.

To reconcile the DHCP database, complete the following steps:

1.
Open the DHCP console.

2.
In the console tree, click the applicable DHCP server.

3.
On the Action menu, click Reconcile All Scopes.

4.
In the Reconcile All Scopes dialog box, click Verify.

Inconsistencies found are reported in the status window.

5.
If the database is found to be consistent, click OK.

If the database is not consistent, click the displayed addresses that need to be reconciled, and click Reconcile to repair inconsistencies.

To reconcile an individual scope, complete the following steps:

1.
Open the DHCP console.

2.
In the console tree, click the applicable scope.

3.
On the Action menu, click Reconcile.

4.
In the Reconcile dialog box, click Verify.

Inconsistencies found are reported in the status window.

5.
If the scope is found to be consistent, click OK.

If the scope is not consistent, select the displayed addresses that need to be reconciled, and click Reconcile to repair inconsistencies.

Checking Event Viewer

When you experience a DHCP-related error on the network, you can use errors registered in the event log to help guide your troubleshooting efforts. You can search for these errors by opening Event Viewer and then selecting the System log in the console tree. On DHCP server computers, DHCP messages written to the log are designated by a source description of DHCPServer, as shown in Figure 4.

Figure 4. DHCP server errors

To diagnose DHCP server errors, double-click the DHCPServer events to read the associated message. The following text provides an example of a DHCP server error message registered in the event log:

The DHCP/BINL service on the local machine, belonging to the
Windows Administrative domain domain1.local, has determined that it is
not authorized to start. It has stopped servicing clients. The following
are some possible reasons for this:

This machine is part of a directory service enterprise and is
not authorized in the same domain. (See help on the DHCP Service
Management Tool for additional information.)

This machine cannot reach its directory service enterprise
and it has encountered another DHCP service on the network
belonging to a directory service enterprise on which the local machine
is not authorized.

Some unexpected network error occurred.

You can also use the System log in Event Viewer to search for errors on DHCP clients. On DHCP clients, DHCP events written to the log are designated by a source description of Dhcp.

The following text provides an example of a DHCP client error registered in the event log:

The IP address lease 192.168.0.11 for the Network Card with network
address 00D05380B7F6 has been denied by the DHCP server 192.168.0.1 (The DHCP Server
sent a DHCPNACK message).


Note

If you need more information about DHCP server behavior than the event log provides, consult the server audit log.


Detecting DHCP Jet Data Corruption in Event Viewer

The following DHCP service messages, shown in Table 1, can appear in the System event log when the DHCP server database becomes corrupted.

Table 1. DHCP Database Corruption Errors
Event IDSourceDescription
1014DhcpServerThe JET database returned the following Error: -510.
1014DhcpServerThe JET database returned the following Error: -1022.
1014DhcpServerThe JET database returned the following Error: -1850.

When you detect these errors in Event Viewer, you can use the Jetpack utility to perform a manual offline compaction of the DHCP database. In cases where Jetpack.exe fails to repair the database, you should restore the DHCP server database by using the DHCP console. Another way to recover the DHCP server database is to enter netsh dhcp server set databaserestoreflag 1 at a command prompt. This procedure sets the restore flag, which permits the DHCP Server service to load a copy of the DHCP database in its default backup directory when the service is reinitialized.

Other -----------------
- Windows Server 2003 : Monitoring DHCP Through Audit Logging
- Windows Server 2008 R2 : Configuring Operations Manager 2007 R2 (part 4) - Notifications and Subscriptions
- Windows Server 2008 R2 : Configuring Operations Manager 2007 R2 (part 3) - Agent Restart Recovery
- Windows Server 2008 R2 : Configuring Operations Manager 2007 R2 (part 2) - Active Directory Replication Monitoring Configuration
- Windows Server 2008 R2 : Configuring Operations Manager 2007 R2 (part 1) - Agent Proxy Configuration & Active Directory Client Monitoring Configuration
- Windows Server 2003 : Understanding How Clients Obtain Configuration (part 4) - DHCP ACK & DHCP NACK
- Windows Server 2003 : Understanding How Clients Obtain Configuration (part 3) - DHCP Offer & DHCP Request
- Windows Server 2003 : Understanding How Clients Obtain Configuration (part 2) - Analyzing DHCP Messages & DHCP Discover
- Windows Server 2003 : Understanding How Clients Obtain Configuration (part 1) - Initial Lease Process & Lease Renewal Process
- Windows Server 2008 R2 : Installing Operations Manager 2007 R2 (part 3) - Deploying OpsMgr Agents
 
 
Top 10 video Game
-   World of Warcraft: Warlords of Draenor | Patch 6.2 – Fury of Hellfire
-   Call of Duty: Black Ops III | Cyber Core Tutorial and Co-Op Playthrough
-   Back to Bed - E3 2015 Trailer
-   Whispering Willows - E3 2015 Trailer
-   Velocibox - E3 2015 Trailer
-   Anno 2025 - E3 2015 Gameplay Trailer
-   Anno 2025 - E3 2015 Intro Trailer
-   Awesome GTA V Sniper Chopper Kill
-   Awesome GTA V Parachute Video
-   GTA V Explosive Ammo Rounds with Bikini
-   Funny GTA V Road Rage Clip
-   Cool GTA V Motorbike Jump
-   When a Mouse Jacks Your Truck in GTA V
-   Pig Riding a Motorbike in GTA V
-   Using an Uzi While Driving in GTA V
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
programming4us programming4us
PS4 game trailer XBox One game trailer
WiiU game trailer 3ds game trailer
Trailer game
 
programming4us
MineCraft
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer