The collected works of Everblack

Hey all,

I recently got an SGI O2 workstation running IRIX 6.3 a couple of months ago, and I noticed that, when using FTP, the filesystem creation/modified date and timestamps are 3-4 hours ahead.

Sure enough, I check "date" in the shell, and it returns "PST8PDT", but in /etc/TIMEZONE, it was already set to TZ=EST5EDT (also tried TZ=:EST5EDT).

Here's what I've tried:

  • Setting the /etc/TIMEZONE file to reflect the new timezone, and nothing
  • Changed /etc/.profile to force the change to the TZ environment variable every time I open the shell.
  • Made changes to the /etc/cshrc file also.

Albeit doing all of this, this yielded no results. Filesystem dates are inaccurate (given I make new entries, creating files in a directory and so forth) and are still 3-4 hours ahead of the actual time. I have xntpd on it, which keeps track of the time sufficiently, but this change still did not do the trick.

After hours of Googling this particular issue, nothing seems to have worked.

Any help on this is *greatly* appreciated.

Code: Select all

# Time Zone
TZ=EST5EDT
Through date, it is correct, although a red flag is that when the environment variable isn't set through those profile and cshrc changes, it somehow is PST8PDT (even when synced with NTP) and I had to change it every time, and even then it doesn't reflect the correct date and time in the file system entry dates (created or modified). It is three hours ahead and between 9-11 PM, it's already well into tomorrow.
Therein lies the issue. Every time I reboot it (whether I shut it down or use init 6 to reboot), the time zone is still on PST8PDT as opposed to EST5EDT in the /etc/TIMEZONE file.
Here's something that might be either useless or at least somewhat helpful:

Code: Select all

Apr 27 03:22:18 5D:* xntpd[250]: xntpd 3-5.93e Thu Dec 10 10:50:26 PST 1998 (1)
Apr 27 03:22:18 5D:*  xntpd[250]: tickadj = 150, tick = 10000, tvu_maxslew = 14850, est. hz = 100
Apr 27 03:22:18 6D:* xntpd[250]: precision = 15 usec
Apr 27 03:22:18 6D:* xntpd[250]: read drift of 0.000 from /usr/freeware/etc/ntp.drift
Apr 27 03:22:18 6D:* 7 xntpd[250]: getconfig: Couldn't open </etc/ntp.conf>


Other than that, no signs from logs that were captured during boot up.
Hate to say that setting the environment variable in the Command Monitor, and rebooting it using "init" did nothing. Filesystem date/time and last login is in favor of PDT/PST and not EDT/EST.
foetz wrote:
Everblack wrote: Here's something that might be either useless or at least somewhat helpful:

Code: Select all

Apr 27 03:22:18 5D:* xntpd[250]: xntpd 3-5.93e Thu Dec 10 10:50:26 PST 1998 (1)
Apr 27 03:22:18 5D:*  xntpd[250]: tickadj = 150, tick = 10000, tvu_maxslew = 14850, est. hz = 100
Apr 27 03:22:18 6D:* xntpd[250]: precision = 15 usec
Apr 27 03:22:18 6D:* xntpd[250]: read drift of 0.000 from /usr/freeware/etc/ntp.drift
Apr 27 03:22:18 6D:* 7 xntpd[250]: getconfig: Couldn't open </etc/ntp.conf>


Other than that, no signs from logs that were captured during boot up.

oh you're running ntp during boot? if so disable that and check the time again


That was done, time is set correctly even well even with NTP off (with the exception of the timezone) as Fri Apr 28 23:25:09 PDT 2017. Still reverts to PST8PDT when it reboots.