Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Load SPM baseline from AWR Oracle
  • online_bkup.sql Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Find all users who have DML privileges Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Good notes on Oracle Events Oracle
  • Temporary tablespace explaination Oracle
  • Implementation of key based authentications Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • How to check current redo log progress redo_progress.sql Oracle

ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME

Posted on 05-Jun-2009 By Admin No Comments on ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME

Problem:

~~~~~~~~

When you upgrade the database from Oracle V7 to V8, and then create a profile

which limits password_life_time, existing users cannot login to the database.

New users can login without a problem.

To reproduce this problem:

1. Create a test user (test1) in a V7 database:

grant connect, resource to test1 identified by test1;

connect test1/test1

2. Upgrade this database to V8 and test if user test1 can connect:

sqlplus test1/test1

connected

3. Create and assign a profile that limits password_life_time:

create profile testprofile limit password_life_time 10;

alter user test1 profile testprofile;

4. Try to connect as user test1:

sqlplus test1/test1

ERROR:

ORA 1841: (full) year must be between -4713 and +4713 / +9999

Solution:

~~~~~~~~~

Alter the user and change the password,

– or –

Alter the profile and change password_life_time to unlimited.

You can ‘change’ the password for every user in such a way that it keeps the

original value (useful when you do not want to trouble users with a password

change) by using the method from Note 1051962.101

Explanation:

~~~~~~~~~~~~

This is Bug 711547

Oracle, SQL scripts

Post navigation

Previous Post: check_copy_progress.sh
Next Post: Restoring a user’s original password 1051962.101

Related Posts

  • Free conference number from http://www.freeconference.com Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • Virtual Indexes in Oracle Oracle
  • how to find OS block size Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Drop database in Oracle 10g Oracle
  • RAC with RHEL4 and 11g Oracle
  • shutdown linux Linux/Unix
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Complete Git Tutorial for Beginners GIT
  • cache buffer chain latch Oracle
  • Export Oracle data and Compress at same time Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme