1835243 Members
2119 Online
110078 Solutions
New Discussion

TimeStamp problem

 

TimeStamp problem

Hello,

i have a strange problem. When i connect to an unix server (hpux 11.11 installed) with internet explorer (version 6) and i browse to a certain file he gives me a date of 2004! When i look on the unix server to the same file the date is 2005. When i connect through ftp with mozilla firefox i also get a correct date! Is this a patch problem or is this a windows related problem?
5 REPLIES 5
RAC_1
Honored Contributor

Re: TimeStamp problem

How exactly you connect tp hp-ux?? Through apache?? If yes, is it set to use server time??

Anil
There is no substitute to HARDWORK
harry d brown jr
Honored Contributor

Re: TimeStamp problem


You have to ask if windoze is a related problem?

On your unix box record the following timestamps, then compare to what windoze returns and thats what IE is using:

[root@vpart1 /opt]# ls -l testfile
-rw-rw-rw- 1 root sys 0 Jan 18 09:08 testfile
[root@vpart1 /opt]# ls -lu testfile
-rw-rw-rw- 1 root sys 0 Jan 18 10:11 testfile
[root@vpart1 /opt]# ls -lc testfile
-rw-rw-rw- 1 root sys 0 Jan 18 09:43 testfile
[root@vpart1 /opt]#

to create testfile with different dates use the command touch.

live free or die
harry d brown jr
Live Free or Die

Re: TimeStamp problem

I connect to the hpux with ftp://hostname in a browser but the hpux server is not running apache. I use the ftp daemon which is configured in the inetd.conf
Rick Garland
Honored Contributor

Re: TimeStamp problem

If you are using MicroSlop WinBloz, this is the problem.



Re: TimeStamp problem

Hello,

I think the problem is related to LANG environment variable setting for the startup of you HP-UX system. This located at /etc/rc.config.d/LANG.

If LANG is set to some locale other than C, inetd will start with it and ftpd will follow leading to the problem you are facing.

The long term solution is to comment out the LANG variable in /etc/rc.config.d/LANG for the next reboot.

Meanwhile you do not need a rebbot, you can just try :

#inetd -k

#env LANG=C inetd -l


I hope this helps

Nourreddine