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.

Problem after cloning HD with cPanel

Discussion in 'General Discussion' started by souzafo, Oct 29, 2012.

  1. souzafo

    souzafo Member

    Joined:
    Mar 24, 2012
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Rio de Janeiro, Brazil
    cPanel Access Level:
    Root Administrator
    My cPanel was running on a 80GB IDE HD, and was presenting several errors. So I decided to make a copy of the HD using the dd command in linux. After copying ran a fsck on the disk to correct possible errors, and every time it restarts compiles various things, as if you were installing the cPanel again. Has anyone experienced this and can help?
    Sorry for bad English.
     
  2. souzafo

    souzafo Member

    Joined:
    Mar 24, 2012
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Rio de Janeiro, Brazil
    cPanel Access Level:
    Root Administrator
    I found this information in rc.local:
    # cat /etc/rc.local
    #!/bin/sh
    #
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.

    touch /var/lock/subsys/local
    if [ ! -d "/var/cpanel" ]; then
    nohup /home/cpinst/CDinstaller.sh & > /dev/null
    fi
    /scripts/rdate &
     
Loading...

Share This Page