Share via


Event ID 8216 — Server for NIS Service Availability

Applies To: Windows Server 2008

Server for NIS service availability indicates the functional state of the Server for NIS service. When Server for NIS is available, it updates NIS maps on all subordinate servers in the domain if it is running as an NIS master server, and accepts NIS replication data from Active Directory if it is running as a subordinate server.

Event Details

Product: Windows Identity Management for UNIX
ID: 8216
Source: Microsoft-Windows-IDMU-ServerForNIS
Version: 6.0
Symbolic Name: MSG_CACHEFILE_WRITE_FAIL
Message: Unable to write to map cache file: File: %1, Error: %2.

Resolve

Correct file or directory permissions

A problem occurred while attempting to create, read, or write to a directory or file (the mapcache directory or the mapcache file). Verify that the SYSTEM account has Full Control permissions on the file or the directory that was diagnosed to be missing this permission. The text of the error message in Event Viewer should contain the name of the directory or directories for which the SYSTEM account had difficulty writing changes.

To correct file or directory permissions:

  1. Open the directory %windir%/IdMU/NIS.
  2. Verify that the SYSTEM user account has full control permissions on the MapCache directory.
  3. Right-click the MapCache directory, and then click Properties.
  4. On the Security tab, in the Group or user names list, select the SYSTEM user.
  5. In the Permissions for list, select Full Control, and then click OK.
  6. In the MapCache directory, open the directory for the NIS domain on which the error was logged.
  7. Verify that the SYSTEM user account has full control permissions on the MapCache directory by repeating Steps 3 through 5 on the NIS domain directory.

Restart the operation that resulted in this error to verify that the problem has been solved.

Verify

Open the Services MMC and verify that Server for NIS is operational. If the Server for NIS service properties show that the service is not running, errors are preventing Server for NIS from operating normally.

To verify that Server for NIS is running

  1. Click Start, point to Administrative Tools, and then click Services.
  2. In the Results pane of the Services MMC, double-click Server for NIS.
  3. In the Service status area of the Server for NIS Properties dialog box, verify that the Server for NIS service shows as Started.

Use the ypcat command on a client computer in the domain on which the error was generated to verify that the Server for NIS service is available.

To use the ypcat command to verify Server for NIS service availability:

  1. On a client computer in the domain on which the error was generated, open a Windows Command Prompt with elevated privileges. To do this, right click Command Prompt on the Start menu, and then click Run as administrator.
  2. Type the following command, and then press Enter: ypcat -hNISServer-dDomain Mapname. NISServer represents the name of the server on which you want to verify that the Server for NIS Service is available. Domain represents the domain name on which you want to verify that the Server for NIS service is available. Mapname represents the name or nickname of a specific NIS map that the server on which you want to verify Server for NIS availability is expected to update.
  3. If you are prompted to provide the domain administrator account name and password, type the account name and password, and then press Enter.
  4. The ypcat Windows command-line utility prints the values of all keys from the NIS database specified by Mapname, which can be a map name or a map nickname. If the ypcat utility returns a list of key values for the maps you specified, the Server for NIS service is available.

Server for NIS Service Availability

Identity Management for UNIX