on 09-23-2011 9:16 PM
Hi,
The BRTOOLS 7.20(16) is not getting connected to Oracle11g(11.2.0.1) using the default password.I have to explicitly provide the Oracle SYSTEM ID and password. How ever orasid is able to execute sqlplus / as sysdba.
Means No OS level authorization problem appears. Please suggest. Its a ECC6.0 system with Oracle11g running on Solaris5.10.
Hello,
The fact that you can connect with / AS SYSDBA does not say anything about the SYSTEM user and password. With "/ AS SYSDBA" your Oracle user is SYS, not SYSTEM. If the SYSTEM user does not have the default password (and it shouldn't have!) then there are two solutions: either use "brconnect system/password", which is what you do but is very unsafe because anyone doing a "ps" will see the password in clear text; or create the user OPS$ORA<sid> with the proper roles and use "brconnect -u /" (empty user, empty password). Example ("SID" = database name):
sqlplus / as sysdba
create user OPS$ORA<SID> identified externally
default tablespace PSAPSR3 temporary tablespace PSAPTEMP;
grant connect, resource, sapdba to OPS$ORA<SID>;
exit
# Now to run any BR tool:
su - ora<sid>
brtools -u /
If the SAPDBA role does not exist you have to run the script "sapdba_role.sql" first (to be found in /sapmnt/<SID>/exe. Alternatively you can also grant the full DBA role.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ranjan,
Could you provide the full trace here? I am asking in order to be at the safe side that did you executed "saproot.sh"?
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>
> Do i really need to execute saproot.sh after BRTOOLS upgrade ?? I haven't executed it before system refresh and it was working fine.I am facing issue only after system refresh.
Hi,
This command set the permission of brtools. Because of this, you need to execute this command after updated brtools.
Best regards,
Orkun Gedik
Hello,
Did you change the password for user SYSTEM recently ? (However, I still doubt if it should have any impact on brtools, we also used to reset the password every 3 months and brtools used to work fine).
Anyhow, I would say let's try to reset the password once more for SYSTEM using brtools (brconnect) itself. You try the command mentioned by Eric
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Actually we had performed system refresh in the system. We upgraded the BRTOOLS just one week prior to system refresh.
Everything was working fine before refresh but after refresh i found that BRTOOLS is not working. We have OPS$SIDADM and OPS$ORASID users in refreshed database. R3trans is working fine. We have tried to correct the error by changing the password for SYSTEM user but didn't worked.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.