DDCLIENT Not Updating - BAD AUTHORIZATION? DDCLIENT Not Updating - B...

Topic: DDCLIENT Not Updating - BAD AUTHORIZATION?

Post DDCLIENT Not Updating - BAD AUTHORIZATION?
by smashedup on samedi 6 juin 2015

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

Reply with quote | Report
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by gilbertandkelly on samedi 6 juin 2015

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.

Reply with quote | Report
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by hinvector on samedi 6 juin 2015

Do you have an IP update password that's different from the account password? Did you try both?

Reply with quote | Report
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by smashedup on samedi 6 juin 2015

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
Post Re: Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by ffleandro on jeudi 24 septembre 2015

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.
Same problem here on Raspbian.
Did you find a solution?

Reply with quote | Report
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by hughieJ on vendredi 28 octobre 2016

me too - sure I have the password right - raspberry pi

Reply with quote | Report
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by Shuasmith14 on dimanche 31 mars 2019

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
Post Re: Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
by xiaoye on dimanche 31 mars 2019

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.
The hostname should match the one you have in the Control Panel->DDNS Services section. It could be dynu.net, dynu.com, mywire.org or any other extension you have chosen when signing up.

Reply with quote | Report
dimanche 24 novembre 2024 05:52
Loading...