[解决]Zabbix agent进程无法启动 No space left on device

技术

日志分析:

admin@SR5016:~# tail -f /tmp/log/zabbix-agentd.log
zabbix_agentd [4092]: cannot create Semaphore: [28] No space left on device
zabbix_agentd [4092]: unable to create mutex for log file
zabbix_agentd [4337]: cannot create Semaphore: [28] No space left on device
zabbix_agentd [4337]: unable to create mutex for log file
zabbix_agentd [4350]: cannot create Semaphore: [28] No space left on device
zabbix_agentd [4350]: unable to create mutex for log file
zabbix_agentd [4449]: cannot create Semaphore: [28] No space left on device
zabbix_agentd [4449]: unable to create mutex for log file
zabbix_agentd [4455]: cannot create Semaphore: [28] No space left on device
zabbix_agentd [4455]: unable to create mutex for log file

 

原因解析:

No space left on device ——没有磁盘空间

admin@SR5016:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 110.3M 3.3M 107.0M 3% /
/dev/root 17.8M 17.8M 0 100% /rom
tmpfs 950.0M 68.8M 881.2M 7% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock1 110.3M 3.3M 107.0M 3% /overlay
overlayfs:/overlay 110.3M 3.3M 107.0M 3% /
/dev/sda 930.6G 14.7G 869.3G 2% /mnt/helian.doc
/dev/sdb1 4.0M 2.2M 1.6M 57% /mnt/sdb1

 

删除zabbix agent进程路径中的满空间文件夹中的多余文件