Re: [opensuse] ddclient on opensuse 10.3
- From: Jim Flanagan <linuxjim@xxxxxxxxxx>
- Date: Sun, 09 Mar 2008 08:39:19 -0500
Joe Morris wrote:
On 03/09/2008 02:00 PM, Jim Flanagan wrote:The method I'm havening problems with is running ddclient in daemon mode
My conf file is very simple, just what the dyndns tool sent me back,It does. You need to have use=web uncommented. You may also need
nothing more. I'll post that if it is important.
I am behind a router, but I'm not sure that matters.
ssl=yes. It has to connect up to dyndns to get the public IP from the
router to update to IP. The IP from the internal LAN from your router
is useless.
It seems to workDo you have it set in /etc/sysconfig/ddclient (or use the Yast module).
when run in command line, so I don't know why running in dameon mode
would not work here.
I doubt its is the conf file now. Maybe a perlI don't believe it would work at all if that was the problem.
inconsistency or dependency? I got no errors on install though.
using yast>runlevel. To repeat what I said before, if I start ddclient
in yast>runlevel, or in konsole using /etc/init.d/ddclient start, I get
an error saying it failed, but, ddclient does start. At that point there
is a one line error reported in /var/log/messages as follows:
Mar 9 08:10:09 jimmee ddclient[7503]: WARNING: caught SIGTERM; exiting
Now this may or may not be relevant, but I certainly do not understand,
the new PID is different than the one listed in this log. The one listed
in the log is the last pid for ddclient when I stopped it, not the new
one running now. This log entry was created when I freshly started
ddclient, why is it referencing the old pid?
That is point number 1.
Point number 2 is, here is my /etc/ddclient.conf file
-----
## ddclient configuration file
daemon=600 # check every 600 seconds
syslog=yes # log update msgs to syslog
mail-failure=<myemailaddress>t # Mail failed updates to user
pid=/var/run/ddclient.pid # record PID in file.
## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
## DynDNS username and password here
login=<myusernameatdyndns.com>
password=##YOUR PASSWORD##
## Default options
protocol=dyndns2
server=members.dyndns.org
## Custom DNS hosts
custom=yes, <mydomain.com>
------
Of course I use my actual <myemailaddress>, <myusernameatdyndns>,
password, and <mydomain.com> in my working file.
Separately, and I guess point number 3, shutting down ddclient, and
running ddclient -daemon=0 -debug -verbose -noquiet in konsole,
creates this log entry..
-----
Mar 9 08:20:07 jimmee ddclient[13631]: CONNECT: checkip.dyndns.com
Mar 9 08:20:07 jimmee ddclient[13631]: CONNECTED: using HTTP
Mar 9 08:20:07 jimmee ddclient[13631]: SENDING: GET / HTTP/1.0
Mar 9 08:20:07 jimmee ddclient[13631]: SENDING: Host: checkip.dyndns.com
Mar 9 08:20:07 jimmee ddclient[13631]: SENDING: User-Agent:
ddclient/3.7.3
Mar 9 08:20:07 jimmee ddclient[13631]: SENDING: Connection: close
Mar 9 08:20:07 jimmee ddclient[13631]: SENDING:
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: HTTP/1.1 200 OK
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Content-Type: text/html
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Server:
DynDNS-CheckIP/1.0
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Connection: close
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Cache-Control: no-cache
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Pragma: no-cache
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE: Content-Length: 105
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE:
Mar 9 08:20:07 jimmee ddclient[13631]: RECEIVE:
<html><head><title>Current IP Check</title></head><body>Current IP
Address: REAL.IP.ADDR.ESS</body></html>
Mar 9 08:20:07 jimmee ddclient[13631]: SUCCESS: <myrealdomain>.com:
skipped: IP address was already set to REAL.IP.ADDR.ESS.
------
Again, <myrealdomain.com> is my real domain, and REAL.IP.ADDR.ESS is my
current ip address (outside addr on my router, not an internal address).
On this manual test, I did not enter my login name or password, it must
be getting that from /etc/ddclient.conf.
So it looks like it is working in command line, but I'm still getting
the sigterm error in daemon mode. Any more pointers most welcome.
Many thanks,
Jim F
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] ddclient on opensuse 10.3
- From: Koenraad Lelong
- Re: [opensuse] ddclient on opensuse 10.3
- From: Razi Khaja
- Re: [opensuse] ddclient on opensuse 10.3
- References:
- [opensuse] ddclient on opensuse 10.3
- From: Jim Flanagan
- Re: [opensuse] ddclient on opensuse 10.3
- From: Razi Khaja
- Re: [opensuse] ddclient on opensuse 10.3
- From: Jim Flanagan
- Re: [opensuse] ddclient on opensuse 10.3
- From: Razi Khaja
- Re: [opensuse] ddclient on opensuse 10.3
- From: Jim Flanagan
- Re: [opensuse] ddclient on opensuse 10.3
- From: Joe Morris
- [opensuse] ddclient on opensuse 10.3
- Prev by Date: Re: [opensuse] Kipi-plugins do less?
- Next by Date: Re: [opensuse] Gigabit NIC that works
- Previous by thread: Re: [opensuse] ddclient on opensuse 10.3
- Next by thread: Re: [opensuse] ddclient on opensuse 10.3
- Index(es):
Relevant Pages
|