US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 03-28-2014, 10:54 AM   #1
Junior Member
 
Join Date: Apr 2013
Location: Romania
Posts: 9
mariusfv is on a distinguished road
Default 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
So today I've start a new backup plan management to can check eventually errors:
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
In the last year since I use ISPmanager is first time when this is happening.
Can someone help me please to solve this problem?
ISPmanager-Lite 4.4.10.22
Thanks in advance.
mariusfv is offline   Reply With Quote
Old 03-30-2014, 03:18 AM   #2
Support team
 
Join Date: Oct 2013
Posts: 44
usaafko is on a distinguished road
Default

Hello, please check you cron settings
do
ps axu|grep cron
crontab -l
usaafko is offline   Reply With Quote
Old 03-31-2014, 09:16 AM   #3
Junior Member
 
Join Date: Apr 2013
Location: Romania
Posts: 9
mariusfv is on a distinguished road
Exclamation

Code:
[root@server1 /]# ps axu|grep cron
root     23225  0.0  0.0   5504   740 pts/0    S+   08:40   0:00 grep cron
Crontab not installed.

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
So without an error log I'm stuck to solve my problem why Sheduler(cron) of ISPmanager and my backups are stopped suddenly?

Please some help.
mariusfv is offline   Reply With Quote
Old 04-03-2014, 11:57 AM   #4
Junior Member
 
Join Date: Apr 2013
Location: Romania
Posts: 9
mariusfv is on a distinguished road
Default 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
Now you can schedule a new backup and everything will work great, you can check your ISPmanager log with your favorite editor in:
Code:
 /usr/local/ispmgr/var/pbackup.log
I bet that others users of ISPmanager with Centos 6 with minimal install have stopped their backups after they upgrade to ISPmanager-Lite 4.4.10.22.
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
mariusfv is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:38 PM.