nginx报错:nginx.service failed to run 'start-pre' task: No space left on device
来源:互联网 发布:上海巨人网络校园招聘 编辑:程序博客网 时间:2024/05/21 22:24
本台主机上运行swift的web管理,登陆后报无法打开数据文件,于是登陆服务器查看进程都正常,尝试重启nginx,报如下错误 nginx.service failed to run 'start-pre' task: No space left on device
根据提示查看操作系统空间使用情况
文件系统 容量 已用 可用 已用% 挂载点
/dev/mapper/centos-root 50G 50G 100M 100% /
devtmpfs 898M 0 898M 0% /dev
tmpfs 908M 16K 908M 1% /dev/shm
tmpfs 908M 97M 812M 11% /run
tmpfs 908M 0 908M 0% /sys/fs/cgroup
/dev/mapper/centos-home 28G 33M 28G 1% /home
/dev/vda1 497M 179M 318M 36% /boot
tmpfs 182M 0 182M 0% /run/user/0
/dev/sdb1 40G 21G 20G 51% /mnt/sdb1
使用如下命令查找大文件
du -sh /var/* 2>/dev/null | sort -hr | head -3
最后发现是log文件占用大量空间,删除后nginx可以启动
- nginx报错:nginx.service failed to run 'start-pre' task: No space left on device
- jboss启动报错No space left on device
- 启动namenode节点报错:No space left on device
- mysql无法启动,报错 Can't start server: can't create PID file: No space left on device
- ORA-09817: Write to audit file failed Linux-x86_64 Error: 28: No space left on device
- No space left on device
- No space left on device
- No space left on device
- no space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- No space left on device
- js正则表达式中test,exec,match方法的区别说明
- 如何备份SolidWorks网络版服务器
- codeforces 682C Alyona and the Tree
- equals重写
- QFileSystemWatcher使用整理
- nginx报错:nginx.service failed to run 'start-pre' task: No space left on device
- 栈-leetcode 496. Next Greater Element I
- (python)百练1000: A+B Problem
- SSM框架中,mybits.xml配置,映射器的注意点
- 【前端】Handlebars,requirejs使用入门
- 历史图纸导入PDM方案
- Maven整合SSM三大框架
- 简单的春鞋!
- 马云无人超市店开业了,让我们一起去体验购物的乐趣