[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Incorrect Time in Logs/Status


  • Subject: Re: [Openvpn-users] Incorrect Time in Logs/Status
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Tue, 1 Mar 2005 22:59:16 -0700 (MST)

On Mon, 28 Feb 2005, Jacob E. Goerlich wrote:

> Version: OpenVPN 2.0 rc16
> OS: OpenBSD 3.6 Generic Kernel
> Platform: Sparc 64
> 
> OpenVPN is returning the time stamp "Wed Dec 31 19:00:00 1969" on all log
> and server status output.  The time remains constant and never increments.
> NTPD is running on the box and the system time returns correctly.
> 
> Any thoughts on how to resolve this issue?  Please let me know if there is
> any further information that I could provide to assist in resolution.

OpenVPN calls time(NULL) to get the current time.  I wonder if this is a 
64-bit issue?  OpenVPN assumes that the time() function returns a time_t.

OpenVPN is known to work on 64 bit platforms in general, but you might 
want to debug this if possible and see if Sparc 64 needs some special 
casing, especially with regard to standard time types.

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-03/msg00011.html on line 196

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-03/msg00011.html on line 196