[Eisfair] [EISFAIR1] Dyndns Paket liefert Fehler über Cron
Thomas Huebner
thuebner_gmx_de at eis.stadtweg
Mo Mär 5 19:27:33 CET 2012
Am 05.03.2012 18:13, schrieb Holger Bruenjes:
> Kannst Du bitte in die Datei
>
> /usr/local/dyndns/bin/dyndns
>
> so ab Zeile 18 folgendes schreiben
>
> exec 2>/tmp/dyndns-trace$$.log
> set -x
der obere Teil sieht jetzt so aus - Dein Code (exec) ist in Zeile 18
#!/bin/sh
#------------------------------------------------------------------------------
# /usr/local/dyndns/bin/dyndns
#
# --- dyndns 1.1.0 for Eis/Fair Server ---
#
# Copyright (c) 2004 Hans-Peter Seiler <hanspeterseiler(at)web.de>
#
# Creation: 07.02.2004 hs
# Last Update: 01.01.2006 hs
# Last Update: $Id: dyndns 3444 2011-06-26 20:19:50Z holbru $
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#------------------------------------------------------------------------------
exec 2>/tmp/dyndns-trace$$.log
set -x
. /etc/config.d/dyndns
# get parameters
provider=$DYNDNS_PROVIDER
ipfrom=$DYNDNS_IP_FROM
flihost=$DYNDNS_FLI_IP
fliport=$DYNDNS_FLI_PORT
fliuser=$DYNDNS_FLI_USER
flipass=$DYNDNS_FLI_PASS
> dann solltes Du den cron job einmal ausfuehren, dabei faellt dann eine
Habe ich gemacht und wieder die Mail bekommen:
/bin/sh: bin: command not found
Job * /usr/local/dyndns/bin/dyndns >/dev/null terminated (exit status:
127) (mailing output)
> Datei in /tmp an, die Du mir bitte schickst.
Leider wird nichts geschrieben
eis # ls /tmp/dyndns-trace*
ls: cannot access /tmp/dyndns-trace*: No such file or directory
eis #
Mehr Informationen über die Mailingliste Eisfair