Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 12:47:00

Author Topic: admin and users backup archives are empty  (Read 3614 times)

0 Members and 1 Guest are viewing this topic.

Offline geo

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
admin and users backup archives are empty
« on: 2014-04-10, 21:08:00 »
Hi,

The backup home option doesn't work. It makes empty archives...
I think the linux user that makes backup...lxadmin.., doesn't have rights to admin and kloxo users files.

I have Kloxo-MR 6.5.0.f-2014020301 on Centos 6.5.

Thank You.

Offline geo

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: admin and users backup archives are empty
« Reply #1 on: 2014-04-11, 09:02:34 »
I don't figure out... anyone some help? Please :)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: admin and users backup archives are empty
« Reply #2 on: 2014-04-11, 09:29:45 »
Inform here your 'sh /script/sysinfo; lxphp.exe -m'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline geo

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: admin and users backup archives are empty
« Reply #3 on: 2014-04-11, 14:19:13 »
# sh /script/sysinfo; lxphp.exe -m

A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.x86_64
   2. PHP: php-5.3.27-3.el6.x86_64
   3. Httpd: httpd-2.2.26-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1877       1613        264          0        157        571
   -/+ buffers/cache:        883        993
   Swap:          991          0        991

[PHP Modules]
bcmath
bz2
ctype
curl
date
dba
dom
exif
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
imap
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
ncurses
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
SQLite
standard
sysvsem
sysvshm
tidy
tokenizer
XCache
XCache Cacher
XCache Coverager
XCache Optimizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
XCache
XCache Cacher
XCache Coverager
XCache Optimizer


Thank You!

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: admin and users backup archives are empty
« Reply #4 on: 2014-04-12, 09:19:35 »
Hi,

The problem you have may have one of the following reasons:

There is at least one file or dir somewhere under home/* dir for admin or user that does not belong to the user:user or user:apache. Thus, either backup will break or make an empty backup.
OR
The database of kloxo, mysql or cdb is not in harmony with files and dir on the harddrive.

The solution is as follows:

1) Copy somewhere, like in /root/backup/var, /root/backup/html and /root/backup/email

a) /home/user_name/* -----> backup -----> for html files
b) /lxadmin/domains/domain_name -----> backup -----> for email boxes
c) /var/mysql/name_of_db -----> backup -----> for mysql db

2) Delete the domain from kloxo under that client. Note that deleting the domain shall not delete the html files or mysql database. Emails dir will be deleted.

3) Run cleanup and bring the system up-to-date and recreate new cdb + email files:

Execute: # sh /script/cleanup
Execute: # sh /script/fix-chownchmod

4) Create the domain under the client

5) Create all email@ mail boxes with the same email@domain.com as before

Execute sh /script/fix-all

The above solution will eradicate problems of chown or chmod and domain related problems to cdb, mysql and html forcefully.

If this also does not work you need to go one step higher.

Then you need to detele the client from kloxo, including domains, emails and mysql databases under that client.

In this case, at the stage of deleting the domain, delete th client. Then all the respective files of domain, email and mysql will be gone.

Create the domain and email boxes again as mentioned above in 4) and 5).

But you do have the backup under /root/backup. Then bring those files in the system back to its original place.

Execute: # sh /script/fix-all

Only thereafter you did the maximum possible. Then backup and restore may work. Here, when restoring, click on the client as well so that it will delete the old and restore the client completely.

Offline geo

  • Junior Member
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: admin and users backup archives are empty
« Reply #5 on: 2014-04-13, 22:44:55 »

I did a sh /script/restart and I found that kloxo-phpcgi was stopped... after that the home backup is working...

# sh /script/restart
Stopping kloxo-phpcgi:                                     [FAILED]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]

Thank You!  Kloxo-DR :)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: admin and users backup archives are empty
« Reply #6 on: 2014-04-14, 04:24:13 »
In context backup, not using kloxo-phpcgi (aka php-cgi/php-fpm for Kloxo-MR) but depend on lxphp.exe (aka php-cli for Kloxo-MR).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.069 seconds with 19 queries.

web stats analysis