Quote:
Originally Posted by dcdbutler
Try this
$ ddclient -daemon=0 -debug -verbose -noquiet
|
This is my result:
[root@intenso131 init.d]# /usr/sbin/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{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} : tuntsfaah
globals{mail} : root
globals{mail-failure} : root
globals{password} : amandamidevil
globals{pid} : /var/run/ddclient.pid
globals{protocol} : dyndns2
globals{quiet} : 0
globals{server} : members.dyndns.org
globals{syslog} : 1
globals{use} : web
globals{verbose} : 1
globals{web} : checkip.dyndns.org/
globals{web-skip} : IP Address
globals{wildcard} : 1
=== config ====
config{intenso131.mine.nu}{atime} : 1147994941
config{intenso131.mine.nu}{backupmx} : 0
config{intenso131.mine.nu}{cacheable} : ARRAY(0x92e2b40)
config{intenso131.mine.nu}{custom} : 0
config{intenso131.mine.nu}{host} : intenso131.mine.nu
config{intenso131.mine.nu}{ip} : 67.149.44.46
config{intenso131.mine.nu}{login} : tuntsfaah
config{intenso131.mine.nu}{max-interval} : 1296000
config{intenso131.mine.nu}{min-error-interval} : 300
config{intenso131.mine.nu}{min-interval} : 30
config{intenso131.mine.nu}{mtime} : 1147994941
config{intenso131.mine.nu}{mx} :
config{intenso131.mine.nu}{password} : amandamidevil
config{intenso131.mine.nu}{protocol} : dyndns2
config{intenso131.mine.nu}{server} : members.dyndns.org
config{intenso131.mine.nu}{static} : 0
config{intenso131.mine.nu}{status} : good
config{intenso131.mine.nu}{warned-min-error-interval} : 0
config{intenso131.mine.nu}{warned-min-interval} : 0
config{intenso131.mine.nu}{wildcard} : 1
config{intenso131.mine.nu}{wtime} : 0
=== cache ====
cache{intenso131.mine.nu}{atime} : 1147994941
cache{intenso131.mine.nu}{backupmx} : 0
cache{intenso131.mine.nu}{custom} : 0
cache{intenso131.mine.nu}{host} : intenso131.mine.nu
cache{intenso131.mine.nu}{ip} : 67.149.44.46
cache{intenso131.mine.nu}{mtime} : 1147994941
cache{intenso131.mine.nu}{mx} :
cache{intenso131.mine.nu}{static} : 0
cache{intenso131.mine.nu}{status} : good
cache{intenso131.mine.nu}{warned-min-error-interval} : 0
cache{intenso131.mine.nu}{warned-min-interval} : 0
cache{intenso131.mine.nu}{wildcard} : 1
cache{intenso131.mine.nu}{wtime} : 0
CONNECT: checkip.dyndns.org
CONNECTED:
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.org
SENDING: User-Agent: ddclient/3.6.6
SENDING: Connection: close
SENDING:
RECEIVE: HTTP/1.1 200 OK
RECEIVE: Content-Type: text/html
RECEIVE: Server: DynDNS-CheckIP/0.1
RECEIVE: Connection: close
RECEIVE: Cache-Control: no-cache
RECEIVE: Pragma: no-cache
RECEIVE: Content-Length: 104
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current
IP Address: 67.149.44.46</body></html>
DEBUG: get_ip: using web, checkip.dyndns.org/ reports 67.149.44.46
SUCCESS: intenso131.mine.nu: skipped: IP address was already set to
67.149.44.46.
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient
line 1210.
ddclient: cannot execute command | sendmail -oi root.
[root@intenso131 init.d]#
So where did I go wrong?
This is my ddclient.conf:
######################################################################
##
## Define default global variables with lines like:
## var=value [, var=value]*
## These values will be used for each following host unless overridden
## with a local variable definition.
##
## Define local variables for one or more hosts with:
## var=value [, var=value]* host.and.domain[,host2.and.domain...]
##
## Lines can be continued on the following line by ending the line
## with a \
##
######################################################################
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
#use=dlink-524, fw=192.168.0.1:80 # via Netgear's internet FW
#fw-login=admin fw-password=amandamidevil # FW login and password
#use=fw, fw=192.168.0.1/Status/st_devic.php, fw-skip='Connection'
use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP
Address
#use=web # via web
protocol=dyndns2 # default protocol
#proxy=fasthttp.sympatico.ca:80 # default proxy
server=members.dyndns.org # default server
#server=members.dyndns.org:8245 # default server (bypassing proxies)
login=my_login # default login
password=my_password # default password
#mx=mx.for.your.host # default MX
#backupmx=no # host is primary MX?
wildcard=yes # add wildcard CNAME?
server=members.dyndns.org, \
protocol=dyndns2 \
intenso131.mine.nu