Operating System - HP-UX
1834621 Members
2888 Online
110069 Solutions
New Discussion

Re: HPUX 10.20 can not set time for 04 year

 
Nail Wang
Advisor

HPUX 10.20 can not set time for 04 year

an old SYSTEM HP-UX10.20, my application software's license is for 2004 year ,but my system's time cannot be set for 04 year,set_parms date_time ,set from (70-99).
Should I install some patch for this problem?
and which patch is
6 REPLIES 6
Evert Jan van Ramselaar
Valued Contributor

Re: HPUX 10.20 can not set time for 04 year

Sounds to me like you haven't installed the Y2K patches, which have been available for over 4 years now...

EJ
Contrary to popular belief, Unix is userfriendly. It just happens to be selective about who it makes friends with.
Sunil Sharma_1
Honored Contributor

Re: HPUX 10.20 can not set time for 04 year

Lat patch bundle released for HPUX 10.20 was Dec 01. apply these patche bundles.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
bhavin asokan
Honored Contributor

Re: HPUX 10.20 can not set time for 04 year

hi,
i am not sure.see the patch PHCO_15218
description attached.you can download it from itrc.hp.com

regds,
Sยภเl Kย๓คг
Respected Contributor

Re: HPUX 10.20 can not set time for 04 year

It should be,you have not loaded the Y2K patches.
Your imagination is the preview of your life's coming attractions
Victor BERRIDGE
Honored Contributor

Re: HPUX 10.20 can not set time for 04 year

Hi,
I cant at the moment doublecheck for you (the only 10.20 left are production boxes that coulnd be migrated...) but as far as I can see it should work, here is what I found in /sbin/set_parms.d/:
# ll
total 242
-r--r--r-- 1 bin bin 13894 Aug 7 2000 05_hostname
-r--r--r-- 1 bin bin 16030 Apr 19 2001 10_timezone
-r--r--r-- 1 bin bin 11217 Feb 3 1998 12_date_time
-r--r--r-- 1 bin bin 2285 Jun 10 1996 15_root_passwd
-r--r--r-- 1 bin bin 10636 May 16 2001 20_ip_address
-r--r--r-- 1 bin bin 39238 Aug 7 2000 25_addl_netwrk
-r--r--r-- 1 bin bin 27240 Jun 10 1996 60_font_c-s
And look wht is in 12_date_time:

...
# There types of problems we will identify:
NUMERIC=0 # Non numeric characters
RANGE=0 # Numeric data out of range
NUMDAYS=0 # Wrong number of days for a given month
FOCUS= # Remember the first erroneous field so we can focus on it.

# Check Year. If it is any two digit numeric, then it is legal.
year=$(GetValue YY)

if Numeric "$year"
then
case "$year" in
[0-9]) # Single digit
year="0$year"
;;
esac

else
NUMERIC=1
fi

# Remember FOCUS
if [ "$NUMERIC" -ne 0 ]
then
FOCUS="YY"
fi

month=$(GetValue MM)

if Numeric "$month"
then...
...
So 04 should match the conditions...


All the best
Victor
Fabio Ettore
Honored Contributor

Re: HPUX 10.20 can not set time for 04 year

Hi,

PHCO_14039 - s700_800 10.X Set_parms year 2000 patch

install this patch, it will sove your known problem.

Nail, please don't forget to submit points for people that helped you for this and your previous threads. It will be useful in the future to know what replies were good to solve your problem.
Also since few weeks there is a new functionality that permits you to close a thread if it is solved.

I hope that it will help you.

Best regards,
Fabio
WISH? IMPROVEMENT!