Solaris 5.8 Upgrade is causing Date format issue.


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 5.8 Upgrade is causing Date format issue.
# 1  
Old 03-28-2014
Bug Solaris 5.8 Upgrade is causing Date format issue.

Hi

I have a JAVA based application in development and production environment. These two environments are exactly identical in terms of OS, hardware and application components.

Initially the OS was Solaris 5.6 and the application was working fine in both environments. But later when the OS was upgraded to Solaris 5.8, the Production environment is having date format issues. I mean there is a functionality in the applicaiton where if an user does not login to application for 90 days i.e. 3 months, his account is locked out.

But after Solaris 5.8 upgrade, the accounts are getting locked evry 3rd day only in production environment. We have verrifed the application code and there is no difference and also the JDK installed is same in both environments.

We have checked the timezone and locale settings on the servers and they are also identical.

Can you please help help me here what to look at as this issue is causing a lot of problems ?

Thanks,
Jayant
# 2  
Old 03-28-2014
Are you seeing any jump in dates on the OS? or its just the Application picking up different dates
# 3  
Old 03-28-2014
Solaris 5.8 Upgrade..

Hi thanks for your reply.

By runnig date command on the server, it is displaying correct date.

But application is picking up wrong pattern. Instead of locking idle account evry 3rd month, it is doing it ever 3rd day.
# 4  
Old 03-28-2014
Are you sure it's the app that's locking users out and not the O/S itself?

Check /etc/user_attr and /etc/default/login for any setting.

If through any means each user tries to login once to per day for three days and fails (eg, via cron), the O/S could be locking the account.
# 5  
Old 03-28-2014
Solaris 5.8 Upgrade..

Hi

I have checked /etc/user_attr and /etc/default/login both files and they seem to be identical.

Also user tries to login through front screen. Being a web app once he enters userid and password.. the ID is comapred with last login date and system date.. if the difference is more than 90 days then his account is locked.

But it is happening every 3 rd day. The code base is identical in both the environments. Also before upgradign to solaris 5.8, it was working fine.

Thanks.
# 6  
Old 03-28-2014
There have been format changes in some locales.
What is your locale?
# 7  
Old 03-28-2014
So the web portal uses the OS local accounts for login? or the web portal is integrated with Active Directory or other tools. I don't think its a issue with local account. Have you noticed any other users who login to the server but not the web portal and their account getting locked after 3 days of inactivity? Please don't mind my questions, it helps everyone to understand the situation.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris Date format help please

I have list of dates in a file. Am reading each line and trying to format date, Can you please help me ? Sample file content: 02/22/16 USA is great country 02/21/16 USA future 02/23/16 who is he I want to read each line from above file and format date as below 2016-02-21 (i.e., using... (1 Reply)
Discussion started by: prince1987
1 Replies

2. Solaris

Sun-Fire-V490 Printer Issue After Upgrade of Solaris

Hey Guys I am new here, dont know if any one can assist me with this issue. I have a Sun-Fire-V490 machine that was upgraded to version 9 and patched a few months back. Problem is a few network printers managed by the server is printing an extra page that comes out before and after every print... (0 Replies)
Discussion started by: mprogams
0 Replies

3. Solaris

Solaris patching issue with Live Upgrade

I have Solaris-10 sparc box with ZFS file-system, which is running two non global zones. I am in process of applying Solaris Recommended patch cluster via Live Upgrade. Though I have enough space in root file-system of both zones, everytime I run installcluster, it fails with complaining less... (7 Replies)
Discussion started by: solaris_1977
7 Replies

4. Shell Programming and Scripting

to replace Date format issue

Hi, I have the below data in a file in one of the path, 101 02100002111406893401207310900A094101xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 5200xxxxxxxxxx D18000_1 CCDXXXXXXX JUL 31201207 1140689340000001 622113010547999999999003 000333333334RE ... (1 Reply)
Discussion started by: Ramyajiguru1
1 Replies

5. Solaris

Solaris 10 Live Upgrade Issue

Hi Guys, having an issue with running Live Upgrade on a t5240 runiing Solaris 10 5/08. The system has the required patches 121430, and Live upgrade was updated from the install media sol-10-u10-ga2-sparc-dvd.iso The following boot environments were created solenv1 and solenv2 with the... (8 Replies)
Discussion started by: Revo
8 Replies

6. Solaris

Change date format in solaris 10

Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to... (1 Reply)
Discussion started by: csreenivas
1 Replies

7. Solaris

Solaris Live Upgrade issue with Zones

I 'm running solaris10 u6 with 141414-02. My system is T5220 running 2 Ldoms and 7 zones on primary domain. I 'm tryin to create booth environment on my alternate root disk after breaking the SVM mirroring but it does not go well and stuck at some point , and i have to reboot the system to get rid... (1 Reply)
Discussion started by: fugitive
1 Replies

8. Solaris

setting date format in solaris

Hi, i just want to know how to format date command in solaris. like in linux if i use `date +%s`, it gives me seconds since 1970, but in solaris (sol86) , it is giving %s as result. Is there any different way in solaris Thanks Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies

9. UNIX for Advanced & Expert Users

date issue-find prevoius date in a patricular format

Hi , I have written a shell script that takes the current date on the server and stores it in a file. echo get /usr/home/data-`date '+%Y%d'`.xml> /usr/local/sandeep/GetFILE.ini I call this GetFILE.ini file from an sftp program to fetch a file from /usr/home/ as location. The file is in... (3 Replies)
Discussion started by: bsandeep_80
3 Replies
Login or Register to Ask a Question