Help Restoring user/domain to new server

Hachi

Verified User
Joined
Dec 12, 2011
Messages
8
Moving from CentOS 4.9 to 5.7. Getting the following errors:

Domain domain.org CreatedDomain Created Successfully

Unable to write /etc/virtual/domain.org/quota : Unable to open /etc/virtual/domain.org/quota for reading.
Unable to stat /etc/virtual/domain.org/quota.temp for filesize after write
ConfigFile::removeFile(/etc/virtual/domain.org/quota) filename does not match

Unable to write alias file /etc/virtual/domain.org/aliases
Error setting the catch all value

Unable to create database driwebm_mydri. Can't create database 'driwebm_mydri' (errno: 28)
Unable to restore database driwebm&#95mydri.sql to driwebm_mydri : ERROR 1045 (28000): Access denied for user 'driwebm'@'localhost' (using password: NO)

Unable to create database driwebm_mydri2. Can't create database 'driwebm_mydri2' (errno: 28)
Unable to restore database driwebm&#95mydri&#50.sql to driwebm_mydri2 : ERROR 1045 (28000): Access denied for user 'driwebm'@'localhost' (using password: NO)


Error writing db file for domain.org : Unable to save dns zone: named-zonecheck returned:
loading "domain.org" from "/var/named/domain.org.db.temp" class "IN"
zone domain.org/IN: has 0 SOA records
zone domain.org/IN: has no NS records




User's System Quotas set

User's System Quotas set
Unable to write the ftp config file for domain domain.org
Unable to write the domain config file for domain domain.org
An error occurred while writing the user_ip.list file: Unable to stat ./data/users/driwebm/user_ip.list.temp for filesize after write
ListFile::removeFile(./data/users/driwebm/user_ip.list) filename does not match



User's System Quotas set

User's System Quotas set
Unable to write the ftp config file for domain domain.org
Unable to write the domain config file for domain domain.org
An error occurred while writing the user_ip.list file: Unable to stat ./data/users/driwebm/user_ip.list.temp for filesize after write
ListFile::removeFile(./data/users/driwebm/user_ip.list) filename does not match
 
Do you have enough space on HDD there?

Show

Code:
df -h

and

Code:
mount

so we could go further in diagnostics of your issue.

Is it a single user specific error? Or the same things happen to all users of yours?
 
This is a fresh install of CentOS and DA. There is plenty of HDD space available after the restore.

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 40G 26G 13G 68% /


/dev/sda2 on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw,nodev)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdb1 on /backup type ext3 (rw,_netdev)
 
Do you a have only one user account? Or more than one? Does the only one user account fail to restore or as well others?
 
New install has only admin account. Restoring one user containing one domain which results in the errors I previously posted.
 
Try DirectAdmin File Permission/Ownership script

Code:
# /usr/local/directadmin/scripts/set_permissions.sh all

and run restore again.
 
Back
Top