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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Taking cPanel backup in rescue mode

Discussion in 'Data Protection' started by Jeet, Sep 15, 2017.

  1. Jeet

    Jeet Member

    Joined:
    May 20, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    My server is in rescue mode and I'm trying to follow the instructions listed here : Guide: Create account backups from a crashed hard drive

    Everything is fine until step 5, however, when I'm trying to start cpanel or mysql services, Centos 7 is redirecting me to /bin/systemctl and saying "Running in chroot, ignoring request."

    {chrooted}[root@rescue /]# service mysql start
    Redirecting to /bin/systemctl start mysql.service


    Any help would be highly appreciated.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    The systemd fails in chrooted environment. Rather than taking a backup, you can go with crash drive recovery of your machine directly from rescue mode to the new server..
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,615
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Start mysql in rescue

    /usr/bin/mysqld_safe > /dev/null 2>&1 &
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if the advice in the previous post helps.

    Thank you.
     
Loading...

Share This Page