Current time: 06-22-2024, 08:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
backups funktionieren nicht mehr
Author Message
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #1
backups funktionieren nicht mehr
meien backup werden nicht gemacht. ich habe die /etc/cron.d/ispcp geändert und andere uhrzeit eingetragen:

Code:
# Backup
0       02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
30      02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

sonst habe ich nichts geändert...ich versuchte das ganze manuell zu starten dann kommt folgendes:
Code:
ns205837:/etc/cron.d# vim /var/log/ispcp/ispcp-backup-all-mngr.log
DEBUG: push_el() sub_name: backup_all_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: ERROR: backup request engine already locked !
DEBUG: pop_el() sub_name: lock_backup_all_system(), msg: ERROR: backup request engine already locked !
ERROR: backup request engine already locked !


MENKI
(This post was last modified: 03-18-2009 04:38 AM by menki.)
03-18-2009 04:05 AM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #2
RE: backups funktionieren nicht mehr
(03-18-2009 04:05 AM)menki Wrote:  meien backup werden nicht gemacht. ich habe die /etc/cron.d/ispcp geändert und andere uhrzeit eingetragen:

Code:
# Backup
0       02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
30      02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

sonst habe ich nichts geändert...ich versuchte das ganze manuell zu starten dann kommt folgendes:
Code:
ns205837:/etc/cron.d# vim /var/log/ispcp/ispcp-backup-all-mngr.log
DEBUG: push_el() sub_name: backup_all_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_backup_all_system(), msg: ERROR: backup request engine already locked !
DEBUG: pop_el() sub_name: lock_backup_all_system(), msg: ERROR: backup request engine already locked !
ERROR: backup request engine already locked !


MENKI


lösch mal die .lock datei und schubs der ispcp-backup-all an.
evtl. ist zwischendurch irgendwo ein fehler aufgetreten und die .lock datei ist nicht gelöscht worden.
03-18-2009 06:14 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: backups funktionieren nicht mehr
Richtig!
Die lock liegt unter /tmp.
Ist nur die Frage warum der keine Ende gefunden hat...
Hast Du die komprimierung auf Bz2 oder gzip ?

Greez BeNe
03-18-2009 06:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #4
RE: backups funktionieren nicht mehr
die lock habe ich gelöscht und das erstellen des backups funktioniert manuell. jedoch will das backup nicht per cron starten. das ist meine gesamt /etc/cron.d/ispcp

Code:
# delayed tasks START.

# Quota
15      09      *       *       *  root /var/www/ispcp/engine/quota/ispcp-dsk-quota &>/var/log/ispcp/ispcp-dsk-quota.log

# Traffic
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45   *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log

# customer logs
@daily root /var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr &>/var/log/ispcp/ispcp-httpd-logs-mngr.log

# Backup
30     02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
0      02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

# Remove config backups older than seven days
15      08      *       *          root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm

# Remove Daemon Logs older than 14 days (except .gz files)
@daily root find /var/log/ispcp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm

# AWStats
15      06      *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

# Rootkit Hunter
0       */12    *       *       *       root /usr/bin/rkhunter  --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1

# Chkrootkit
0       */12    *       *       *       root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log

# Look for and purge old sessions every 30 minutes
0,30 *     * * *     root   /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.

# [{DMN_NAME}]:{CRONJOB_ID} custom task START.
# [{DMN_NAME}]:{CRONJOB_ID} custom task END.

# [{DMN_NAME}] AWStats static tasks START.
# [{DMN_NAME}] AWStats static tasks END.

# delayed tasks END.

was ist an dieser falsch. wie gesagt ich änderte an diese nur die start uhrzeit des backups sonst nichts. ich habe jetzt mal das backup manuell gestartet...es soltle aber automatisch funktionieren. Smile

MENKI
03-18-2009 11:56 AM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #5
RE: backups funktionieren nicht mehr
(03-18-2009 11:56 AM)menki Wrote:  die lock habe ich gelöscht und das erstellen des backups funktioniert manuell. jedoch will das backup nicht per cron starten. das ist meine gesamt /etc/cron.d/ispcp

Code:
# delayed tasks START.

# Quota
15      09      *       *       *  root /var/www/ispcp/engine/quota/ispcp-dsk-quota &>/var/log/ispcp/ispcp-dsk-quota.log

# Traffic
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45   *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log

# customer logs
@daily root /var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr &>/var/log/ispcp/ispcp-httpd-logs-mngr.log

# Backup
30     02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
0      02    *       *       *    root  /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log

# Remove config backups older than seven days
15      08      *       *          root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm

# Remove Daemon Logs older than 14 days (except .gz files)
@daily root find /var/log/ispcp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm

# AWStats
15      06      *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

# Rootkit Hunter
0       */12    *       *       *       root /usr/bin/rkhunter  --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1

# Chkrootkit
0       */12    *       *       *       root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log

# Look for and purge old sessions every 30 minutes
0,30 *     * * *     root   /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.

# [{DMN_NAME}]:{CRONJOB_ID} custom task START.
# [{DMN_NAME}]:{CRONJOB_ID} custom task END.

# [{DMN_NAME}] AWStats static tasks START.
# [{DMN_NAME}] AWStats static tasks END.

# delayed tasks END.

was ist an dieser falsch. wie gesagt ich änderte an diese nur die start uhrzeit des backups sonst nichts. ich habe jetzt mal das backup manuell gestartet...es soltle aber automatisch funktionieren. Smile

MENKI

Wann hattest Du das den manuell getestet ? vor 2:30 uhr?
wurde die .lock Datei erstellt als der Cron um 2:30 Uhr lief?
Schau am Besten morgen vormittag mal ob die .lock dann wieder weg ist.
Wenn ja, dann läuft es.
(This post was last modified: 03-18-2009 01:34 PM by FISA4.)
03-18-2009 01:33 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: backups funktionieren nicht mehr
Es wird wenn dann an der Zeit liegen. Was hast Du denn für ein Load wenn das Backup läuft ?

Greez BeNe
03-18-2009 04:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #7
RE: backups funktionieren nicht mehr
irgendwie ist meine /etc/cron.d/ispcp nicht in ordnung....

kann mir einer so eine datei nochmals posten...dann ersetze ich sie einfach. meine traffic crons werden seit ich da was gändert habe nicht ausgeführt. Smile

danke

MENKI
03-20-2009 08:55 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #8
RE: backups funktionieren nicht mehr
(03-20-2009 08:55 AM)menki Wrote:  irgendwie ist meine /etc/cron.d/ispcp nicht in ordnung....

kann mir einer so eine datei nochmals posten...dann ersetze ich sie einfach. meine traffic crons werden seit ich da was gändert habe nicht ausgeführt. Smile

danke

MENKI

und das hatt dir der ZooL ja vorher gesagt, aber menki hatte ihm nicht geglaubt !!!!

http://www.isp-control.net/documentation...don_t_work
(This post was last modified: 03-20-2009 09:27 AM by ZooL.)
03-20-2009 09:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)