Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Locked out from server

Discussion in 'General Discussion' started by Yanuar Baskoro, Jan 20, 2018.

  1. Yanuar Baskoro

    Yanuar Baskoro Registered

    Joined:
    Jan 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Hello fellow cPanel User.

    This occur yesterday January 19th, 2018 6.45AM (+7GMT) I've got info from my fellow Tech Support that one of our server got "Starting sshd: Privilege separation user sshd does not exist FAILED" messages. Shortly all function goes down except WHM.
    So I managed to access our server via IPMI console, but with no luck. I can't login with its credential, so I decide to reboot it.
    In the process I found that my "/" mounted as -ro, I still cant login to it via console, but strangely I can access it via WHM interface and there's no active process user except dbus and nscd

    What I've done is :
    full fsck
    - If I load Cloudlinux kernel 2.6.32-896.16.1.lve1.4.49.el6.x86_64, dracut will mount "/" as ro, indeed I can't login to console via IPMI and I can't login to WHM either because WHM tells me that its license is invalid/expired

    - dracut didn't mount the "/" as ro with Cloudlinux kernel “2.6.32-673.26.1.lve1.4.30.el6.x86_64” . but I still can't logon to console via IPMI. WHM login is doable but I can't do anything further than submitting cPanel ticket, but they can't help further due to lack of access since we can't bring sshd up
     
    #1 Yanuar Baskoro, Jan 20, 2018
    Last edited by a moderator: Jan 20, 2018
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    722
    Likes Received:
    245
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Have you tried the script that will provide a minimal, default configuration of SSH to allow you to log in. To use this script, you append the following to the url for WHM: /scripts2/doautofixer?autofix=safesshrestart

    eg https://YourServerIP:2087/scripts2/doautofixer?autofix=safesshrestart

    Take note of the output from running that script, as it may restart ssh on a port other than 22 if somehow the previous ssh instance is still running.

    (Please note: If you are thinking about upgrading the Kernel to current, if you are running on Xen PV, the CloudLinux Kernels written to mitigate the Meltdown/Spectre exploits will not work, and you should migrate to Xen HVM)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 rpvw, Jan 20, 2018
    Last edited: Jan 20, 2018
  3. Yanuar Baskoro

    Yanuar Baskoro Registered

    Joined:
    Jan 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    I have tried that but no luck, sshd refuse to start. I've contacted Cloudlinux about this issue. I'll update this thread since they haven't seen issue like this

    Thank you for replying anyway :)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Were they able to help you solve the issue?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Yanuar Baskoro

    Yanuar Baskoro Registered

    Joined:
    Jan 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    nope, they say my case is one of kind. A lot of package has been corrupted by unknown reason.

    Now I manage to transfer our server to another server in rescue layer. I'll let they continue after we finished, so they can continue investigating the case. I have another 2 weeks before datacenter suspend my server.

    Since mysql service refuses to start, I transfer all database as FRM, MYI and MYD. I'll let you know when they found something.

    6TB of data are pain in the @## to move thou :(
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice