Jennykm

Registered
Jan 25, 2021
2
0
1
Pakistan
cPanel Access Level
Root Administrator
Hello

Any body Help in this regards

i have dedicated server

i have two drives one 1 drive there is backups and on first one operating system and cpanel installed i am copying users etc folder and accidently copied to / and now my server is inaccesable

i have request datacenter to recovery mode and mount my drive to see changes i saw ownership of etc changed i have cganged it to root again and tried to reboot the server in normal mode but failed to start cpanel whm

what is the solution for this if any body help me in this regards
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
914
313
cPanel Access Level
Root Administrator
Hey there! It sounds like you may have potentially overwritten the main /etc directory on the server, which would keep things from working properly. You may want to ask the datacenter to compare /etc from your machine to a fresh installation of CentOS with cPanel to see if everything there is present that should be, but on my personal system I have over 400 files and directories in /etc.

There isn't going to be an easy way to automatically resolve this issue, so you may need to reinstall the OS and cPanel in order to get things working again.