Dies ist eine mobil optimierte Seite, die schnell lädt. Wenn Sie die Seite ohne Optimierung laden möchten, dann klicken Sie auf diesen Text.

crontab - dyndns Anmeldung

Das es wohl nicht funktioniert und ich kein log unter var/log/FreeDNS-Accounts.log finde.
 
sorry, ich bin da jetzt raus, hellsehen kann ich nicht, und wenn du nicht verrätst, was im syslog zu der besagten zeit steht, musst du mit deinem geheimnis selber klar kommen.

cu
jensebub
 
Im syslog steht folgendes
Mar 24 18:27:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:28:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:29:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:30:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:31:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:32:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:33:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:34:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:35:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:36:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:37:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:38:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:39:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:40:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:41:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:42:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:43:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:44:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:45:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:46:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:47:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:48:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:49:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:50:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:51:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:52:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:53:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:54:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:55:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:56:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:57:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:58:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 18:59:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:00:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:01:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:02:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:03:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:04:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:05:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:06:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:07:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:08:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:09:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:10:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:11:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:12:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)
Mar 24 19:12:01 debian cron[397]: (*system*) ERROR (Missing newline before EOF, this crontab file will be ignored)
Mar 24 19:12:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:13:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:14:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:15:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:16:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:17:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:18:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:19:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:20:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:21:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:22:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:23:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:24:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:25:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:26:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:27:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:28:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:29:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:30:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:31:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:32:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:33:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:34:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:35:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:36:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:37:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:38:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:39:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:40:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:41:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:42:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:43:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:44:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:45:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:46:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:47:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:48:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:49:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:50:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:51:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:52:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:53:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:54:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:55:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:56:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:57:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:58:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 19:59:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:00:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:01:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:02:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:03:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:04:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:05:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:06:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:07:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:08:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:09:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:10:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:11:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:12:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:13:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:14:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:15:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:16:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:17:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:18:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:19:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:20:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:21:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:22:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:23:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:24:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:25:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:26:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:27:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)

Noch mal ein Ausschnitt.
Mar 24 20:33:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:34:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:35:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:36:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:37:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)
Mar 24 20:37:01 debian cron[397]: Error: bad username; while reading /etc/crontab
Mar 24 20:37:01 debian cron[397]: (*system*) ERROR (Syntax error, this crontab file will be ignored)

Mar 24 20:37:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:38:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:39:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:40:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:41:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:42:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:43:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:44:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:45:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:46:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:47:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:48:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:49:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:50:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:51:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:52:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:53:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:54:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:55:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:56:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:57:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
Mar 24 20:58:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
 
Zuletzt bearbeitet:
Schon mal sie dauerschleife die du als logeintrag hast, übersetzt?!

der cronjob in i jobs sollte wie folgt aussehen:
Code:
59 20 * * 6 root /usr/bin/FreeDNS.pl NUTZER PASS >> /var/log/FreeDNS-Accounts.log
ergibt sich aus dem Fehler:
Mar 24 20:37:01 debian cron[397]: Error: bad username; while reading /etc/crontab
Mar 24 20:37:01 debian cron[397]: (*system*) ERROR (Syntax error, this crontab file will be ignored)

Dann fehlt dir eine Leerzeile in i jobs am Ende:
Mar 24 19:12:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)
Mar 24 19:12:01 debian cron[397]: (*system*) ERROR (Missing newline before EOF, this crontab file will be ignored)

aber das Problem, was immer auftritt sind falsche Rechte in der Datei /etc/cron.d/php5
Mar 24 18:36:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)
ein
Code:
chmod 644 /etc/cron.d/php5
könnte da Abhilfe schaffen

Gesendet von meinem SM-G935F mit Tapatalk
 
Zuletzt bearbeitet:
Was ich nicht ganz verstanden ist das Leerzeichen.
Wo soll genau ein Leerzeichen sein ?


Gesendet von iPhone mit Tapatalk
 
am Ende der Datei (EOF heißt End Of File) also in der letzten Zeile
und nicht Leerzeichen, sondern Leerzeile <enter> und es gehört dahin, bei dir fehlt es!
 
Zuletzt bearbeitet:
Ich verstehs immer noch nicht ganz mit der Leerzeile.

Meinst du die fehlende im crontab Inhalt nach dem letzten Eintrag oder wo ?

Sollten nach dem B0efehl "chmod 644 /etc/cron.d/php5" die Rechte auf 644 stehen oder auf welchem Wert ?
 
- Den crontab habe ich angepasst: 45 10 * * 6 root /usr/bin/FreeDNS.pl USER PASS >> /var/log/FreeDNS-Accounts.log
Sollte erneut heute ujm 10:45 Uhr starten.

- Leerzeile ist eingefügt

- Die "Rechte" stehen auf 644 oder doch auf 744 ?

- Passwort und User stimmen überein.

Mal schauen was rauskommt.
 
Jetzt gibt das syslog mir folgendes aus

Mar 25 10:18:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)

Mar 25 10:19:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)

Mar 25 10:19:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)

Mar 25 10:20:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)

Mar 25 10:20:01 debian cron[397]: (*system*php5) INSECURE MODE (group/other writable) (/etc/cron.d/php5)

Mar 25 10:21:01 debian cron[397]: (*system*php5) RELOAD (/etc/cron.d/php5)

Mar 25 10:22:01 debian CRON[18622]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:27:01 debian CRON[18990]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:28:01 debian cron[397]: (*system*) RELOAD (/etc/crontab)

Mar 25 10:32:01 debian CRON[19365]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:37:01 debian CRON[19729]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:42:01 debian CRON[20079]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:45:01 debian CRON[20281]: (root) CMD (/usr/bin/FreeDNS.pl USER PASS >> /var/log/FreeDNS-Accounts.log)

Mar 25 10:45:01 debian cron[397]: 2017-03-25 10:45:01 1criFp-0005H9-Fb Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 10:45:01 debian cron[397]: 2017-03-25 10:45:01 1criFp-0005H9-Fb <= root@debian U=root P=local S=634

Mar 25 10:45:01 debian cron[397]: 2017-03-25 10:45:01 1criFp-0005H9-Fb Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 10:45:01 debian exim[20283]: 2017-03-25 10:45:01 1criFp-0005H9-Fb <= root@debian U=root P=local S=634

Mar 25 10:45:01 debian exim[20283]: 2017-03-25 10:45:01 1criFp-0005H9-Fb Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 10:45:01 debian exim[20283]: exim: could not open panic log - aborting: see message(s) above

Mar 25 10:45:01 debian CRON[20280]: (root) MAIL (mailed 51 bytes of output but got status 0x0001 from MTA#012)

Mar 25 10:45:01 debian cron[397]: exim: could not open panic log - aborting: see message(s) above

Mar 25 10:47:01 debian CRON[20419]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Mar 25 10:52:01 debian CRON[20753]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxxxxxxxxx_com.log 2>&1 & )

Die crons stehen allerdings im Ordner /etc/ in der Datei crontab.

Die log Datei unter FreeDNS-Accounts.log wurde angelegt und ist leer.

Dieser crontab mit aktualisierung aller 5 min der ip
2,7,12,17,22,27,32,37,42,47,52,57 * * * * root sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxxx_com.log 2>&1 &
funktioniert. Zeigt mir auch die log Datei an.
 
Zuletzt bearbeitet:
mach mal ein
Code:
chmod 666 /var/log/FreeDNS-Accounts.log
dann sollte das auch funktionieren
 
Selbst nach erneutem ändern der cron datei beim einloggen des dyndns anbieter um 11.20 Uhr bekomme ich keinen Eintrag in /var/log/FreeDNS-Accounts.log. Datei bleibt leer. Rechte wurden geänder auf 666.

Mar 25 11:17:01 debian CRON[22555]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxx_com.log 2>&1 & )

Mar 25 11:20:01 debian CRON[22775]: (root) CMD (/usr/bin/FreeDNS.pl USER PASSW >> /var/log/FreeDNS-Accounts.log)

Mar 25 11:20:01 debian cron[397]: 2017-03-25 11:20:01 1crinh-0005vN-Lf Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 11:20:01 debian cron[397]: 2017-03-25 11:20:01 1crinh-0005vN-Lf <= root@debian U=root P=local S=634

Mar 25 11:20:01 debian cron[397]: 2017-03-25 11:20:01 1crinh-0005vN-Lf Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 11:20:01 debian exim[22777]: 2017-03-25 11:20:01 1crinh-0005vN-Lf <= root@debian U=root P=local S=634

Mar 25 11:20:01 debian exim[22777]: 2017-03-25 11:20:01 1crinh-0005vN-Lf Cannot open main log file "/var/log/exim4/mainlog": Permission denied: euid=104 egid=109

Mar 25 11:20:01 debian exim[22777]: exim: could not open panic log - aborting: see message(s) above

Mar 25 11:20:01 debian CRON[22774]: (root) MAIL (mailed 51 bytes of output but got status 0x0001 from MTA#012)

Mar 25 11:20:01 debian cron[397]: exim: could not open panic log - aborting: see message(s) above

Mar 25 11:22:01 debian CRON[22929]: (root) CMD (sleep 26 ; wget --no-check-certificate -O - >> /tmp/freedns_xxx_com.log 2>&1 & )
 
da ich auch wie @al-x83 kein pearl kann, und das skript auch nicht wirklich kenne kann ich dir wenig über das Problem was bei der Ausgabe des skript passiert sagen, aber anhand der Fehlerbeschreibung würde ich jetzt ein:
Code:
chmod 666 /var/log/exim4/mainlog
machen. Aber ob das dann Abhilfe schafft kann ich dir nicht versprechen.
weitere Hinweise werden wohl in der Datei /var/mail/root stehen.
oder einfach mal mit "2>&1 &" am Ende probieren, also:
Code:
59 20 * * 6 root /usr/bin/FreeDNS.pl NUTZER PASS >> /var/log/FreeDNS-Accounts.log 2>&1 &
so wie du es bei dem funktionierenden ja auch machst
 
Die Datei unter /var/log/exim4/mainlog ist nicht vorhanden. Habe soeben im Verzeichnis nachgeschaut.

In der Datei /var/mail/root steht folgendes:
From andreas@debian Tue Feb 23 19:20:46 2016
Return-path: <andreas@debian>
Envelope-to: root@debian
Delivery-date: Tue, 23 Feb 2016 19:20:46 +0100
Received: from andreas by debian with local (Exim 4.84)
(envelope-from <andreas@debian>)
id xxx
for root@debian; Tue, 23 Feb 2016 19:20:46 +0100
To: root@debian
Auto-Submitted: auto-generated
Subject: *** SECURITY information for debian ***
From: andreas <andreas@debian>
Message-Id: <xxx@debian>
Date: Tue, 23 Feb 2016 19:20:46 +0100

debian : Feb 23 19:20:45 : andreas : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/andreas ; USER=root ; COMMAND=/usr/bin/passwd root

Werde es mit der Endung "2>&1 &" versuchen.
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…