Koozali.org: home of the SME Server

DDclient autostart not starting

Kingnubian

DDclient autostart not starting
« on: June 16, 2003, 05:40:21 AM »
I've installed and setup ddclient as 3.6.3 and it seems to work, but I used the instructions included in the readme as follows.


"## For those using Redhat style rc files and using daemon-mode:
  cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  ## enable automatic startup when booting
  /sbin/chkconfig --add ddclient "

This doesn't seem to be working. After rebooting my server and using the command "ps afx" ddclient is nowhere to be found.

Manually starting the system and using the command line:
 "ddclient -daemon=0 -debug -verbose -noquiet"

Yields in part the output:

"=== cache ====
CONNECT:  checkip.dyndns.org
CONNECTED:
SENDING:  GET / HTTP/1.0
SENDING:   Host: checkip.dyndns.org
SENDING:   User-Agent: ddclient/3.6.3
SENDING:   Connection: close
SENDING:
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Mon, 16 Jun 2003 00:30:30 GMT
RECEIVE:  Server: Apache/2.0.46 (Unix)
RECEIVE:  Pragma: no-cache
RECEIVE:  Cache-Control: no-cache
RECEIVE:  Content-Length: 173
RECEIVE:  Connection: close
RECEIVE:  Content-Type: text/html; charset=ISO-8859-1
RECEIVE:
RECEIVE:  Current IP Check
RECEIVE:  
RECEIVE:  Current IP Address: 216.75.190.175
RECEIVE:  
Hostname: 190-175.speede.golden.net
RECEIVE:  
DEBUG:    get_ip: using web, checkip.dyndns.org/ reports 216.75.190.175"

How can I make this script autostart....???

Robbie

Re: DDclient autostart not starting
« Reply #1 on: June 16, 2003, 08:11:44 PM »
The following will set ddclient to run in runlevel 7 which is the default runlevel for SME 5.X.

Log into your SME box with SSH or Telent and execute the following commands.

cd /etc/rc.d/rc7.d
ln -s  ../init.d/ddclient S70ddclient


Hope this helps.

Kingnubian

Re: DDclient autostart not starting
« Reply #2 on: June 16, 2003, 08:38:47 PM »
Robbie wrote:
>
> The following will set ddclient to run in runlevel 7 which is
> the default runlevel for SME 5.X.
>
> Log into your SME box with SSH or Telent and execute the
> following commands.
>
> cd /etc/rc.d/rc7.d
> ln -s  ../init.d/ddclient S70ddclient
>
>
> Hope this helps.


That seems to have done it. Than you very much. ddcliemt now shows up after boot when checked by "ps afx".

Robbie

Re: DDclient autostart not starting
« Reply #3 on: June 17, 2003, 01:28:46 AM »
Kingnubian,

You are welcome. I am glad I could help.

Robbie