<file>.pid probs

Discussion in 'Linux, BSD and Other OS's' started by donkey42, Jun 3, 2009.

  1. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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 ?
     
  2. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    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.
     
  3. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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
     
  4. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    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
     
  5. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    Good job!
     
  6. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    i realize this is bullsh1t to you, but it is quite important to me[ot]Apache next, any advise ?[/ot]
     
  7. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    [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. :)
    [/ot]
     
  8. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    [ot]
    aye aye captain
    [​IMG][/ot]Edit: i've actually started adding a few cron jobs
     

Share This Page