<file>.pid probs

donkey42

plank
ok this is driving me nuts (no comment) for most of today

right, i'm updating my /etc/ddclient.conf (DDNS from dnydns.com)
Code:
# /etc/ddclient.conf
daemon=600
syslog=no
pid=/var/run/ddclient.pid
use=web, use=if, if=eth0 
protocol=dyndns2
use=if, if=eth0
server=members.dyndns.org
wildcard=YES
login=known
password=known
example.dyndns.org
custom=yes, example.com
i keep getting a Permission denied on line 4
Code:
/pid=/var/run/ddclient.pid
now i know a pid file only contains process ID, but this one has me beaten, input would be apprieciated, /var/run/ddclient.pid contains the process ID (4 digit number)

what the :swear: am i missing ?
 
You have a DynDNS account, right? ;)

I would try doing the update over HTTPS with a tool like wget and seeing if it works then. If so, you can troubleshoot the dyndns client, or you could setup a cron to just use wget. If wget fails, well, you should get some fairly verbose failure strings. Bon appetite.
 
I would try doing the update over HTTPS with a tool like wget and seeing if it works then. If so, you can troubleshoot the dyndns client, or you could setup a cron to just use wget. If wget fails, well, you should get some fairly verbose failure strings. Bon appetite.
my cli skills are improving, but i still prefer to use gui as much as poss :beer:

BTW: i think i should get you a big drink for all your help over time, thankies

BTW: i'm scared to goto bed in case some of the crap i've learnt fall out of my ear
 
sorted it (breathe) after a while messing with ddclient (unsuccessfully)

after a few cigs and a lot of thinking

i thought why use ddclient and why not use the multi platform, standalone inadyn ?

so i tried it and success it is updating
 
[ot]
Yeah, run it as a lab in virtualbox, not on your host PC, and don't let it on the internet until you're an expert. :)
aye aye captain
rrp7c6.jpg
[/ot]Edit: i've actually started adding a few cron jobs
 
Back
Top