Date: July 2006
Affected NV Version: 7.4.x, 8.x up to 11.4
OS Version: Windows
Plugin version: n/a
Application version: n/a
Description: Upgrading and, getting error: "preinstall.sh exited with error code 1"
Symptoms: During an install-on-top or upgrade , you may receive an error "preinstall.sh exited with error code 1". When this happens the upgrade/installation process will terminate and write a preinstall.sh text log file into C:\Documents and Settings\ \Local Settings\Temp directory. Using a text editor to view the contents, you may find that this file contains the following lines:
Failed to remove non-directory 'C:\WINDOWS/system32/libnv6winevt.dll'
Library libnv6winevt.dll is in use
This is referencing one of the dynamic link libraries used by NetVault and Windows logging. During upgrade, NetVault will need to overwrite the existing dll with a new one. If either the NetVault Backup application or Windows has a hold on this dll, the preinstall script will fail and the upgrade terminated.
To clear the hold on the libnv6winevt.dll, perform the following:
1) Check that the NetVault service is stopped. (The service should have been terminated by the installer).
2) Open Windows Task Manager and verify that there are no NetVault related processes still running (typically with nv prefix - e.g. nvdevmgr, nvstatmgr, etc...). Use "End Process" on any remaining NetVault processes.
At this point, re-run the installer and see if it will complete. If not, perform the following additional steps:
1) Access the libnv6winevt.dll in the C:\WINDOWS/system32 directory. process - NOTE; In 64bit systems, the libnv6winevt.dll is in c:\Windows\SysWOW64\
2) Rename or remove this file - (If this file fails a rename or remove then it would indicate that there is still a lock on this file by some process either Windows or an orphaned NetVault process).
A reboot of the NetVault server will be needed at this point).
3) Run the installer again, which should complete.
In 64bit systems, the libnv6winevt.dll is in c:\Windows\SysWOW64\
Please contact Quest Technical Support for any additional clarifications or questions. Thank you.
BakBone SFDC Solution Number: 00001301
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center