简体   繁体   English

Amazon EC2错误或应用程序错误-swapon:/ dev / sda3:读取交换头失败

[英]Amazon EC2 Error or Application Error - swapon: /dev/sda3: read swap header failed

Can anyone tell me what this error is? 谁能告诉我这个错误是什么? Is this an Amazon EC2 related error? 这是与Amazon EC2相关的错误吗?

Our application is hosted on Amazon EC2 and when we try to hit the site we are getting a blank page with 503 error. 我们的应用程序托管在Amazon EC2上,当我们尝试访问该网站时,我们将看到一个空白页面,显示503错误。

There is nothing unusual other than the error we located on the Amazon System report. 除了我们在Amazon System报告中找到的错误之外,没有其他异常。

swapon: /dev/sda3: read swap header failed: Invalid argument swapon:/ dev / sda3:读取交换头失败:参数无效

mountall: swapon /dev/sda3 449 terminated with status 255 mountall:swapon / dev / sda3 449终止,状态为255

mountall: Problem activating swap: /dev/sda3 mountall:激活交换时出现问题:/ dev / sda3

Asking all remaining processes to terminate...

[80G init: Error while reading from descriptor: Bad file descriptor [80G初始化:从描述符读取时出错:错误的文件描述符

init: Error while reading from descriptor: Bad file descriptor init:从描述符读取时出错:错误的文件描述符

init: Error while reading from descriptor: Bad file descriptor init:从描述符读取时出错:错误的文件描述符

init: Error while reading from descriptor: Bad file descriptor init:从描述符读取时出错:错误的文件描述符

Its reading like a disk failure. 它的读取就像磁盘故障一样。 If you were using instance storage, you should be restoring from backups. 如果使用实例存储,则应从备份中还原。 If you were using EBS volumes, you will need to restore from a snapshot. 如果使用的是EBS卷,则需要从快照还原。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM