Failed in changing sys password
Dear Experts,
Loged on as DBA I perform the following:
alter user sys identified by my_new_strong_pass
Trying then to log on as sys using this new pass, the pass is said not to be correct.
I'm running 9iR2. More (even if sys and system are not comparable) I can change the system password and log on corretly afterwards.
Any idea is appreciated.
Regards,
Guillaume
You are definitely right. I did so and it worked but the pb is I can't stay with SQLNET.AUTHENTICATION_SERVICES=(NTS) because using dba studio I get a "shared memory realm not available" if I try to restart the DB once stopped for any reason.
I need to set back to SQLNET.AUTHENTICATION_SERVICES=none. This behavior is new following the migration of the servers into AD. Buit keeping this "none" setting prevents me from connecting using Dba studio or Toad.
Did one of you already experience such a behavior of the DB ?
I don't have the same issue with the other instance hosted on the server, I mean connected as DBA I can change the pass of sys under Toad and connect with the new password keeping the setting to "none".
Best Regards,
Guillaume
Message was edited by:
[email protected]
Similar Messages
-
How to recreate dbconsole (Oracle10g ) after change SYS password?
Hi all,
would like to know how to recreate dbconsole after change SYS password? is there any links i can refer?
Thanks
Rgds,
NonieYou don't need to recreate the console after changing the SYS password, it is not required. Once you have changed the sys password, the only two tasks you'll may have to do are:
1. Connect to the DB Control Console with the new password (mandatory, obviously).
2. Change the preferred credentials, in case you have stored the sys password as preferred credentials for your database.
Console repository and EM configuration have to be rebuilt only when there are connectivity conditions that have changed, such as host name change, or IP address change, which happens when you get your IP address by means of a DHCP server.
Are you currently facing some issue, besides the log in with new credentials, when attempting to start services?
One more thing I could guess you are working on a 10gR?? (1 or 2) on an unknown platform (unix, windows???) please specify.
~ Madrid -
We are into the process of changing sys password of our RAC database.
If i change password on one node, will that password be get reflected on another node ??
(Since sys password is also stored in password file, i doubt, if change password on one node, the password file on another node will also get updated).
we have separate password files for each instance e.g inst1, inst2
so do i have to give command
alter user sys identified by new password .....on inst1
and
use orapwd ustility on inst2 to change sys password.
or else
alter user sys identified by new password......on inst1
alter user sys identified by new password(same as that of inst1) .....on inst2
***********oracle@xxx-xxx-d@testdb: /orabase/oracle/product/10.2.0/db_1/dbs
-bash-3.00 $ orapwd file=orapwtestdb password=tatamata
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Aug 7 13:22:42 2007
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SYS@testdb > alter user sys identified by goran;
User altered.
SYS@testdb >
SYS@testdb > connect sys/goran as sysdba
Connected.
SYS@testdb > connect sys/tatamata as sysdba
Connected.
SYS@testdb > -
RMAN Backup job fails after changing sys, system passwords
Hello Oracle community,
11.1g
After we changed the passwords for sys, system and sysman the backup jobs fails. this is my error log:
Recovery Manager: Release 11.1.0.7.0 - Production on Mo Aug 30 11:16:29 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12532: TNS: Ungültiges Argument
RMAN>
Echo einstellen ein
RMAN> set command id to 'BACKUP_MEGALON.INT_083010111617';
Befehl wird ausgeführt: SET COMMAND ID
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei set Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' database;
Starten backup um 30.08.10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' archivelog all not backed up;
Starten backup um 30.08.10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
RMAN-06171: Nicht bei Zieldatenbank angemeldet
RMAN> exit;
Recovery Manager abgeschlossen.
IkrischerHello Tychos,
I am able to make a sqlplus connection, but your hint send me in the correct direction. I had a special character "@" in the password and I think that was the reason for my problems with RMAN.
Ikrischer -
Can changing SYS password be complicated
Hi,
I have two node RAC with ASm and I am able to login to both the nodes without password and every is fine, If i change the password fo the SYS will there be any complications as the same password is used by the ASM instance.
Your suggestion will be highly appreciated!Thanks for your response.
My scenario is like,
I want to use the database authentication, hence if I comment out "SQLNET.AUTHENTICATION_SERVICES" oracle forces me to enter the password for SYS, but some of the services go down due to comenting "SQLNET.AUTHENTICATION_SERVICES" in in sqlnet.ora, as we need this for BEQ protocol which is used to connect from database to ASM instance failing which we cannot startup the instances and CRS resource status will show UNKNOWN.
My question is if I change the sysdba password and force the oracle to ask for the password before login as sysdba(commenting the SQLNET.AUTHENTICATION_SERVICES in sqlnet.ora) will it create any type of complecation.
Pls suggest! -
Changing 'SYS' password in 'Shared' mode ?
Oracle 9.2/AIx5.3
I have two Db DB1/DB2, both of these Db's are in 'Shared' remote login password mode. Now, I was under the impression that whilst in this mode, it was not possible to simply issue a command
alter user SYS Identified by <NEW PASSWORD>;
to change the password, if you did, it would result in an error message. Today I have tried, and it allowed me to change the 'SYS' password ? How is this the case. I’ve tried it on a 10g Db that’s also running in 'Shared' mode and got the following error message.
ERROR at line 1:
ORA-28046: Password change for SYS disallowedMetalink 452959.1 states you cannot change or add users to the passwordfile when remote_login_passwordfile='SHARED' and you need to set this to 'EXCLUSIVE'. I had to look this up and I found it simply by searching for the error number.
Assuming you are not running 10.2.0.1 you could have easily looked up yourself.
Also as Oracle is always changing, differences between 9.2 and 10gR1 or R2 are best verified by looking in the release notes for that version, providing the quickest answer easily.
Sybrand Bakker
Senior Oracle DBA -
Upgrade WebDB 2.2 to Portal Fails with Invalid Sys password
I am upgrading from WebDB 2.2.0.0.5 all the way to the latest 3.0.9xx. My database is 8172. I am at the point where you run the 306 upgrade script. It makes it through renaming all the webdb objects to UPG_<OLD_NAME> but then fails with an invalid sys password error when starting winstall. The sys password is not invalid and the script even tests that it is valid before even starting. So, I am not sure what the problem is. I have tried this about a dozen times different ways and still the same error:
Renaming the 2.2 tables to UPG_<OLD_NAME> and Dropping Objects
Renamed 66 2.2 table(s).
Dropped 15 2.2 sequence(s).
Dropped 164 PACKAGE(S)
Dropped 3 PROCEDURE(S)
Dropped 0 FUNCTION(S)
Dropped 55 VIEW(S)
PL/SQL procedure successfully completed.
/appl02/stage/upgrade22
INSTALLING WINSTALL WITH NEWSSO AND NO CONNECTSTRING
Error: Invalid SYS password
Install terminated.
Running setpass.sql
/appl02/stage/upgrade22/upgrade/22-30 /appl02/stage/upgrade22
old 1: alter user !schema_name identified by !schema_password
new 1: alter user webdb identified by webdb
User altered.
/appl02/stage/upgrade22
/appl02/stage/upgrade22/sso /appl02/stage/upgrade22
ERROR:
ORA-01017: invalid username/password; logon denied
Does anyone have ANY ideas????We spend almost 6 months (on and off) to get a successful migration from webdb. After countless discussions with Oracle, because we though we where doing something wrong, Oracle advised us that forms do not migrate "well" and any migrated forms do not display as portals. We are not upgrading 300 components by hand. I do not know if this affects you like it did us but I thought you would like to know.
Paul -
Standby Gaps after changing sys password
Hi all,
11.2.0.1
aix6.1
I changed our sys password at primary db and copy the "orapwdprod" from source dbs to "orapwdproddr" at standby dbs.
But I noticed that the log is not sync.
1 SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
2 FROM
3 (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
4 (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
5* WHERE ARCH.THREAD# = APPL.THREAD# ORDER BY 1
SQL> /
Thread Last Sequence Received Last Sequence Applied Difference
1 2635 2594 41
Where can I check the error why is it not applying acrhive logs
Thanks,
zxyFor example:
In primary run again transfer orapwd (command scp)
bash-3.2$ scp /u01/app/oracle/product/11.2.0/db_1/dbs/orapwXXXXX1 Standby_ip:/u01/app/oracle/product/11.2.0/db_1/dbs/orapwXXXXX
Password:
orapwKBAZER1 100% |**************************************************************************************************************************************************| 2048 00:00
And please run sql query again:
SELECT status, error
FROM V$ARCHIVE_DEST_STATUS
WHERE STATUS <> 'DEFERRED' AND STATUS <> 'INACTIVE';
I have done this carefully and Im sure I did it correctly.
How can I test connectivity to standby database?
Can I run at primary server > sqlplus sys/passwd@standby as sysdba ? to test if I can connect using the password file? -
FNDCPASS failed to change apps password.
Hi,
I have freshly installed my ebs r12 system(R 12.0.6) and i am trying to change the defailt apps password using FNDCPASS utility as below. But after changing the password. When i try to login with modified password, sqlplus is says invalid username or password.
FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS apps001
How can i recover my password now?
Thanks,
PrasadHi Hussein,
Find below the log,
Application Object Library: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
module:
Current system time is 25-JUN-2009 15:02:07
Working...
Concurrent request completed successfully
Current system time is 25-JUN-2009
15:02:09
I tried running autoconfig and it failed for all sql scripts.
I was able to login using my old apps password after restoring the database and i am getting same error after running FNDCPASS.
It seems there is something missing in my FNDCPASS. I can see FNDCPASS file size on my new setup is 6 bytes less than the file on other environment.
Thanks,
Prasd -
Changing 'SYS' password / AIX concern
To comply with an Audit requirement, we need to change the oracle 'sys' password periodically, Now I have a concern that if I change the password for 'SYS' that there is a hardcoded password file on the AIX server.. would this be the case ?
Florian W. wrote:
If you won't use that passwordfile you have to configure secure connections with the Oracle Security Option.... Or use OS Authentication ("oradba" group). (doc link: [DBA Authentication|http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#i1006534])
Edited by: orafad on Feb 3, 2009 2:38 PM -
I changed SYS password and only a few people can login through it
A few weeks ago i decided to change the default password of SYS from the webbased OEM of Oracle 10g. Me and my collegues connected successfully using this new password (from different computers). However today i discovered that two developers which also use the SYS account, cannot access the database using SYS with this new password (nor the old one). The error message they are getting is Invalid username/password... (no they didn't forget the capslock on!)
The strange things are that:
1) They can connect through other usernames but not through SYS
2) the database is on the 192.168.4.x network, me and my collegues are on the 192.168.2.x network and the two developers and their team-mates are on the 192.168.14.x network.
Could this be a network related problem? I don't know ... When it was the default change_on_install password, everyone used to connect normally. I changed the password again, to a simple one to make really sure they are not typing it wrong, and yet, they got the same Invalid username/password error..
I have exhausted all my ideas. what am i missing? thanks...In your case , I am almost sure that they pointing to another database. Check its network files in the Oracle Home.
From what tool thwy are try to log in ?
Why developers need the sys account?
Joel Pérez
http://otn.oracle.com/experts -
Idea for Automatically Changing Sys Password
What is the best approach for automating the changing of sys password every x amount of days?
I need to do this for security reasonsBest practice is to never use SYS for anything other than patching. So my recommendation is to change it after patches are applied and make sure that no one uses it except for patching.
-
How do you change sys password?
I know this is basic but I just can't get it.
How do you change the sys password from
change_on_install ?
It seemed to expire or something, maybe my installation is messed up from shutting down linux without first shutting down oracle.
Please help me learn how to change my sys password.
ArmandYou can change the sys password as any user that has DBA Privs from sqlplus.. eg log in as system/manager.
If you do not know the system password you can log into server manager and connect internal.
Either way the statement you are looking for is
alter user sys identified by password;
Rod -
HOW TO RESET SYS PASSWORD after rename of db
Thanks for taking my quesiton!
I renamed my database. Everything is working fine except I can not change sys password. If I try I get: ORA-28003 : password verified for the specified password failed.
I can change system's password. I can log on just fine as SYSI think my pwdsid.ora password file may be the problem.
Has anyone every had this happen?
Thanks, KathieHello Kathie,
http://ora-28003.ora-code.com/
Have you set some specific password rules? Is the function VERIFY_FUNCTION available for all and is it valid?
Did you try to change the password for user sys with user sys?
Try it with some different user which have the rights for that... (for example sys) only for testing...
@Anantha:
You are right... but please have a look at here ( Fun with password verification):
http://radiofreetooting.blogspot.com/2006_04_01_archive.html
Regards
Stefan -
We have oracle 10.2.0.1 running on Unix
WE didnt set the password of SYS user in oracle but now we would like to set
I use the command alter user sys identified by password
i got message user altered
Now i tried connection to sys/password@abc as sysdba
but no luck
So i created password file by
orapwd file=orapwdhmo password=password entries=2 force=y
file created but again unable to login
and at OS level
if I set
ORACLE_SID=INSTANCE_NAME
export ORACLE_SID
sqlplus / as sysdba
connected
I am able to
Please let me know how to set password for sysIs this attempt where the db resides, or from a remote client:
sqlplus "sys/password@abc as sysdba"
On the other hand,
ORA-01031: Message 1031 not found; No message file for product=RDBMS,
facility=ORA
unavoidably means you cannot open error message catalog. Reasons are either:
- Incorrect ORACLE_HOME setting
- Incorrect PATH setting
- files have been removed
And this error message issue must first be solved before you pretend to change sys password.
Changing sys password is as follows:
1. Create a password file
2. Make sure your remote_login_password_file says exclusive
3. rebounce your instance
4. change sys password
5. verify your username is listed at the V$PWFILE_USERS dynamic view
7. change user password.
I suggest you to double check.
~ Madrid.
Maybe you are looking for
-
How do I update apps that we're originally downloaded w/ non-email Apple ID?
I have some apps on my iPhone thar I downloaded before an email address was required your Apple ID. Now that an email address is required I can't run updates on those apps from the app store because the apps still have my old username associated with
-
HT1364 How to install iTunes, but access music library from external drive?
I tried to install iTunes (11) on a new computer with Windows 8. I keep the iTunes library on an external drive. I tried to move the media files over to the newly installed iTunes within the hard drive program files, but it doesn't seem to work. T
-
Modifying comments in Shared Review
Can the creator of a shared review modify the comments of other reviewers?
-
Expand/collapse button functionality on module pool screen
Hi , I want to design a module pool screen with a expand/collapse button on it. The desired functionality associated with this button would be something similiar to that available in ME21N screen. When the expand button is clicked it should open up a
-
Cannot open .jsp files from browser
Hi! I cannot open .jsp files form the browser.(Some sample jsp files I downloaded open without any problem, only the ones I added, don't- they're in the same directory, with their java files in the web-inf folder.) I have jdk1.2.2,jswdk1.0.1,jsse1.0.