Author |
Message |
turpie
|
Posted: Tue Nov 22, 2011 8:43 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
I upgraded to 7.1 last night but am now having a problem with ddclient.
ddclient.log has this at the top
Code: Unknown option: foreground usage: ddclient [options] options are: ........
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|
turpie
|
Posted: Thu Nov 24, 2011 5:19 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
Okay so that last post wasn't very informative. Sorry about that but I was rushed for time.
My problems persist though.
messages.log is full of the following:
Code: Nov 25 10:10:39 mythtv INADYN[4369]: W:INADYN: Main: Error 'RC_DYNDNS_RSP_NOTOK' (0x48). Nov 25 10:10:39 mythtv INADYN[4370]: INADYN: Started 'INADYN version 1.96.2' - dynamic DNS updater. Nov 25 10:10:40 mythtv INADYN[4370]: I:INADYN: IP address for alias 'turpie' needs update to '101.160.28.113' Nov 25 10:10:44 mythtv INADYN[4370]: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname,abuse...! Nov 25 10:10:44 mythtv INADYN[4370]: W:INADYN: DYNDNS Server response: Nov 25 10:10:44 mythtv HTTP/1.1 200 OK Nov 25 10:10:44 mythtv Date: Thu, 24 Nov 2011 23:10:44 GMT Nov 25 10:10:44 mythtv Server: Apache Nov 25 10:10:44 mythtv X-UpdateCode: X Nov 25 10:10:44 mythtv Content-Length: 7 Nov 25 10:10:44 mythtv Connection: close Nov 25 10:10:44 mythtv Content-Type: text/plain Nov 25 10:10:44 mythtv notfqdn Nov 25 10:10:44 mythtv INADYN[4370]: W:'RC_DYNDNS_RSP_NOTOK' (0x48) updating the IPs. (it 0) Nov 25 10:10:44 mythtv INADYN[4370]: W:INADYN: Main: Error 'RC_DYNDNS_RSP_NOTOK' (0x48). Nov 25 10:10:44 mythtv INADYN[4371]: INADYN: Started 'INADYN version 1.96.2' - dynamic DNS updater. Nov 25 10:10:44 mythtv INADYN[4371]: I:INADYN: IP address for alias 'turpie' needs update to '101.160.28.113' Nov 25 10:10:45 mythtv INADYN[4371]: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname,abuse...! Nov 25 10:10:45 mythtv INADYN[4371]: W:INADYN: DYNDNS Server response: Nov 25 10:10:45 mythtv HTTP/1.1 200 OK Nov 25 10:10:45 mythtv Date: Thu, 24 Nov 2011 23:10:45 GMT Nov 25 10:10:45 mythtv Server: Apache Nov 25 10:10:45 mythtv X-UpdateCode: X
When I ran Code: ps -ef |grep ddclient |wc -l it told me I had 187 ddclient's running. This may explain why I have had trouble with the machine locking up, and dreadful ssh responsiveness since the upgrade.
I have since ran "killall -v ddclient" and "sv down ddclient". But how do I fix this problem?
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|
jams
|
Posted: Fri Nov 25, 2011 11:29 am |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
the pkg shipped with 7.1 did not respect the -foreground option. I have just uploaded a new pkg to extra (not -testing).
Please update and let me know if it works.
|
|
Top |
|
|
turpie
|
Posted: Mon Nov 28, 2011 5:43 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
I updated with pacman -S ddclient but it didn't solve the problem. I was still getting several clients starting per minute.
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|
jams
|
Posted: Mon Nov 28, 2011 6:20 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
please post back the output of
1) pacman -Q ddclient
and
2) /etc/sv/ddclient/run
and
3) cat /var/log/ddclient.log
|
|
Top |
|
|
turpie
|
Posted: Mon Nov 28, 2011 6:37 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
1) pacman -Q ddclient
Code: ddclient 3.8.0-2 2) /etc/sv/ddclient/run [root@mythtv mythtv]# /etc/sv/ddclient/run Code: :: Starting ddclient 3) cat /var/log/ddclient.log This log is now blank. Code: [root@mythtv mythtv]# ll /var/log/ddclient.log -rw-r--r-- 1 root root 0 Nov 29 11:33 /var/log/ddclient.log
However messages.log is getting a lot of this repeating: Code: Nov 29 11:30:35 mythtv HTTP/1.1 200 OK Nov 29 11:30:35 mythtv Date: Tue, 29 Nov 2011 00:30:35 GMT Nov 29 11:30:35 mythtv Server: Apache Nov 29 11:30:35 mythtv X-UpdateCode: X Nov 29 11:30:35 mythtv Content-Length: 7 Nov 29 11:30:35 mythtv Connection: close Nov 29 11:30:35 mythtv Content-Type: text/plain Nov 29 11:30:35 mythtv notfqdn Nov 29 11:30:35 mythtv INADYN[2689]: W:'RC_DYNDNS_RSP_NOTOK' (0x48) updating the IPs. (it 0) Nov 29 11:30:35 mythtv INADYN[2689]: W:INADYN: Main: Error 'RC_DYNDNS_RSP_NOTOK' (0x48). Nov 29 11:30:35 mythtv INADYN[2690]: INADYN: Started 'INADYN version 1.96.2' - dynamic DNS updater. Nov 29 11:30:36 mythtv INADYN[2690]: I:INADYN: IP address for alias 'turpie' needs update to '124.180.24.122' Nov 29 11:30:37 mythtv INADYN[2690]: INADYN:IP: Error 0x68 in recv() Nov 29 11:30:37 mythtv INADYN[2690]: W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 0) Nov 29 11:32:38 mythtv INADYN[2690]: INADYN:IP: Error 0x68 in recv() Nov 29 11:32:38 mythtv INADYN[2690]: W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 0)
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|
jams
|
Posted: Mon Nov 28, 2011 6:57 pm |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
So it looks like the installed version of ddclient is a pkg or two behind.
It should be at 3.8.0-4
pacman -Ss ddclient
extra-testing/ddclient 3.8.0-4
For step #2 does it drop you back at the prompt, or does it keep running?
Finally
INADYN is another client like ddclient. I think it was used in r6 but somebody switched it out. If it's running then go ahead and kill it.
sv stop inadyn, and if thats not it look in /service for something that looks like it matches.
|
|
Top |
|
|
turpie
|
Posted: Mon Nov 28, 2011 9:23 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
jams wrote: So it looks like the installed version of ddclient is a pkg or two behind. It should be at 3.8.0-4 pacman -Ss ddclient extra-testing/ddclient 3.8.0-4
Sorry but should I have been using extra or extra-testing? jams wrote: For step #2 does it drop you back at the prompt, or does it keep running? It drops back to the prompt. jams wrote: INADYN is another client like ddclient. I think it was used in r6 but somebody switched it out. If it's running then go ahead and kill it. sv stop inadyn, and if thats not it look in /service for something that looks like it matches.
Thanks, I didn't realise I had another different client on the system. I've actually now fixed the settings for Inadyn, and it seems to be working.
Thank you for your help with this Jams. My system is working now, but if you want, I'm happy to keep debugging ddclient with you so that the default install can be fixed for other users. Otherwise, how can I disable ddclient from running at startup?
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|
jams
|
Posted: Tue Nov 29, 2011 9:49 am |
|
|
Site Admin |
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
|
The version in extra is the same as in extra-testing, so it doesn't matter so much which one your using.
Unless others report problems with ddclient, I'm going to consider it closed. I think the updated package will fix the issue with ddclient. Granted I only did one test, but it's better then nothing
Inadyn is my client of choice, but ddclient replaced it and unfortunately I don't remember why.
to disable ddclient, run "remove_service.sh ddclient" or disable it in the service menu. Neither action should affect inadyn.
|
|
Top |
|
|
turpie
|
Posted: Wed Nov 30, 2011 5:07 pm |
|
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location:
Bendigo, Victoria, Australia
|
It looks like I misunderstood how to upgrade a package.
I was typing "pacman -S ddclient" and pacman kept wanting to update to 3.8.0-2 that I already had. Because I wasn't using the -Sy option pacman was only looking at the package list it already had. Oops.
Thanks for your help.
_________________ Paul Turpie
-------------
<--Is your location in your profile? Why not?
|
|
Top |
|
|