V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
gssong
V2EX  ›  CentOS

阿里云 ECS, centos7.3 /bin/bash 丢失该如何排查怎么引起的问题

  •  
  •   gssong · Apr 26, 2020 · 2768 views
    This topic created in 2198 days ago, the information mentioned may be changed or developed.

    服务器上部署了个文件预览的应用

    运行一段时间后,连接服务器就报密码错误,重启之后服务器就彻底无法连接了,一直报超时。

    给阿里云提工单回复:

    当前挂载 pe 查看 bash 丢失,但尝试找同系统的服务器进行下载还是无法使用的。

    后来用 docker 部署该项目的时候,过一段时间进入容器

    会报如下错误

    rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:235: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory"
    

    没有修改过任何系统配置

    这种问题该如何排查是什么原因引起的,很没有头绪

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2419 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:33 · PVG 17:33 · LAX 02:33 · JFK 05:33
    ♥ Do have faith in what you're doing.