Hello,
After successfully configuring the Oracle Secure Backup Module, I installed the library successfully, the parameter file was created and the wallet credentials were created as well. I used the script and this the content of the script below:
osbws_install.sh file content
java -jar osbws_install.jar \
-AWSID xxxxx \
-AWSKey xxxxx \
-otnUser Christella.Nguewa@cns-inc.com \
-otnPass xxxxxxx \
-libDir $ORACLE_HOME/lib \
-proxyHost xxxxxx \
-proxyPort xxxxxxx \
-walletDir $ORACLE_HOME/dbs/osbws_wallet
Then in Rman these are the commands that I used
RMAN> configure channel device type sbt parms
'SBT_LIBRARY=/u01/app/oracle/product/12.1.0/dbhome_2/lib/libosbws.so SBT_PARMS=(OSB_WS_PFILE=/u01/app/oracle/product/12.1.0/dbhome_2/dbs/osbwsSBLPRD.ora)';
RMAN> backup device type sbt current controlfile;
**** I HAVE ALREADY CHANGED THE DEFAULT BACKUP TO SBT*****
PROBLEM:
When I try to backup using command above, this is what I get;
RMAN> backup device type sbt current controlfile;
Starting backup at 28-MAY-19
using target database control file instead of recovery catalog
AND IT JUST HANGS THERE.....
I PERFORMED A SBT TEST TO CHECK AND BELOW IS THE ERROR I ENCOUNTERED
$ ln -s $ORACLE_HOME/lib/libosbws.so $ORACLE_HOME/lib/libobk.so
$ sbttest osbws_readme.txt -dbname SBLPRD
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: vendor description string=Oracle Secure Backup
sbtinit: Media manager is version 12.2.0.2
sbtinit: Media manager supports SBT API version 2.0
sbtinit: allocated sbt context area of 1120 bytes
Oracle Secure Backup Web Services Library
Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
Release : 12.2.0.1.0 Production.
Build label: RDBMS_12.2.0.1.0DBBKPCSBP_LINUX.X64_180611
PUT: http://oracle-data-UUUVBBXXXMM-1.s3.amazonaws.com/?format=xml&x-Node=tdoracle01&x-ReqCnt=2&x-ReqTime=2019-05-24%2019%3A04%3A03&x-SbtApi=sbtinit2&x-SbtOp=CreateBucket&x-SbtVersion=12.2.0.2&x-SessionId=89A7DCA3588F7AAAE05315E319ACE737&x-System=Linux%20x86%2064-bit&x-SystemId=13&x-User=oracle
Status => 403
Reason => Forbidden
ReqId => 7511B69B0Y678G201
HostId => hpgcca14cg0e+IZIyDfugInd2Dnht521RhpFoL447okZO8Yc9Ci3yUre85butMhn1hfkm0wnG2I5NBTEIM=
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>7511B6FAE471B659</RequestId><HostId>hp0KccaN6tq+IZIyDfugInd2Dnht521RhpFoL447okZO8Yc9Ci3yUre85buMq4m0wnG2I5NBEIM=</HostId></Error>
31402_139734970607104; Fri, 24 May 2019 12:04:03
KBHS-01404: See trace file STDOUT for details
KBHS-00719: Error 'AccessDenied'; Access Denied
KBHS-00700: HTTP response error 'Forbidden'
PLEASE ANY HELP WOULD BE GREATLY APPRECIATED!