I see the word "reboot" was mentioned. Make sure you down that drink, Bob!<br><br>- Joey<br><br><div><span class="gmail_quote">On 3/28/07, <b class="gmail_sendername">Justin Krejci</b> <<a href="mailto:jus@krytosvirus.com">
jus@krytosvirus.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> On 3/27/07, Bob Hartmann <<a href="mailto:bob.hartmann@gmail.com">
bob.hartmann@gmail.com</a>> wrote:<br>>> Debian.<br>>> I'm not getting email from the list, btw. I can see my posts on the<br>>> archive, tho, so I appreciate your help here.<br>><br>> You're using gmail, which doesn't handle mailing list replies
<br>> particularly well. Make sure to hit "reply-to-all" to make sure your<br>> emails get sent out to the whole list, not just the person who replied<br>> to your message.<br>><br>> Anyway - I don't use debian, but I believe you can run:
<br>><br>> $ apt-get update<br>> $ apt-get install tzdata<br>><br>> That should do it...no reboot required :-)<br>><br>> -erik<br><br>NTP does not affect timezone settings.<br><br>To determine if your timezone data is current (at least with regards to
<br>the US DST change) you can run<br>zdump -v /etc/localtime | grep 2007<br><br>if you see Sun Apr 1 then you know you have old data<br>if you see Sun Mar 11 then you are current<br><br>This is a little shell script I wrote to ease updating many servers of
<br>mixed distros. It worked on redhat 7.3, rhel3, suse 9.2, suse 9.3 and<br>openbsd (except localtime is a symlink).<br>It assumes you're running as root.<br><br>wget <a href="ftp://elsie.nci.nih.gov/pub/tzdata2007c.tar.gz">
ftp://elsie.nci.nih.gov/pub/tzdata2007c.tar.gz</a><br>mkdir tzdata<br>mv tzdata2007c.tar.gz tzdata<br>cd tzdata<br>mkdir zoneinfo.bak<br>ls -ld /etc/localtime<br>sleep 3s<br># look to make sure localtime is not a symlink<br>
ls -ld /etc/localtime > zoneinfo.bak/localtime.zdump.txt<br>zdump -v /etc/localtime | grep 2007 >> zoneinfo.bak/localtime.zdump.txt<br>cp /etc/localtime /root/tzdata/zoneinfo.bak/<br>cd /usr/share/<br>tar czvf /root/tzdata/zoneinfo.bak/zoneinfo.tar.gz zoneinfo/
<br>cd /root/tzdata<br>tar zxvf tzdata2007c.tar.gz<br>zic -d zoneinfo northamerica<br>cd zoneinfo/<br>cp -rf * /usr/share/zoneinfo<br>cp -f CST6CDT /etc/localtime<br>zdump -v /etc/localtime | grep 2007<br><br><br><br>Most server processes that care about time will check the localtime when
<br>they start and never check again during their life. You can just restart<br>services but I prefer to reboot after you get patched to make sure all<br>running processes notice the change.<br><br>Java and things that depend on Java (eg recent versions of Cold Fusion)
<br>maintain their own timezone settings so they have OS independence. Sun has<br>a great and simple tzupdate.jar file for patching all java executables. It<br>worked great for me as well.<br><br><br>_______________________________________________
<br>TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br><a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br><a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list">http://mailman.mn-linux.org/mailman/listinfo/tclug-list
</a><br></blockquote></div><br>