博客 > 【Plesk经验分享】无法创建备份怎么办?
浏览量:4729次评论:0次
作者:Christina时间:2019-09-06 01:55:19
适用版本:
Plesk for Linux
问题
• 在Plesk中创建备份失败且出现下面的错误信息:
Error: The backup process failed: Failed to parse response. Reason: Failed to read data from stream Process output:
• 在Plesk panel.log 文件中可以找到如下错误:
ERR [panel] The backup process failed: Failed to parse response. Reason: Failed to read data from stream Process output:
• 使用CLI从一个控制台运行Plesk服务器备份失败,出现下面的错误信息:
# plesk bin pleskbackup server -v
Runtime error: Could not run make dump with pmmcli[Illegal seek]
exit status 1
• 运行上一条命令在 /usr/local/psa/PMM/logs/backup-
# cat /usr/local/psa/PMM/logs/backup-
DEBUG: LOG: custom log /var/log/plesk/PMM/backup-
CRITICAL: PMMException:
Failed to create session directory in '/usr/local/psa/PMM/sessions': [Errno 31] Too many links: '/usr/local/psa/PMM/sessions/
• 备份会话文件 /usr/local/psa/PMM/sessions 包含32000个子目录
# ls -l /usr/local/psa/PMM/sessions/ | wc -l
32000
原因
文件夹 /usr/local/psa/PMM/sessions 已达到 ext3 文件系统32000个子目录的上限。Plesk备份失败因为无法创建新的备份会话文件夹。
解决方案
1. 通过SSH连接服务器
2. 删除早于存储在 /usr/local/psa/admin/share/pmmcli/pmmcli-rc 配置文件中默认的 DAYS_TO_KEEP_SESSIONS 参数的备份会话文件夹:
# find /usr/local/psa/PMM/sessions/ -maxdepth 1 -type d -mtime +$(grep DAYS_TO_KEEP_SESSIONS /usr/local/psa/admin/share/pmmcli/pmmcli-rc | cut -f2 -d ' ') | xargs rm -rf
相关文章推荐
2025-01-14 15:44:13
2025-01-13 15:42:26
2025-01-07 15:38:22
2024-12-26 15:45:31
2024-12-25 15:21:42
热门工具
标签选择
阅读排行
我的评论
还未登录?点击登录