03-28-2014, 10:54 AM | #1 |
Junior Member
Join Date: Apr 2013
Location: Romania
Posts: 9
|
Backup stopped suddenly
Hi,
Now I see that on 22 March my backup plan stopped suddenly. I've checked usr/local/ispmgr/var/pbackup.log And no log after 21 March, the end of 21 March log appear normally: Code:
Mar 21 16:33:08 [12974:0] ^[[1;32mINFO Deleting outdated archives...^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO found 6 daily archives, limit 6^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO found 3 weekly archives, limit 3^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO found 3 monthly archives, limit 3^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO Deleting /usr/local/ispmgr/var/.backup/root/1_Mybackups-2014-03-14.lst^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO Deleting /usr/local/ispmgr/var/.backup/root/1_Mybackups-2014-03-14.dir^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO Removing temporary directory: /tmp/pbkp_12974/^[[0m Mar 21 16:33:08 [12974:0] ^[[1;32mINFO Finishing [root] ...^[[0m Code:
Mar 28 08:28:37 [ 0:0] ^[[1;32mINFO Lookup log level for '/usr/local/ispmgr/var/pbackup.log' in 'etc/pbackup.debug'^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO /usr/local/ispmgr/sbin/pbackup scheck local /home/backups/ ^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO [Starting] planned backup system: 2014-03-28 08:28:37^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO User: root^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO Checking local storage /home/backups/ ...^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO Rootdir: /^[[0m Mar 28 08:28:37 [13317:0] ^[[1;36mEXTINFO Execute (/bin/touch /home/backups/pbkp_check) return=0 exited^[[0m Mar 28 08:28:37 [13317:0] ^[[1;32mINFO Finishing [root] ...^[[0m Can someone help me please to solve this problem? ISPmanager-Lite 4.4.10.22 Thanks in advance. |
03-31-2014, 09:16 AM | #3 |
Junior Member
Join Date: Apr 2013
Location: Romania
Posts: 9
|
Code:
[root@server1 /]# ps axu|grep cron root 23225 0.0 0.0 5504 740 pts/0 S+ 08:40 0:00 grep cron In: ISPmanager/Management Tools/Sheduler(cron): /usr/local/ispmgr/sbin/pbackup backup - appear to have correctly settings. Manual backup from ISPmanager working, I've tested. I've add logwatch as cron in ISPmnager: /usr/sbin/logwatch - to see if i get emails and with this occasion to check the ISPmanager cron module and via root the command: /usr/sbin/logwatch send me instant email with the log selected by me and via ISPmanager Sheduler(cron) no email in the last 3 days and interval is @daily in Sheduler(cron) of ISPmanager. In the log of backup usr/local/ispmgr/var/pbackup.log is present only the last log when I made manually the last backup: Code:
Mar 28 14:57:43 [14869:0] ^[[1;32mINFO [Starting] planned backup system: 2014-03-28 14:57:43^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO User: mfvbn^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Loading plan's info from ISPmanager...^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Plan: 2^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Plan name: BackupMarius^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Archiver: tgz^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Storage: local^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Storage path: /home/backups^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Checking user's access to admin mode ...^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO ... access granted^[[0m Mar 28 14:57:43 [14869:0] ^[[1;32mINFO Downloading archive ...^[[0m Mar 28 15:05:01 [14869:0] ^[[1;36mEXTINFO Execute (/bin/cat /home/backups/mfvbn/admin-2_full-2014-03-28.tar.gz) return=0 exited^[[0m Mar 28 15:05:01 [14869:0] ^[[1;32mINFO Finishing [mfvbn] ...^[[0m Please some help. |
04-03-2014, 11:57 AM | #4 |
Junior Member
Join Date: Apr 2013
Location: Romania
Posts: 9
|
Problem and solution
I found the problem and the solution.
The problem is that on Centos 6 the minimal install doesn't include "crontab" services by default, so you must to install and enable them. If you are on Centos 6 and ISPmanager to solve your issue: Code:
#yum install vixie-cron Enable the package on boot and start # /sbin/chkconfig crond on # /etc/init.d/crond start #killall ispmgr Code:
/usr/local/ispmgr/var/pbackup.log I've analysed the log and I see "ispmanager" returned 0(excited) because after the upgrade in someway is not part of group root. @ Solved |
|
|