VMware Cloud Community
DavidMurphy7
Contributor
Contributor
Jump to solution

How to access shell when "No space left on device" error is blocking enabling of the shell. Vmware vCenter Server Appliance

I'm running a Vmware vCenter Server Appliance virtual machine that has locked me out of the shell.

enter image description here

The web interface has failed.

enter image description here

I can view the main screen but when I press F2 to get into the settings it spews error messages imposed behind the login promt. The relevant one seems to be

"IOError: [Errno 28] No space left on device]"

enter image description here

From some googling this appears to be an issue that can afflict this server when log files fill up one of the available drives and there are hits from this forum but but the solutions I've found all involve logging in to the shell and clearing some space.

Unfortunately the shell is disabled and when I try to enable it nothing happens and it kicks me back to the main screen with the same spew of buggy errors

enter image description here

enter image description here

I can switch to the console view but it doesn't allow me to enter the shell.

enter image description here

I can connect through a remote terminal but the shell is also locked out from there.

enter image description here

enter image description here

Are there any other approaches I can try to gain access to the system and/or clear enough space for the server to run normally?

1 Solution

Accepted Solutions
birend1988
Hot Shot
Hot Shot
Jump to solution

You need to go into GRUB mode and clear the old log files.

6.0

https://kb.vmware.com/s/article/2069041

6.5 & 6.7

VMware Knowledge Base

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

VCIX, NCAP

View solution in original post

3 Replies
birend1988
Hot Shot
Hot Shot
Jump to solution

You need to go into GRUB mode and clear the old log files.

6.0

https://kb.vmware.com/s/article/2069041

6.5 & 6.7

VMware Knowledge Base

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

VCIX, NCAP
DavidMurphy7
Contributor
Contributor
Jump to solution

Thanks for the remarkably fast reply brend! 

I'm finally able to clear the logs and boot the server normally.

0 Kudos