Automated Shutdown time problem
Jordan Erickson
jerickson at logicalnetworking.net
Mon Nov 9 18:55:49 GMT 2009
Hi Şamil,
Is your /etc/init.d/ntpdate located at /opt/ltsp/i386/etc/init.d ? The
RCFILE_NN stanzas are in relation to the client chroot, so you have to
put the ntpdate script in the right place. Please verify this. Also,
rebuild the client chroot if you just now put it in the /opt/ltsp
location above.
I'm guessing something regarding this is the problem since you said in
your original e-mail the time gets set to the server AFTER logging in.
RCFILE_NN stanzas happen during client bootup, not after user login.
Sincerely,
Jordan/Lns
S. Şamil Ardıç wrote:
> Hi everybody,
>
>> 1) What version of Edubuntu are you using?
> We are using Ubuntu 8.04 LTS
> Thin clients are hp t5125.
>> 2) Can you post your lts.conf and ntpdate script (including permissions
>> of ntpdate) here?
> This is the lts.conf
> [default]
> X_MODE_0 =1024x768
> X_COLOR_DEPTH =16
> LDM_DIRECX =True
> X_RAMPERC =80
> X_VIDEORAM =16384
> TIMESERVER = <our working time server ip>
> RCFILE_01 =/etc/init.d/ntpdate
>
> We disabled crontabs till see the correct time.
>
> ntpdate's permission is -rwxr-xr-x
> ntpdate script:
>
> #!/bin/bash
> #
> LTSP_TIMESERVER=$(getltscfg TIMESERVER)
> if [ -n "$LTSP_TIMESERVER" ]; then
> ntpdate $LTSP_TIMESERVER &
> else
> ntpdate ntp.ubuntu.com
> fi
>
>> 3) Did you ltsp-update-image after you made your changes?
>>
> yes, three times ;).
>
> Joseph, thanks but, we tried automatic shutdown first. When the time
> is different, we applied install ntp server howto.
> Scott, ntpdate -s didn't changed anything.
>
> Cheers,
> Samil Ardic
>
--
Jordan Erickson
Owner, Logical Networking Solutions
http://www.logicalnetworking.net
707-636-5678
* Please consider the environment before printing this e-mail *
Latest LNS Blogs - http://blog.logicalnetworking.net
US Department of Defense releases memo on open source software
IBM to deliver Ubuntu Linux computers instead of Windows 7
PulseAudio creator talks about the future of Linux audio
More information about the edubuntu-users
mailing list