In this post we are going to see, how to fix unknown command error in VCSA appliance. When you access vcsa through ssh, after enabling shell you are not able to run any command. It is throwing unknown command. This happened with me twice and here is a fix.
This normally happens when VCSA file system is full. As you are not able to run any command in SSH you will not be clear space from putty session. Below is the step by step procedure to clear space on VCSA.
This normally happens when VCSA file system is full. As you are not able to run any command in SSH you will not be clear space from putty session. Below is the step by step procedure to clear space on VCSA.
- Mount RHEL ISO to your Vcenter appliance.
- Boot into Rescue (Rescue installed system) mode.
- It will prompt that linux installation will be mounted under /mnt/sysimage. Say continue, do not click read only option.
- run df -h command to see if /mnt/systimage is full.
- Again run du -h to see which directory is full.
- In my case it was audit logs occupying more space.
- run the command rm -r /mnt/sysimage/var/log/audit/audit.log to clear audit.log files.
- Again run df -h and make sure /mnt/systimage is having free space.
- Disconnect RHEL ISO from appliance and reboot it.
- Now it should come online without any issues.
No comments:
Post a Comment