Problem after cloning HD with cPanel

souzafo

Member
Mar 24, 2012
18
0
51
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.
 

souzafo

Member
Mar 24, 2012
18
0
51
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 &