DDCLIENT Not Updating - B...
DDCLIENT Not Updating - BAD AUTHORIZATION?
- 主页
- 后台控制中心
- Community Forum
- Services
- Dynamic DNS Service
- DDCLIENT Not Updating - BAD AUTHORIZATION?
- Community Forum
- DDCLIENT Not Updating - BAD AUTHORIZATION?
Topic: DDCLIENT Not Updating - BAD AUTHORIZATION?
Here is the debug output:
root@smashedup:/etc# sudo ddclient -daemon=0 -noquiet -debug
DEBUG: proxy =
DEBUG: url = checkip.dynu.com/
DEBUG: server = checkip.dynu.com
DEBUG: get_ip: using web, checkip.dynu.com/ reports 24.77.252.25
DEBUG:
DEBUG: nic_dyndns2_update -------------------
DEBUG: proxy =
DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=SMASHEDUP.DYNU.COM&myip=24.77.252.25
DEBUG: server = api.dynu.com
FAILED: updating SMASHEDUP.DYNU.COM: badauth: Bad authorization (username or password)
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.
ddclient: cannot execute command | sendmail -oi root.
Here is my config file minus the login/pass Although I confirmed them umpteentimes.
daemon=60 # Check every 60 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.
ssl=yes
use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.
server=api.dynu.com # IP update server.
protocol=dyndns2
login=xxxxxx # Your username.
password=xxxxxx # Password or MD5 of password.
SMASHEDUP.DYNU.COM # List one or more hostnames one on each line.
#MYDOMAIN.COM
I copy and paste the login/pass from this file to the dynu.com website login and I can log into, I also tried creating an update password that is different, same error.
Please advise
M
root@smashedup:/etc# sudo ddclient -daemon=0 -noquiet -debug
DEBUG: proxy =
DEBUG: url = checkip.dynu.com/
DEBUG: server = checkip.dynu.com
DEBUG: get_ip: using web, checkip.dynu.com/ reports 24.77.252.25
DEBUG:
DEBUG: nic_dyndns2_update -------------------
DEBUG: proxy =
DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=SMASHEDUP.DYNU.COM&myip=24.77.252.25
DEBUG: server = api.dynu.com
FAILED: updating SMASHEDUP.DYNU.COM: badauth: Bad authorization (username or password)
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.
ddclient: cannot execute command | sendmail -oi root.
Here is my config file minus the login/pass Although I confirmed them umpteentimes.
daemon=60 # Check every 60 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.
ssl=yes
use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.
server=api.dynu.com # IP update server.
protocol=dyndns2
login=xxxxxx # Your username.
password=xxxxxx # Password or MD5 of password.
SMASHEDUP.DYNU.COM # List one or more hostnames one on each line.
#MYDOMAIN.COM
I copy and paste the login/pass from this file to the dynu.com website login and I can log into, I also tried creating an update password that is different, same error.
Please advise
M
Reply with quote |Report
Configuration file looks ok. Apart from the bad authorization, not sure what to make out of this,
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.
ddclient: cannot execute command | sendmail -oi root.
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411.
ddclient: cannot execute command | sendmail -oi root.
Reply with quote |Report
Do you have an IP update password that's different from the account password? Did you try both?
Reply with quote |Report
I tried with the account password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods.
Reply with quote |Report
smashedup wrote:I tried with the account password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods.
Did you find a solution?
Reply with quote |Report
I had the same problem. I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine.
Reply with quote |Report
Shuasmith14 wrote:I had the same problem. I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine.
Reply with quote |Report
| Author | Topic: DDCLIENT Not Updating - BAD AUTHORIZATION? |
|---|---|
|
smashedup Joined: 2015/6/6 |
2015年6月6日星期六 下午4:50
Here is the debug output:
root@smashedup:/etc# sudo ddclient -daemon=0 -noquiet -debug DEBUG: proxy = DEBUG: url = checkip.dynu.com/ DEBUG: server = checkip.dynu.com DEBUG: get_ip: using web, checkip.dynu.com/ reports 24.77.252.25 DEBUG: DEBUG: nic_dyndns2_update ------------------- DEBUG: proxy = DEBUG: url = http://api.dynu.com/nic/update?system=dyndns&hostname=SMASHEDUP.DYNU.COM&myip=24.77.252.25 DEBUG: server = api.dynu.com FAILED: updating SMASHEDUP.DYNU.COM: badauth: Bad authorization (username or password) Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411. ddclient: cannot execute command | sendmail -oi root. Here is my config file minus the login/pass Although I confirmed them umpteentimes. daemon=60 # Check every 60 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. ssl=yes use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server. server=api.dynu.com # IP update server. protocol=dyndns2 login=xxxxxx # Your username. password=xxxxxx # Password or MD5 of password. SMASHEDUP.DYNU.COM # List one or more hostnames one on each line. #MYDOMAIN.COM I copy and paste the login/pass from this file to the dynu.com website login and I can log into, I also tried creating an update password that is different, same error. Please advise M |
|
gilbertandkelly Joined: 2002/8/17 |
2015年6月6日星期六 下午5:55
Configuration file looks ok. Apart from the bad authorization, not sure what to make out of this,
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1411. ddclient: cannot execute command | sendmail -oi root. |
|
hinvector Joined: 1998/7/28 |
2015年6月6日星期六 下午6:02
Do you have an IP update password that's different from the account password? Did you try both?
|
|
smashedup Joined: 2015/6/6 |
2015年6月6日星期六 下午6:53
I tried with the account password first then created an IP password as well. The send mail error is just an automatic warning that gets mailed to root upon failure. So I have tried both methods of having passwords. It works fine on my windows machine, but this is on rasp Jan or minibian with a few mods.
|
|
ffleandro Joined: 2015/9/24 |
2015年9月24日星期四 下午5:00
Did you find a solution? |
|
hughieJ Joined: 2016/10/27 |
2016年10月28日星期五 上午9:04
me too - sure I have the password right - raspberry pi
|
|
Shuasmith14 Joined: 2019/3/13 |
2019年3月31日星期日 上午9:05
I had the same problem. I found another forum that suggested changing hostname from MYHOST.dynu.com to what it should be MYHOST.dynu.net. I changed it to .net and it worked fine.
|
|
xiaoye Joined: 2015/3/27 |
2019年3月31日星期日 上午10:07
|
2026年6月13日星期六 上午8:24
