Thursday, September 8, 2022

RMAN-04009: warning from auxiliary database: ORA-28002: the password will expire within 6 days

I have come across an issue when trying to duplicate a database by connection to Recovery catalog database. You will come across this warning when the user profile has reached PASSWORD_LIFE_TIME value limit and you have entered into PASSWORD_GRACE_TIME value

RMAN-04009: warning from auxiliary database: ORA-28002: the password will expire within 6 days

First check the profile that user has been assigned.

SQL> select username , profile from dba_users where username=’RMAN’;
username profile
------------- ---------------
RMAN DEFAULT

Check the current status of the user
SQL> select USERNAME, ACCOUNT_STATUS from dba_users where USERNAME = ‘RMAN’;
USERNAME ACCOUNT_STATUS
------------- ----------------- --------------------------------
RMAN EXPIRED(GRACE)

Check the RESOUCE_NAME, LIMIT for the Default profile.
SQL> select RESOURCE_NAME,LIMIT from dba_profiles where PROFILE='DEFAULT';

RESOURCE_NAME LIMIT
---------------------------  -------------------------------------------------
COMPOSITE_LIMIT UNLIMITED
SESSIONS_PER_USER UNLIMITED
CPU_PER_SESSION UNLIMITED
CPU_PER_CALL UNLIMITED
LOGICAL_READS_PER_SESSION UNLIMITED
LOGICAL_READS_PER_CALL UNLIMITED
IDLE_TIME UNLIMITED
CONNECT_TIME UNLIMITED
PRIVATE_SGA UNLIMITED
FAILED_LOGIN_ATTEMPTS 10
PASSWORD_LIFE_TIME 180
RESOURCE_NAME LIMIT
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX UNLIMITED
PASSWORD_VERIFY_FUNCTION NULL
PASSWORD_LOCK_TIME 1
PASSWORD_GRACE_TIME 7
INACTIVE_ACCOUNT_TIME UNLIMITED

As we see password PASSWORD_LIFE_TIME set to 180 days

First you need to change the password for the issue to resolve.
SQL> Alter user rman identified by rman_new_password;

As current password life time set 180 days, You can change the password life time to avoid this issue in future. Either you can set to specific number of days or UNLIMITED.

SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered.

You can check the modified resource limit for PASSWORD_LIFE_TIME
SQL> select RESOURCE_NAME,LIMIT from dba_profiles where PROFILE='DEFAULT' and RESOURCE_NAME='PASSWORD_LIFE_TIME';

RESOURCE_NAME   LIMIT
---------------------------  -------------------------------------------------
PASSWORD_LIFE_TIME UNLIMITED

Hope this helps

Thanks & Regards
http://oracleracexpert.com, Oracle ACE Pro

10 comments:

  1. As I have seen you have a lot of database technical knowledge. I am also a PHP developer but resolve this kind of database error are very confusing. I am doing my PhD in IT and my professor assigned me two assignments, 'Database technologies' and 'Digital Marketing thesis writing'. The first one 'Database technologies' has been approved but the second one I am looking for digital marketing thesis writing services company. Because thesis is very hard for me. But I am not sure about these websites because it is my first time to take help from such websites if there is anyone who helps me regarding this?

    ReplyDelete
  2. Auxiliary databases are a great way to store data that needs to be accessed quickly, but they can also be a potential security risk. my assignment essay helper sure you have adequate security measures in place to protect your data from malicious actors.

    ReplyDelete
  3. This article is incredibly helpful and informative! I'm looking forward to learning even more about composition from future articles.Online dissertation writer UAE

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Cortical topic it was, of warning from auxiliary database, but there are also very interesting and authorized UK Hr Assignment Help actively in the most affordable rates from others, they are are perfectionists.

    ReplyDelete

  6. What is Headless commerce commerce is an innovative approach to online retail where the front-end presentation layer is decoupled from backend functionalities, offering dynamic and customizable shopping experiences. Ginkgo Retail leverages this strategy to innovate rapidly, seamlessly integrate with diverse platforms, and deliver personalized journeys for customers across all touchpoints.

    ReplyDelete
  7. It's critical to lead a balanced lifestyle that incorporates regular breaks, exercise, and a nutritious food in order to manage academic stress. You might also experiment with methods of relaxation like meditation or deep breathing. Pressure can be decreased by establishing reasonable goals and practicing efficient time management. Consult friends, relatives, or counsellors for support if you're feeling overwhelmed. Additionally, baking can be soothing if you're as passionate about it as I am. By the way, I recently discovered cake gel price small pack thats ideal for those baking periods that really crank you up!

    ReplyDelete
  8. نصائح تدفئة حمامات السباحة:
    إذا كنت تعيش في منطقة ذات طقس بارد جدًا، قد تحتاج إلى نظام تدفئة احتياطي.
    اختيار نظام طاقة متجددة (مثل السخانات الشمسية) يمكن أن يقلل التكاليف التشغيلية.
    تأكد من أن السخان يلبي معايير السلامة والجودة.

    ReplyDelete
  9. بعض النصائح المهمة التي يجب مراعاتها عند تركيب تدفئة مركزية:
    مراعاة معايير السلامة:
    تأكد من أن التوصيلات الكهربائية وتوصيلات الغاز مطابقة للمعايير المحلية.
    تركيب أنظمة أمان مثل أجهزة الكشف عن أول أكسيد الكربون.
    العزل الحراري:
    عزز عزل الجدران والأسقف والأرضيات لتقليل فقد الحرارة، مما يقلل استهلاك الطاقة.
    عزل الأنابيب يقلل من فقد الحرارة أثناء التوزيع.

    ReplyDelete
  10. نصائح للحفاظ على الموازين:
    تجنب التحميل الزائد على الميزان لتفادي إتلاف المستشعرات.
    وضع الميزان على شركه موازين فى مصر مستوٍ وثابت لضمان القياسات الدقيقة.
    تخزين الميزان في مكان بعيد عن الرطوبة والمواد الكيميائية.

    ReplyDelete