cancel
Showing results for 
Search instead for 
Did you mean: 

BKI0008E: The environment variable BI_CALLER is not set correctely. The cur

Former Member
0 Kudos

Hi All,

I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.

Now when i try to run the backup using the pipe am getting the above mentioned error.

Please find below the dbm.ebp log for the same...

more dbm.ebp

2009-10-22 02:06:08

Setting environment variable 'TEMP' for the directory for temporary files and pi

pes to default ''.

Setting environment variable 'TMP' for the directory for temporary files and pip

es to default ''.

Using connection to Backint for MaxDB Interface.

2009-10-22 02:06:08

Checking existence and configuration of Backint for MaxDB.

Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'

as path of the configuration file of Backint for MaxDB.

Setting environment variable 'BSI_ENV' for the path of the configuration fil

e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'

.

Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl

as.env'.

Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.

Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.

Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.

Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.

Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'

.

Found keyword 'TIMEOUT_SUCCESS' with value '1800'.

Found keyword 'TIMEOUT_FAILURE' with value '1800'.

Finished reading of the Backint for MaxDB configuration file.

Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.

Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.

Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.

Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB

.

Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD

B.

Using '1800' seconds as timeout for Backint for MaxDB in the case of success

.

Using '1800' seconds as timeout for Backint for MaxDB in the case of failure

.

Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra

te.

Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database

to migrate.

Checking availability of backups using backint's inquire function.

Check passed successful.

2009-10-22 02:06:08

Checking medium.

Check passed successfully.

2009-10-22 02:06:08

Preparing backup.

Setting environment variable 'BI_CALLER' to value 'DBMSRV'.

Setting environment variable 'BI_REQUEST' to value 'NEW'.

Setting environment variable 'BI_BACKUP' to value 'FULL'.

Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back

up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.

Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for

MaxDB.

Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi

nt for MaxDB.

Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.

Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.

Prepare passed successfully.

2009-10-22 02:06:08

Creating pipes for data transfer.

Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.

Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.

All data transfer pipes have been created.

2009-10-22 02:06:08

Starting database action for the backup.

Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/

lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from

db-kernel.

The database is working on the request.

2009-10-22 02:06:09

Waiting until database has prepared the backup.

Asking for state of database.

2009-10-22 02:06:09 Database is still preparing the backup.

Waiting 1 second ... Done.

Asking for state of database.

2009-10-22 02:06:10 Database is still preparing the backup.

Waiting 2 seconds ... Done.

Asking for state of database.

2009-10-22 02:06:12 Database has finished preparation of the backup.

The database has prepared the backup successfully.

2009-10-22 02:06:12

Starting Backint for MaxDB.

Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back

up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm

p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.

Process was started successfully.

Backint for MaxDB has been started successfully.

2009-10-22 02:06:12

Waiting for end of the backup operation.

2009-10-22 02:06:12 The backup tool is running.

2009-10-22 02:06:12 The database is working on the request.

2009-10-22 02:06:14 The backup tool process has finished work with return co

de 2.

2009-10-22 02:06:17 The database is working on the request.

2009-10-22 02:06:27 The database is working on the request.

2009-10-22 02:06:42 The database is working on the request.

2009-10-22 02:07:02 The database is working on the request.

2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela

psed ... OK.

2009-10-22 02:07:17 The database has finished work on the request.

Receiving a reply from the database kernel.

Got the following reply from db-kernel:

SQL-Code :-903

The backup operation has ended.

2009-10-22 02:07:17

Filling reply buffer.

Have encountered error -24920:

The backup tool failed with 2 as sum of exit codes. The database request

was canceled and ended with error -903.

Constructed the following reply:

ERR

-24920,ERR_BACKUPOP: backup operation was unsuccessful

The backup tool failed with 2 as sum of exit codes. The database request

was canceled and ended with error -903.

Reply buffer filled.

2009-10-22 02:07:17

Cleaning up.

Removing data transfer pipes.

Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.

Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.

Removed data transfer pipes successfully.

Copying output of Backint for MaxDB to this file.

-


Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-

-


Data Protection for mySAP(R)

Interface between BR*Tools and Tivoli Storage Manager

- Version 5, Release 4, Modification 0.0 for Linux x86_64

-

Build: 303 compiled on Nov 16 2006

(c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.

BKI0008E: The environment variable BI_CALLER is not set correctely. The

current value is "DBMSRV"

usage:

backint -p <par_file> [-u <user_id>] [-f <function>]

[-t <type>] [-i <in_file>] [-o <out_file>] [-c]

where:

<user_id> backint utility user

<function> backup | restore | inquire | password | delete

<type> file | file_online

<par_file> parameter file for backup utility

<in_file> name of a text file that defines the objects

default: STDIN

<out_file> Pool for processing messages and the results

of the executed function.

default: STOUT

BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .

BKI0021I: Elapsed time: 01 sec .

BKI0024I: Return code is: 2.

-


End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---

-


Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out

'.

Copying error output of Backint for MaxDB to this file.

-


Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC

.err)----


-


End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e

rr)----


Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC

FC.err'.

Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.

Have finished clean up successfully.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Also, is there any specification about the user permissions and about how the backup should be run?