Skip to main content
Solved

How to cleanup/uninstall MediaAgent application on Linux?

  • March 18, 2021
  • 4 replies
  • 8909 views

Forum|alt.badge.img

Hello CommVaulters, 

Uninstallation of MediaAgent on Linux machine via CommCell is failing. So, I would like to clean up mediaagent on Linux and push a fresh media agent software onto it. Please help me with the commands to run on linux machine to manually uninstall or clean up MediaAgent. 

Thanks in advance, 

Arun Kumar KT

Best answer by Mike Struening

@ArunKT reported that this is resolved:

I could find answer myself․ I could delete commvault related directories and able to install mediaagent successfully․ Thanks․

 

4 replies

neuwiesener
Novice
Forum|alt.badge.img+6
  • Novice
  • March 18, 2021

Damian Andre
Vaulter
Forum|alt.badge.img+24

If that does not work, you can perform these steps to remove the software using only unix tools:

 

1.) On client run "commvault stop" (this may not work if broken)

2.) Run "ps -ef | grep -i commvault" command to make sure no CV processes are running.
     If there is a process running, run "kill -9 <pid>" to kill it.

3.) Run rm -rf /etc/CommVaultRegistry
4.) Run rm -rf /opt/commvault         
5.) Run rm -rf /tmp/.gxset*           
6.) Run rm -rf /var/log/commvault/*   


Mike Struening
Vaulter
Forum|alt.badge.img+22

@ArunKT reported that this is resolved:

I could find answer myself․ I could delete commvault related directories and able to install mediaagent successfully․ Thanks․

 


Forum|alt.badge.img
  • Novice
  • April 19, 2023

Could you provide the instructions you have followed?