Current time: 09-29-2024, 07:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
Backups und Cronjobs starten nicht mehr
Author Message
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #1
Backups und Cronjobs starten nicht mehr
Hi

es mag sein, dass diess Problem schon gelöst wurde, hab aber über die Suche nichts gefunden, was mir weiterhelfen würde. Alle Tips habe ich probiert.

Mein Problem: Plötzlich wurden keine Backups mehr erstellt und Cronjobs werden auch nicht mehr ausgeführt. Manuell kann ich das Backup starten, und das läuft auch dann ohne Fehler durch.

Alle anderen Dinge, wie Trfficberechnung etc.laufen ebenfalls nicht mehr, diese lassen sich aber manuell auch ausführen. Woran kann das noch liegen?

Zum System:
Rootserver
Debian Lenny 32bit
ispcp Omega 1.0.0
04-17-2009 02:35 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Backups und Cronjobs starten nicht mehr
läuft der cron daemon?
04-17-2009 02:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #3
RE: Backups und Cronjobs starten nicht mehr
Wie stell ich das fest?
Wenn ich das

Code:
sh -x /etc/init.d/cron start

in der Shell eingebe, kommt das raus:

Code:
+ test -f /usr/sbin/cron
+ PIDFILE=/var/run/crond.pid
+ '[' -e /etc/cron.pid ']'
+ '[' -r /etc/default/cron ']'
+ . /etc/default/cron
++ READ_ENV=yes
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ '[' yes = yes ']'
+ export LANG LC_ALL LC_CTYPE
+ parse_environment
+ ENV_FILE=none
+ '[' -r /etc/environment ']'
+ ENV_FILE=/etc/environment
+ '[' -r /etc/default/locale ']'
+ ENV_FILE=/etc/default/locale
+ '[' /etc/default/locale = none ']'
+ for var in LANG LC_ALL LC_CTYPE
++ egrep '^[^#]*LANG=' /etc/default/locale
++ tail -n1
++ cut -d= -f2
+ value=de_DE@euro
+ eval LANG=de_DE@euro
++ LANG=de_DE@euro
+ for var in LANG LC_ALL LC_CTYPE
++ egrep '^[^#]*LC_ALL=' /etc/default/locale
++ tail -n1
++ cut -d= -f2
+ value=
+ eval LC_ALL=
++ LC_ALL=
+ for var in LANG LC_ALL LC_CTYPE
++ egrep '^[^#]*LC_CTYPE=' /etc/default/locale
++ tail -n1
++ cut -d= -f2
+ value=
+ eval LC_CTYPE=
++ LC_CTYPE=
+ case "$1" in
+ log_daemon_msg 'Starting periodic command scheduler' crond
+ '[' -z 'Starting periodic command scheduler' ']'
+ log_daemon_msg_pre 'Starting periodic command scheduler' crond
+ :
+ '[' -z crond ']'
+ echo -n 'Starting periodic command scheduler: crond'
Starting periodic command scheduler: crond+ log_daemon_msg_post 'Starting periodic command scheduler' crond
+ :
+ start-stop-daemon --start --quiet --pidfile /var/run/crond.pid --name cron --startas /usr/sbin/cron --
+ log_end_msg 1
+ '[' -z 1 ']'
+ retval=1
+ log_end_msg_pre 1
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xvt100 '!=' '' ']'
+ '[' xvt100 '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ case "$FANCYTTY" in
+ false
+ RED=
+ YELLOW=
+ NORMAL=
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 255 ']'
+ /bin/echo -e ' failed!'
failed!
+ log_end_msg_post 1
+ :
+ return 1
+ exit 0

Läuft der Deamon korekt oder was genau heisst das?
(This post was last modified: 04-17-2009 03:20 AM by Stanley80.)
04-17-2009 02:42 AM
Find all posts by this user Quote this message in a reply
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #4
RE: Backups und Cronjobs starten nicht mehr
Möcht das nochmal pushen, ist echt wichtig.
04-17-2009 08:19 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: #5
RE: Backups und Cronjobs starten nicht mehr
Code:
# ps -aef | grep cron

Wenn nicht dann einfach starten oder restarten
Code:
# /etc/init.d/cron start
Code:
# /etc/init.d/cron restart

Greez BeNe
04-17-2009 08:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #6
RE: Backups und Cronjobs starten nicht mehr
Code:
ps -aef | grep cron

ergibt das folgenden:

Code:
root      7462     1  0 12:53 ?        00:00:00 /usr/sbin/cron
root      7465  7425  0 12:54 pts/0    00:00:00 grep cron

Trotzdem starten weder die von mir per

Code:
crontab -e


angelegten, noch die ispcp-eigenen Cronjobs.
04-17-2009 08:56 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: #7
RE: Backups und Cronjobs starten nicht mehr
Dann poste doch mal bitte deine crons hier rein!
Was sagt denn das syslog bzw. log dazu ?

Bringt das ein Output ?
Code:
# cat /var/log/syslog | grep /USR/SBIN/CRON

Greez BeNe
04-17-2009 09:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #8
RE: Backups und Cronjobs starten nicht mehr
Meine Crons

Code:
# m h  dom mon dow   command
0 3 * * * root rsync -av --delete /var/www/virtual/fellnasen-and-friends.de/backups/ rsync://backup-service.unitedcolo.de/backup5456/Fellnasen

Auf
Code:
cat /var/log/syslog | grep /USR/SBIN/CRON

gibts ne Menge, ne Tierisch lange Liste.
04-17-2009 09:07 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: #9
RE: Backups und Cronjobs starten nicht mehr
Quote:gibts ne Menge, ne Tierisch lange Liste.
Schön, dann laufen doch deine Crons!
Dann läuft nur die eine nicht ?
Am besten schaust Du mal selber in die syslog und sucht nach der Uhrzeit der Crons und deren aufruf welche Du meinst die nicht gehen sollten.
Dazu sollte es ebenfalls ein Log geben.

Greez BeNe
04-17-2009 09:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Stanley80 Offline
Newbie
*

Posts: 9
Joined: Apr 2009
Reputation: 0
Post: #10
RE: Backups und Cronjobs starten nicht mehr
Aber auch die automatischen Backups werden nicht erstellt
04-17-2009 09:36 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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