on 08-15-2012 11:27 PM
Hi guys,
After a system copy, I am not able to connect the database to SAP.
The profiles files were changed but when I run the command R3trans -d, I gotta this error:
* ERROR in DB6Connect[dbdb6.c, 1575] CON = 0 (BEGIN)
4 ETW000 603706 0.624456
4 ETW000 [dev trc ,00000] &+ DbSlConnectDB6( SQLConnect 😞 [IBM][CLI Driver] SQL1013N The database alias name or database name "SID" could not
4 ETW000 [dev trc ,00000] &+ be found. SQLSTATE=42705
The database is DB6.
Thank you much,
Má
Did you do a redirected restore while performing the system copy .
After the restore is over , you will have to perform certain post steps to set things right before R3trans can connect to the correct database schema .
You will have to perform the following steps.
1. create db2<oldsid> in the target system and also the sap<oldsid> in the target system and assign them to db<newsid>adm and db<newsid>mnt groups
2. set the environment variable dbs_db6_schema to sap<oldsid>
3. login as db2<oldsid> with the environment of db2<newsid>
4. connect to database (db2 connect to <new_sid>)
execute the following grants
grant dbadm,secadm on database to user db2<new_dbsid>
grant secadm on database to user <newsid>adm
5. Then update the dbsdb6.conf file as follows with <newsid>adm
dscdb6up -create <password of sap(oldsid)> <password of (newsid)adm>
6. Test
# R3trans -d
Refer this thread http://scn.sap.com/message/13321602
Regards
Ratnajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ratnajit,
thank you so much for your helpful information.
Teh previous error was solved after running the catalog command but right now my error is related to :
[IBM][CLI Driver] SQL30082N Security processing failed with reason "19" ("USERID DI
4 ETW000 [dev trc ,00000] &+ SABLED or RESTRICTED")
I have already run the command that you mentioned:
dscdb6up -create <password of sap(oldsid)> <password of (newsid)adm>
But the error persists. I can log on withthe sapoldsid that it is SAPR3 and the newsid adm userids but the error still persists.
Any hints?
The db2<oldsid> is temporarily created to grant DB authority to db2<newsid>.
Since this user has to connect to the database , hence ,it needs to have env of db2<newsid> user , so that all required environment is set .
su - db2<newsid>
su db2<oldsid>
This will have db2<oldsid> environment of db2<newsid>.
Regards
Ratnajit
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.