Forgot this part...<br><br>./configure <br>checking for OS<br>&nbsp;+ Linux 2.6.18-8.el5 x86_64<br>checking for C compiler ... found<br>&nbsp;+ using GNU C compiler<br>&nbsp;+ gcc version: 4.1.2 20070626 (Red Hat 4.1.2-14)<br>checking for gcc -pipe switch ... found<br>
checking for gcc variadic macros ... found<br>checking for C99 variadic macros ... found<br>checking for unistd.h ... found<br>checking for inttypes.h ... found<br>checking for limits.h ... found<br>checking for sys/filio.h ... not found<br>
checking for crypt.h ... found<br>checking for malloc.h ... found<br>checking for Linux specific features<br>checking for epoll ... found<br>checking for sendfile() ... found<br>checking for sendfile64() ... found<br>checking for sys/prctl.h ... found<br>
checking for prctl(PR_SET_DUMPABLE) ... found<br>checking for sched_setaffinity() ... found<br>checking for nobody group ... found<br>checking for poll() ... found<br>checking for /dev/poll ... not found<br>checking for kqueue ... not found<br>
checking for crypt() ... not found<br>checking for crypt() in libcrypt ... found<br>checking for PCRE library ... found<br>checking for zlib library ... found<br>checking for int size ... 4 bytes<br>checking for long size ... 8 bytes<br>
checking for long long size ... 8 bytes<br>checking for void * size ... 8 bytes<br>checking for uint64_t ... found<br>checking for sig_atomic_t ... found<br>checking for sig_atomic_t size ... 4 bytes<br>checking for socklen_t ... found<br>
checking for in_addr_t ... found<br>checking for in_port_t ... found<br>checking for rlim_t ... found<br>checking for uintptr_t ... uintptr_t found<br>checking for system endianess ... little endianess<br>checking for size_t size ... 8 bytes<br>
checking for off_t size ... 8 bytes<br>checking for time_t size ... 8 bytes<br>checking for setproctitle() ... not found<br>checking for pread() ... found<br>checking for pwrite() ... found<br>checking for strerror_r() ... found but is not working<br>
checking for gnu style strerror_r() ... found<br>checking for localtime_r() ... found<br>checking for posix_memalign() ... found<br>checking for memalign() ... found<br>checking for sched_yield() ... found<br>checking for mmap(MAP_ANON|MAP_SHARED) ... found<br>
checking for mmap(&quot;/dev/zero&quot;, MAP_SHARED) ... found<br>checking for System V shared memory ... found<br>checking for struct msghdr.msg_control ... found<br>checking for ioctl(FIONBIO) ... found<br>checking for struct tm.tm_gmtoff ... found<br>
<br>Configuration summary<br>&nbsp; + threads are not used<br>&nbsp; + using system PCRE library<br>&nbsp; + OpenSSL library is not used<br>&nbsp; + md5 library is not used<br>&nbsp; + sha1 library is not used<br>&nbsp; + using system zlib library<br>
<br>&nbsp; nginx path prefix: &quot;/usr/local/nginx&quot;<br>&nbsp; nginx binary file: &quot;/usr/local/nginx/sbin/nginx&quot;<br>&nbsp; nginx configuration prefix: &quot;/usr/local/nginx/conf&quot;<br>&nbsp; nginx configuration file: &quot;/usr/local/nginx/conf/nginx.conf&quot;<br>
&nbsp; nginx pid file: &quot;/usr/local/nginx/logs/nginx.pid&quot;<br>&nbsp; nginx error log file: &quot;/usr/local/nginx/logs/error.log&quot;<br>&nbsp; nginx http access log file: &quot;/usr/local/nginx/logs/access.log&quot;<br>&nbsp; nginx http client request body temporary files: &quot;/usr/local/nginx/client_body_temp&quot;<br>
&nbsp; nginx http proxy temporary files: &quot;/usr/local/nginx/proxy_temp&quot;<br>&nbsp; nginx http fastcgi temporary files: &quot;/usr/local/nginx/fastcgi_temp&quot;<br><br><br>Thanks!<br><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 8:07 AM, J Davis &lt;<a href="mailto:mrsalty0@gmail.com">mrsalty0@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">here&#39;s the output...<br>07:58 1 18000<br>date: Thu Jun 19 07:58:26 EDT 2008<br>date -u: Thu Jun 19 11:58:27 UTC 2008<br>
<br>-Jake<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Wed, Jun 18, 2008 at 4:54 PM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Wed, Jun 18, 2008 at 03:51:37PM -0400, J Davis wrote:<br>
<br>
&gt; I think you are on to something.<br>
&gt;<br>
&gt; date: &nbsp;Wed Jun 18 15:23:03 EDT 2008<br>
&gt; date -u: Wed Jun 18 19:23:05 UTC 2008<br>
&gt; access.log: 18/Jun/2008:14:23:34 -0500<br>
&gt;<br>
&gt; I made sure that my tzdata package was up to date and that /etc/localtime<br>
&gt; points to the correct zone at /usr/share/zoneinfo/America/New_York. I then<br>
&gt; gave nginx the HUP signal (not sure if that was necessary).<br>
&gt;<br>
&gt; but the time stamps are still 1 hour behind.<br>
<br>
</div>Could you build the program below and run it together with date and date -u ?<br>
<br>
----------<br>
#ifndef _GNU_SOURCE<br>
#define _GNU_SOURCE<br>
#endif<br>
<br>
#include &lt;time.h&gt;<br>
#include &lt;stdio.h&gt;<br>
<br>
int<br>
main()<br>
{<br>
 &nbsp; &nbsp;time_t &nbsp; &nbsp; &nbsp;s;<br>
 &nbsp; &nbsp;struct tm &nbsp; t;<br>
<br>
 &nbsp; &nbsp;tzset();<br>
<br>
 &nbsp; &nbsp;s = time(NULL);<br>
<br>
 &nbsp; &nbsp;(void) localtime_r(&amp;s, &amp;t);<br>
<br>
 &nbsp; &nbsp;printf(&quot;%02d:%02d %d %d\n&quot;, t.tm_hour, t.tm_min, t.tm_isdst, timezone);<br>
<br>
 &nbsp; &nbsp;return 0;<br>
}<br>
----------<br>
<br>
Also could you send the output of nginx&#39;s ./configure ?<br>
<div><br>
&gt; -Jake<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jun 18, 2008 at 2:52 PM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Wed, Jun 18, 2008 at 02:10:37PM -0400, J Davis wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; I&#39;m trying to figure out why my nginx access log timestamps are an hour<br>
&gt; &gt; &gt; behind the actual time.<br>
&gt; &gt; &gt; I&#39;ve confirmed that the &quot;date&quot; and &quot;hwclock&quot; commands both return the<br>
&gt; &gt; proper<br>
&gt; &gt; &gt; values on the system and that the timezone is correct but the timestamps<br>
&gt; &gt; in<br>
&gt; &gt; &gt; the nginx logs are all an hour off.<br>
&gt; &gt; &gt; I realize this may not be an Nginx problem but I&#39;m not sure how else to<br>
&gt; &gt; &gt; narrow down the possibilities.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Any insights are greatly appreciated.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; RedHat el5 &nbsp;- 2.6.18-8.el5<br>
&gt; &gt; &gt; nginx/0.6.29<br>
&gt; &gt;<br>
&gt; &gt; This may be incorrectly set daylight saving time offset.<br>
&gt; &gt; Could you show last line from access log and output of<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp;date<br>
&gt; &gt;<br>
&gt; &gt; and<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp;date -u<br>
&gt; &gt;<br>
&gt; &gt; ?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Igor Sysoev<br>
&gt; &gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
</div>--<br>
<div><div></div><div>Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>