Symptoms:
A general system error occurred: Timed out waiting for vpxa to start
A general system error occurred. Failed to create journal file provider
/var/log/vmkernel.log
file of the host, there are entries similar to:WARNING: VisorFSObj: 1954: Cannot create file /var/spool/snmp/1351589546_6_3_6876.trp for process hostd-worker because the inode table of its ramdisk (root) is full.
WARNING: VisorFSObj: 1954: Cannot create file /var/run/vmware/tickets/vmtck-520db3d3-3305-37 for process hostd-worker because the inode table of its ramdisk (root) is full.
WARNING: VisorFSObj: 1954: Cannot create file /var/spool/snmp/1351589576_6_4_6876.trp for process hostd-worker because the inode table of its ramdisk (root) is full.
Unable to contact the MKS
stat -f filesystem_name
command, it is evident the host is out of inodes.stat -f filesystem_name
command displays output similar to:Inodes: Total: 0 Free: 0
/var/spool/snmp
folder is filled with Simple Network Management Protocol (SNMP) trap files.
.trp
files in the /var/spool/snmp
directory on the ESXi host by running the command:ls /var/spool/snmp | wc -l
.trp
files in the /var/spool/snmp/
directory by running the commands:# cd /var/spool/snmp
# for i in $(ls | grep trp); do rm -f $i;done
/etc/vmware/
and back up the snmp.xml
file by running the commands:# cd /etc/vmware
# mv snmp.xml snmp.xml.bkup
snmp.xml
and open it using a text editor. <?xml version="1.0" encoding="ISO-8859-1"?>
<config>
<snmpSettings><enable>false</enable><port>161</port><syscontact></syscontact><syslocation></syslocation>
<EnvEventSource>indications</EnvEventSource><communities></communities><loglevel>info</loglevel><authProtocol></authProtocol><privProtocol></privProtocol></snmpSettings>
</config>
# esxcli system snmp set –-enable=true
# esxcli system snmp get
To ensure that the issue does not recur, temporarily disable snmpd
to stop logging. To stop the snmpd
service, run this command:# /etc/init.d/snmpd stop
Note: In the event that the host has run out of inodes, attempt to stop vpxa
on the host to free up an inode:
vpxa
has stopped, an inode is freed up so that it is possible to enable the ESXi Shell and obtain command line access to remove the .trp
files as described in the Resolution section. For more information on using the ESXi Shell, see Using ESXi Shell in ESXi (311213).
ESX error: No free space left on device (342658)
Using ESXi Shell in ESXi (311213)
ESXi ramdisk full due to /var/log/hpHelper.log file size (318858)