Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Backup and Recovery Community Blog

Upgrading NetBackup fails with proccesses in running mode that have NetBackup DLLs loaded.

Created: 11 Jun 2013 • 1 comment
inn_kam's picture
0 6 Votes
Login to vote

Hello 

when i upgraded Netbackup from 6.5 to 7.5 many customers came up with dll hanging problems, so when we terminate them , installation successfully started , so Symantec tech note was greatly help ful for me

error

"Please terminate any other NetBackup processes and rerun installation again." and "ERROR: Warning the following processes are still running that need be shutdown. These processes have NetBackup dlls loaded which need to be replaced"

Failed to copy file from C:\Program Files\VERITAS\\NetBackup\bin\admincmd\NetBackup.dll to C:\Program Files\VERITAS\\NetBackup\bin\NetBackup.dll

Error was: The process cannot access the file because it is being used by another process.

Solution

Overview:
During a upgrade installation, sometimes the SYSTEM process might hold certain DLLs in memory.  A review of the installation logs located in %temp% will help you identify what process is locked.

Troubleshooting:
A review of the MSI Install Log shows:

Scenario 1:
***************************************************************************************************************************************************************************************************
12-18-2007,11:38:21 :  Failed to copy file from C:\Program Files\VERITAS\\NetBackup\bin\admincmd\NetBackup.dll to C:\Program Files\VERITAS\\NetBackup\bin\NetBackup.dll
Error was: The process cannot access the file because it is being used by another process.

12-18-2007,11:38:28 :  Action ended 11:38:28: DuplicateDLLsCheck. Return value 3.
12-18-2007,11:38:28 :  Action ended 11:38:28: INSTALL. Return value 3.
***************************************************************************************************************************************************************************************************

Scenario 2:
***************************************************************************************************************************************************************************************************
ERROR: Warning the following processes are still running that need be shutdown.
These processes have NetBackup dlls loaded which need to be replaced.

svchost.exe                     (PID: 1720)
nqperfprovider4.exe             (PID: 5044)

Please terminate the processes listed above and then click Retry or click Cancel to stop the install.
11-19-2009,15:00:40 :  Unable to get handle to process PID: 0
11-19-2009,15:00:48 :  
ERROR: Warning the following processes are still running that need be shutdown.
These processes have NetBackup dlls loaded which need to be replaced.

svchost.exe                     (PID: 1720)
nqperfprovider4.exe             (PID: 5044)
dbsrv9.exe                     (PID: 8600)
bmrd.exe                       (PID: 8888)
bpcompatd.exe                   (PID: 6696)
nbemm.exe                       (PID: 2640)
nbevtmgr.exe                   (PID: 2728)
bpinetd.exe                     (PID: 7660)
bpjava-msvc.exe                 (PID: 7608)
nbrmms.exe                     (PID: 10064)
bprd.exe                       (PID: 9896)
bpdbm.exe                       (PID: 6956)
bpjobd.exe                     (PID: 6268)
nbrb.exe                       (PID: 1248)
nbsl.exe                       (PID: 5484)
nbsvcmon.exe                   (PID: 8908)
bpstsinfo.exe                   (PID: 8896)
nbstserv.exe                   (PID: 7076)
***************************************************************************************************************************************************************************************************

Resolution:
Stop the NetBackup Services before the upgrade and rename the netbackup.dll located in<Install_path>\VERITAS\NetBackup\bin.  Run the upgrade installation and verify netbackup.dll is a 6.5 binary by getting Properties and examining the "Version" tab.

In some cases a 3rd party application might have a lock on the NetBackup DLLs, so renamingnetbackup.dll will not resolve this issue as other DLLs may also be locked.  Instead of trying to rename all NetBackup related DLLs, use Process Explorer to identify which processes have a hold onnetbackup.dll and stop the 3rd party software associated with those processes.

Below are some process/application that have been known to locked NetBackup DLLs:

- Data Life Cycle Manager 5.0
- srm Windows Collector (srmagent.exe)
- IBM Director (IBM Director Agent Service)
- NetIQ AppManager Client Communication Manager
- NetIQ AppManager Client Resource Monitor
- NetIQ AppManager for Windows
- NetIQ AppManager agent
- NetIQ AppManager
- Measureware 
- DSM agent
 
and also when error came in WINDOWS 2008 r2 while upgrading Netbackup

Error

Warning: The following processes are still running that need be shutdown.
These processes have NetBackup dlls loaded which need to be replaced.

wmiprvse.exe                            (PID: 4700)

Cause

Stopped wmiprvse.exe process continues to spawn new processes.

Solution

Restart the Windows Management Instrumentation (WMI) service, as follows:

  1. Open the Windows Service Control Manager (SCM)

  2. Right-click the entry for Windows Management Instrumentation

  3. Select Restart from the popup menu. This should remove any associations between thewmiprvse.exe process and NetBackup DLLs.

Retry your installation.

NOTE: In some cases, it may be required to stop and disable the WMI service (through the Windows SCM). This technique does not apply if you intend to perform push installations, because the Windows push installation requires that WMI be up and running. If you use this technique, be sure to enable and start the WMI service following the completion of NetBackup installation.

taken from http://www.symantec.com/docs/TECH186463

Comments 1 CommentJump to latest comment

CraigV's picture

...all you're doing is copying/pasting from official Symantec TNs...

Alternative ways to access Backup Exec Technical Support:

https://www-secure.symantec.com/connect/blogs/alte...

+3
Login to vote