The programs reauth.exe and NETDRV.exe require single user access to key OpenInsight files. Renaming or installing a new OENGINE.DLL also requires single user access. Key files can remain locked when a user leaves OpenInsight open on a workstation. See figure 1 and figure 2 for sample error messages as a result of locked files. If all OpenInsight programs have been closed but the failure persists the failure may be a result of a hung engine still running in memory.
This article covers some common steps and includes a utility to resolve the issue of locked files. Administrative rights to the server is required. The directions can be performed through Terminal Services to the server or at the server console.
Step by step directions are supplied for Windows Server 2003 and Windows Server2008.
Figure 1. Failure using reauth.exe due to a file in use.
Figure 2. Failure changing network driver with netdrv.exe due to a file in use.
Windows 2008
Follow these directions while logged into the server console or from an administrator terminal server session. Verify everyone is logged out of OpenInsight before performing these directions. The directions are broken into 3 sections;closing open files, stopping services, and ending active processes.
Check the Open Files List
1. Right click "Computer → Manage".
2. Expand "Roles → File Services" and click"Share and Storage Management". See screen figure 3
4. Figure 3. Share and storage management window
5.
6. On the left side bar click "Manage Open Files"
7. Look for any open OINSIGHT.EXE, OENGINE.DLL, or any other open file in the OpenInsight directory. If found,close the files by selecting them in the list and then clicking "Close Selected".
8. Tip: If the server is dedicated to OpenInsight and all stations are signed out you can close all sessions by clicking"Close All" instead.
10. Figure 4. Selecting open files to close
11.
Stop Running Services
1. Right click "Computer → Manage".
2. Expand "Configuration → Services".
3. Locate the service name "Linear Hash".
4. Right click and choose "Stop". See figure 4.
5. Check and stop the "OEngineServer"service, if it exists.
Figure 5.Stopping services
Check for Running Processes
1. Start the Windows Task Manager.
2. Open the "Processes" tab and sort by "Image Name".
3. Verify "Show processes from all users" is checked.
4. Locate any OINSIGHT.EXE processes and end the process by right clicking and choosing "End Process".
5. Check for and stop any OENGINE.EXE processes in the list.
Figure 6. Ending active processes
Once the open files are closed, running processes terminated, and services stopped then retry the reauth.exe, netdrv.exe or oengine.dll upgrade. When finished remember to start the Linear Hash and OEngineServer (if applicable).
Windows 2003
Follow these directions while logged into the server console or from an administrator terminal server session. Verify everyone is logged out of OpenInsight before performing these directions. The directions are broken into 3 sections;closing open files, stopping services, and ending active processes.
Check the Open Files List
1. Right click "My Computer → Manage".
2. Choose "Shared Folders → Open Files".
3. Look for any open OINSIGHT.EXE, OENGINE.DLL, or any other open file in the OpenInsight directory. If found,close the files by right clicking on the view entry and choosing "Close Open File". See figure 7.
5. Figure 7. Closing open shared network files.
6.
Stop Running Services
1. Right click "My Computer → Manage".
2. Choose "Services and Applications → Services".
3. Locate the service name "Linear Hash".
4. Right click and choose "Stop". See figure 8.
5. Check and stop the "OEngineServer" service, if it exists.
Figure 8.Stopping services
Check for Running Processes
1. Start the Windows Task Manager.
2. Open the "Processes" tab and sort by "Image Name".
3. Verify "Show processes from all users" is checked.
4. Locate any OINSIGHT.EXE processes and end the process byright clicking and choosing "End Process".
5. Check for and stop any OENGINE.EXE processes in the list.
Figure 9. Ending active processes
Once the open files are closed, running processes terminated, and services stopped then retry the reauth.exe, netdrv.exe or oengine.dll upgrade. When finished remember to start the Linear Hash and OEngineServer (if applicable).
If you cannot complete the process rebooting the server is the last step. For further assistance please contact your VAR.