Need help ,all my site shows me apache default page.

bihuidc

New member
Joined
Dec 11, 2013
Messages
2
My server's hard drive was broke,
and I reinstall DA in a new hard drive,same centos5 same DA.
I restored my files form the old drive:

/usr/local/directadmin
/var/lib/mysql
/etc/httpd/conf
/home

Now mysql is ok,DA:2222 is ok.

Thanks.
 
Did you use backup/restore function inside directadmin or did you just copied the files manually?

If you did copied files manually, did you create all the user one-by-one? Did you restore the permissions?

Regards
 
Did you use backup/restore function inside directadmin or did you just copied the files manually?

If you did copied files manually, did you create all the user one-by-one? Did you restore the permissions?

Regards

Thank you,

I did it like this:
cp -a -r /mnt/hda2/var/lib/mysql/mysql/ /var/lib/mysql/

I dont restore the permissions, and how to do the permissions?
 
So that restored mysql data in an actually not suggested way.. no the users aswell.

What about the /home ?

For restore file premissions and owners you should try this:

/usr/local/directadmin/scripts/set_permissions.sh all

But im not sure how much well should work cause actually i dont know how did you restore...

Regards
 
Back
Top