cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB Livecache Rename error

Former Member
0 Kudos

Hi All,

I have been renaming my maxBD livecache manually as per the SAP note 1427931 - Renaming an SAP MaxDB/liveCache database as of 7.8.

System details: SCM Live cache 7.9.07 (SP9) on MaxDB 7.9.07(SP9).

Initially had to change the contents of /etc/opt/sdb file as the path specified there does not exist.

Original content:

# cat sdb

[Globals]

IndepPrograms=/sapdb/programs

IndepData=/sapdb/data

SdbOwner=sdb

SdbGroup=sdba

Changed content:

# cat sdb

[Globals]

IndepPrograms=/db2/TLE/sapdb/programs

IndepData=/db2/TLE/sapdb/data

SdbOwner=sdb

SdbGroup=sdba

However during Register the database installation and the X server i am encountering the below issue:

# cd /db2/TLE/sapdb/programs/bin

# ./sdbreg -r -d TLE -path /db2/TLE/sapdb/TLE/db -sw_kernel -

start_listener

Registering software installation...

Starting listener...

Registering database...

ERR: Failed

ERR: Cannot register database

ERR: Error performing dbmreg

INFO: Starting external program /db2/TLE/sapdb/TLE/db/pgm/dbmreg

INFO: Command line is: /db2/TLE/sapdb/TLE/db/pgm/dbmreg TLE

INFO: Output line 1: The SAP MaxDB Database Registerer,

Version

7.9.07.09

INFO: Output line 2: Copyright 2000-2011 by SAP AG

INFO: Output line 3:

INFO: Output line 4: Error: Can not determine location of

dbmcli

INFO: Output line 5: Error while using the file ID

'DBMCliExecutable'.

INFO: Output line 6: Error while using the file ID

'ClientSoftwareBin'.

INFO: Output line 7: Error while using the file ID

'ClientSoftwarePath'.

INFO: Output line 8: Error during determination of software

path

INFO: Output line 9: could not read from registry, error

message:

INFO: Output line 10:

INFO: Program terminated with exit code 1

Could you please advise how to proceed on this.

thanks,

Soumya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Also pls find below the output of sdbverify command.

It still seems to be looking out for my source system(TLD) instaed of target system(TLE).

# ./sdbverify

Checking installation "Global" (/db2/TLE/sapdb/programs, 7.9.07.09)

Checking package Installer

Checking package SAP Utilities Compatibility

Checking package Global Listener

Checking package Installation Compatibility

Checking installation "Legacy" (/db2/TLE/sapdb/programs, )

Checking installation "TLD" (/sapdb/TLD/db, 7.9.07.09)

ERR:  Failed

ERR:    cannot open installation

ERR:      Cannot open installation (/sapdb/TLD/db): No such file or directory

ERR:    Checking installation "TLD" failed

ERR:      Cannot get package list

ERR:        Cannot initialize install registry

ERR:          Install registry file not found: directory /sapdb/TLD/data/installations/TLD/config/install doesn't exist

Also the output of sdbregview -l

# ./sdbregview -l
Installation: Global    /db2/TLE/sapdb/programs
Global Listener                7.9.07.09    valid    64 bit
Installation Compatibility     7.9.07.09    valid    64 bit
Installer                      7.9.07.09    valid
SAP Utilities Compatibility    7.9.07.09    valid    64 bit

Installation: TLD    /sapdb/TLD/db


ERR:  Failed
ERR:    cannot open installation
ERR:      Cannot open installation (/sapdb/TLD/db): No such file or directory
ERR:    Cannot get packages of installation TLD
ERR:      Cannot initialize install registry
ERR:        Install registry file not found: directory /sapdb/TLD/data/installations/TLD/config/install doesn't exist

Does the maxDB needs to be installed again on the new box? will just copying all the FS not be suffice ?

Thanks,

Soumya

former_member206552
Active Contributor
0 Kudos

Hi Soumya,

have you check your enviroment variables, are the correct ?

type 'env' and check

Best Regards

Marius