Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


my mKS 2G SSH doesn't work, what should I do?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

my mKS 2G SSH doesn't work, what should I do?

StarryStarry Member, Host Rep
edited March 2013 in General

I don't know what happened, my SSH suddenly refused my connection. I have rebooted my service, but the SSH service doesn't work (I didn't see the ssh service via RTM software), and also my MySQL down.

What should I do? I have submitted a ticket but I think it is not their work time now?

Comments

  • jhjh Member

    Rescue mode

  • Is there some sort of recovery console in the cp? Can't remember..

  • StarryStarry Member, Host Rep

    @jhadley I have tried the rescue mode, but it seems that the rescue mode only used to test the hardware?

  • @Jylee said: I have tried the rescue mode, but it seems that the rescue mode only used to test the hardware?

    no

    log in to manager -> netboot -> Boot in rescue mode

  • StarryStarry Member, Host Rep
    edited March 2013

    @camarg

    and then what should I do?

    it sends me a mail with password, I login the web interface and it makes a
    diagnosis of my server.

    And then I connected to the SSH server, i don't know what to do with it. It's empty in /mountsda*

    Can you show me how to deal with it? thanks.

  • it's the same thing as booting from a live cd

  • erhwegesrgsrerhwegesrgsr Member
    edited March 2013

    @Jylee

    $ mkdir /mount/hdd
    $ mount /dev/sda1 /mount/hdd
    $ chroot /mount/hdd

    Run those commands in rescue mode's SSH. Good luck :-)

    Dollars indicate new command

  • tuxtux Member

    @BronzeByte said: Dollars indicate new command

    No, it indicate user type ($=normal user and #=root)

  • StarryStarry Member, Host Rep

    @BronzeByte thanks, i can backup my data now...

    but I don't know how to solve the SSH problem, should I backup my data and then reinstall the OS?

  • @tux Yes for bash, but this isn't based, those are just a few commands

    @Jylee If you don't know the problem (maybe messed with grub or network) then reinstalling will be your only chance most likely

  • StarryStarry Member, Host Rep

    @BronzeByte
    OK,thanks...
    A lot of work to do- -

  • Did it reply to ping btw? (when SSH wasn't working)

  • StarryStarry Member, Host Rep

    @BronzeByte reply, and nginx、php-fpm is working. but mysql stopped

  • SpeedBusSpeedBus Member, Host Rep

    @Jylee said: but mysql stopped

    service mysqld start ?

  • StarryStarry Member, Host Rep

    @SpeedBus my SSH is down, how to run the command?

  • earlearl Member

    I remember they use to have a temporary KVMoIP, you should connect with that. then you don't need SSH

  • StarryStarry Member, Host Rep

    @earl the vKVM just stop at the starting page for a long time- -

  • StarryStarry Member, Host Rep

    @BronzeByte oh, I know what happened...

    I run chown www-data:www-data -R xxx.com / before.... Now I am trying to fix it...

  • SpeedBusSpeedBus Member, Host Rep

    @Jylee said: @SpeedBus my SSH is down, how to run the command?

    Tried restarting the ssh service via the rescue panel ?

  • reinstall the os

  • StarryStarry Member, Host Rep

    @SpeedBus @ZinnVPS

    thanks, i have solved the problem.

Sign In or Register to comment.