SUMMARY
In a Microsoft Windows NT environment, a Microsoft Windows 2000 domain environment, or a Microsoft Host Integration Server environment, all SNA Servers in the domain must share a common
configuration file. This is true when only one SNA Server in the domain is designated
as the primary configuration server. The configuration file contains the following important access information:
- The names of users and the names of groups
- The LUs or LU pools that the users and the groups can use
When you start the SNA Server Manager program in Host Integration Server 2000 or in the SNA Admin program in Microsoft SNA 2.11 or later versions, the SNA Server Manager program and the SNA Admin program try to open the SNA Server configuration file in
Read/Write mode. The SNA Server configuration file is named Com.cfg. If the Com.cfg file successfully opens, all other users who try to run
the SNA Server Manager program or the SNA Admin program can only access the configuration file in Read-only
mode.
Note Read access and Write access are required to update the configuration file. However,
Read-only access lets the administrator start SNA
Server services or stop SNA
Server services. Also, the administrator can view the status of the SNA
Server services.
By default, in SNA Server 2.11 and later versions, you may receive one of the following error messages. You may receive error message 1 if the SNA Server configuration file is already open for
Read/Write access. Then, another SNA Administration program tries to open the
configuration file.
Error message 1
Insufficient privilege or the file is locked. The file is locked by
Domain Name\UserName on computer ComputerName. Click OK to open the
configuration in read only mode?
Additionally, when you make a configuration change in SNA Manager, and you click
OK to confirm the change, you may receive the following error message:
Error message 2
Unable to obtain a write lock on the config file.
In both cases, you can only open the SNA
Server configuration file for Read
access.
If the SNA Admin program
or the SNA Manager program is not locally running on the primary configuration server, you can use Windows NT
Server Manager to determine which user has the configuration
file open in Write mode. To do this, follow these steps:
- Click Start, point to Programs, point to Administrative Tools, and then click Server Manager.
- In the Server Manager DomainName dialog box, double-click the computer name that you want.
- In the Properties for ComputerName dialog box, click In Use.
In the Open Resources on ComputerName dialog box, the name of the user who has locked the SNA Server configuration file appears under the Opened by column. The SNA Server configuration file is named Com.c$$.
In a Windows 2000 environment, you can use the Computer Management MMC snap-in to determine which user has the configuration
file open in Write mode. To do this, follow these steps:
- Log on to the computer that is acting as the primary SNA 2.11 server or the Host Integration Server 2000 server. Use an account that has administrative permissions.
- Click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
- In the Computer Management MMC snap-in, expand Systems Tools, expand Shared Folders, and then click Open Files.
In the Details pane, the name of the user who has the Com.cfg file open appears under the Accessed By column.
Note By default, earlier version of the SNA Administrator program do not show the current user who has the SNA Server
configuration file locked for Write access.