View previous topic :: View next topic |
Author |
Message |
barthi Apprentice
Joined: 02 Mar 2003 Posts: 256
|
Posted: Sun Apr 15, 2007 12:12 pm Post subject: Probleme mit DDCLIENT |
|
|
Hallo!
Ich weiß, es gibt zig topics mit dem Titel, aber ich finde einfach keine Lösung zu meinem Problem.
Bis vor kurzem hat der ddclient wunderbar funktioniert. Aber seit neustem updated er die IP nicht mehr.
Ich dachte zuerst, das vielleicht der dienst nicht mehr funktioniert und hab dann alle 10 min von Hand
aufgerufen.
Das lieferte dann immer folgende Ausgabe:
Code: |
use=if, if=eth0 address is 192.168.0.1
use=if, if=eth1 address is NOT FOUND
use=if, if=lo address is 127.0.0.1
use=if, if=ppp0 address is 84.169.84.123
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line
1641.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line
1641.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line
1641.
use=if, if=sit0 address is NOT FOUND
use=web, web=dnspark address is 84.169.84.123
use=web, web=dyndns address is 84.169.84.123
use=web, web=checkip.dyndns.org/ address is 84.169.84.123
|
84.169.84.123 ist auch die aktuelle IP. Wenn ich diese von Hand bei DynDNS eintrage funktioniert alles wieder.
Aber aus irgendeinem Grund wird eben nicht mehr geupdated.
Ich hab dann mal ddclient im DEBUG laufen lassen, was folgende ausgabe lieferte:
Code: |
gentoo ~ # ddclient -daemon=0 -debug -verbose -noquiet
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : 0
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : <undefined>
opt{force} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 1296000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{daemon} : 60
globals{debug} : 1
globals{login} : <meinLogin>
globals{mail-failure} : root
globals{password} : <meinPW>
globals{pid} : /var/run/ddclient.pid
globals{quiet} : 0
globals{syslog} : 1
globals{use} : web
globals{verbose} : 1
globals{web} : checkip.dyndns.org/
globals{web-skip} : IP Address
globals{wildcard} : 1
=== config ====
config{<MeinHostName>}{atime} : 2627532962
config{<MeinHostName>}{backupmx} : 0
config{<MeinHostName>}{cacheable} : ARRAY(0xa242c0)
config{<MeinHostName>}{custom} : 0
config{<MeinHostName>}{host} : <MeinHostName>
config{<MeinHostName>}{ip} : 84.169.41.254
config{<MeinHostName>}{login} : <meinLogin>
config{<MeinHostName>}{max-interval} : 1296000
config{<MeinHostName>}{min-error-interval} : 300
config{<MeinHostName>}{min-interval} : 30
config{<MeinHostName>}{mtime} : 2627532962
config{<MeinHostName>}{mx} :
config{<MeinHostName>}{password} : <meinPW>
config{<MeinHostName>}{protocol} : dyndns2
config{<MeinHostName>}{server} : members.dyndns.org
config{<MeinHostName>}{static} : 0
config{<MeinHostName>}{status} : good
config{<MeinHostName>}{warned-min-error-interval} : 0
config{<MeinHostName>}{warned-min-interval} : 0
config{<MeinHostName>}{wildcard} : 1
config{<MeinHostName>}{wtime} : 30
=== cache ====
cache{<MeinHostName>}{atime} : 2627532962
cache{<MeinHostName>}{backupmx} : 0
cache{<MeinHostName>}{custom} : 0
cache{<MeinHostName>}{host} : <MeinHostName>
cache{<MeinHostName>}{ip} : 84.169.41.254
cache{<MeinHostName>}{mtime} : 2627532962
cache{<MeinHostName>}{mx} :
cache{<MeinHostName>}{static} : 0
cache{<MeinHostName>}{status} : good
cache{<MeinHostName>}{warned-min-error-interval} : 0
cache{<MeinHostName>}{warned-min-interval} : 1176635516
cache{<MeinHostName>}{wildcard} : 0
cache{<MeinHostName>}{wtime} : 30
DEBUG: proxy =
DEBUG: url = checkip.dyndns.org/
DEBUG: server = checkip.dyndns.org
DEBUG: opt(fw =
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 1641.
DEBUG: glo fw =
CONNECT: checkip.dyndns.org
CONNECTED: using HTTP
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.org
SENDING: User-Agent: ddclient/3.7.0
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Content-Type: text/html
RECEIVE: Server: DynDNS-CheckIP/1.0
RECEIVE: Connection: close
RECEIVE: Cache-Control: no-cache
RECEIVE: Pragma: no-cache
RECEIVE: Content-Length: 105
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 84.169.84.123</body></html>
DEBUG: get_ip: using web, checkip.dyndns.org/ reports 84.169.84.123
WARNING: skipping update of <MeinHostName> from 84.169.41.254 to 84.169.84.123.
WARNING: last updated Sun Apr 6 07:16:02 2053.
WARNING: Wait at least 30 seconds between update attempts.
|
Leider kann ich damit auch nicht viel anfangen.
Mein Config-File sieht so aus:
Code: |
daemon=600 # check every 600 seconds
syslog=yes # log update msgs to syslog
#mail=root # not neccessary
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
login=<meinLogin> # default login
password=<meinPW> # default password
#mx=mx.for.your.host # default MX
#backupmx=yes|no # host is primary MX?
wildcard=yes # add wildcard CNAME?
server=members.dyndns.org, \
protocol=dyndns2 \
<MeinHostName>
|
Habt Ihr vielleicht ne Idee, wo das Problem liegt?
Danke,
barthi |
|
Back to top |
|
|
jkoerner Apprentice
Joined: 04 Nov 2006 Posts: 270
|
Posted: Wed Apr 18, 2007 7:37 am Post subject: |
|
|
Moin,
die .conf sieht ok aus, exitstiert auch das Pidfile im angegebenen Pfad?
Da hier niemand eine Lösung zu haben scheint, hier mein Vorschlag:
Ich hatte auch Probleme mit ddclient und bin nach Aufgabe zu inadyn gewechselt
und ab dem Zeitpunkt hatte ich Ruhe... |
|
Back to top |
|
|
Wolle Apprentice
Joined: 07 May 2003 Posts: 256 Location: Hamburg (Germany)
|
Posted: Wed Apr 18, 2007 8:24 am Post subject: Re: Probleme mit DDCLIENT |
|
|
barthi wrote: | Code: | WARNING: last updated Sun Apr 6 07:16:02 2053.
|
|
Ähm.. lebt dein Rechner im Jahr 2053? _________________ USE="gentoo" emerge linux |
|
Back to top |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
Posted: Wed Apr 18, 2007 9:27 am Post subject: |
|
|
Code: |
protocol=dyndns2 # default protocol
server=members.dyndns.org # default server
server=members.dyndns.org:8245 # default server (bypassing proxies)
login=MeinLogIn # default login
password=MeinPW # default password
mx=mx.meinMeiler.net # default MX
mx=meinMeiler-ohnemx.am Anfang
backupmx=yes
wildcard=yes
backupmx=yes
server=members.dyndns.org,
protocol=dyndns2
MeinedyndnsIP
mx=meinedyndnsIP
bis zu 5 Adressen
|
Mit dieser Einstellung läuft dd seit Jahren Unfallfrei euf meinem Rechner.
Grüße
Ma |
|
Back to top |
|
|
barthi Apprentice
Joined: 02 Mar 2003 Posts: 256
|
Posted: Wed Apr 18, 2007 5:32 pm Post subject: |
|
|
Das Problem schein tatsächlich zu sein, dass er aus irgendeinem Grund auf das Jahr 2053 kommt. Dann updated er nicht, weil man erst 30 Sekunden später wieder darf.
Wenn ich aber bei Dyndns direkt in mein Konto reinschaue, steht da das richtige Datum vom letzten update, also 2007.
Wie kommt der denn auf den Schmus und vorallem, wie kann ich das wieder rückgängig machen? |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Apr 18, 2007 5:42 pm Post subject: |
|
|
evtl. bringt es etwas die .cache-Datei zu löschen; zu finden unter /etc/ddclient.
Wahrscheinlich steht das aus irgendeinem Grund Mist drin. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
barthi Apprentice
Joined: 02 Mar 2003 Posts: 256
|
Posted: Wed Apr 18, 2007 5:47 pm Post subject: |
|
|
ich hab leider keine cache-Datei.
Muss die zwangsläufig existieren, oder ist das ne config-sache? |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Apr 18, 2007 6:17 pm Post subject: |
|
|
barthi wrote: | ich hab leider keine cache-Datei.
Muss die zwangsläufig existieren, oder ist das ne config-sache? |
Sollte schon.
Und deine Systemzeit stimmt und auch der Zeitstempel der .conf-Datei ist ok?
Hast du schonmal 'use=if, if=ppp0' ausprobiert statt der web-Methode? _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
|