andybest
V2EX  ›  问与答

OpenVZ VPS无法启动SSH的问题谁遇到过?

  •  
  •   andybest · Mar 24, 2013 · 2969 views
    This topic created in 4864 days ago, the information mentioned may be changed or developed.
    一个Ramnode的128M SSD VPS,两天前自动重启了SSH就无法连接了
    连安装了DropBear都无法启动,启动后无任何错误信息,就是端口没有坚挺(尝试换了各个不同端口)
    谁遇到过类似的问题?任何建议和回复一定感谢!


    root@ssd:/# ps auxf
    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 1.0 2500 1352 ? Ss 17:38 0:00 init
    root 2 0.0 0.0 0 0 ? S 17:38 0:00 [kthreadd/1946]
    root 3 0.0 0.0 0 0 ? S 17:38 0:00 _ [khelper/1946]
    root 252 0.0 0.6 2332 904 ? Ss 17:38 0:00 cron
    root 502 0.0 0.5 27476 760 ? Ss 17:41 0:00 vzctl: pts/0
    root 503 0.0 1.2 3000 1648 pts/0 Ss 17:41 0:00 _ -bash
    root 533 0.0 0.6 2388 880 pts/0 R+ 17:58 0:00 _ ps auxf

    root@ssd:/# free -m
    total used free shared buffers cached
    Mem: 128 28 99 0 0 25
    -/+ buffers/cache: 2 125
    Swap: 128 0 128

    root@ssd:/# /etc/init.d/ssh start
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service ssh start

    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the start(8) utility, e.g. start ssh
    ssh stop/pre-start, process 581

    root@ssd:/# /etc/init.d/dropbear start
    Starting Dropbear SSH server: dropbear.

    root@ssd:/# netstat -nl
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    Active UNIX domain sockets (only servers)
    Proto RefCnt Flags Type State I-Node Path
    unix 2 [ ACC ] STREAM LISTENING 1033737609 @/com/ubuntu/upstart
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2310 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:50 · PVG 08:50 · LAX 17:50 · JFK 20:50
    ♥ Do have faith in what you're doing.