Problem:
1. vCenter 6.0: VCSA Appliance is not booting, Stuck at progress white bar for long time.
2. Unable to login with root password in VCSA appliance even after reset the root password, it saying wrong credentials.
3. /dev/sda3 is full while monitoring from rescue mode.
This behavior could be because of VCSA file system is full due to audit.log. Most of the time /dev/sda3 will become full due to audit.log. This will affect VCSA booting and even root account new password may not be able to reset.
Solution:
Clear audit.log by login to rescue mode.
1. Open VCSA console and Reboot VCSA appliance VM.
2. Press "Space bar" on GRUB screen to avoid auto boot.
3. Press "p" to choose boot options, enter GRUB password, default password is "vmware"
4. Select "VMware vCenter Server appliance" and press "e"
5. Select the line start with "Kernel /vmlinuz...." and press "e"
6. Append "init=/bin/bash" at end of last line after putting a "space"
7. Press enter, then type "b" to boot.
8. Once it is booted, go to the file location of audit.log by executing command "cd /var/log/audit"
9. Execute command "truncate -s 0 audit.log" to clear the audit.log.
10. Verify the disk utilization by running command "df -h"
11. Reboot the VCSA appliance by running below commands.
mkfifo /dev/initctl
reboot -f
thanks for that, saved my bacon!
ReplyDelete