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

Argomento: DDCLIENT Not Updating - BAD AUTHORIZATION?

Post DDCLIENT Not Updating - BAD AUTHORIZATION?
di smashedup su sabato 6 giugno 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

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di gilbertandkelly su sabato 6 giugno 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.

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di hinvector su sabato 6 giugno 2015

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

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di smashedup su sabato 6 giugno 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.

Rispondi con citazione | Segnalare
Post Re: Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di ffleandro su giovedì 24 settembre 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?

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di hughieJ su venerdì 28 ottobre 2016

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

Rispondi con citazione | Segnalare
Post Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di Shuasmith14 su domenica 31 marzo 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.

Rispondi con citazione | Segnalare
Post Re: Re: DDCLIENT Not Updating - BAD AUTHORIZATION?
di xiaoye su domenica 31 marzo 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.

Rispondi con citazione | Segnalare
venerdì 20 dicembre 2024 11:14
Loading...