cancel
Showing results for 
Search instead for 
Did you mean: 

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECU

former_member286941
Participant
0 Kudos

Dear Gurus,

Please help me in solving the below issue, if any idea let me know the soloution.

BR0477I Oracle pfile /oracle/SSX/112_64/dbs/initSSX.ora created from spfile /oracle/SSX/112_64/dbs/spfileSSX.ora

BR1301W Error message from likeywlib:

===...could not load SSF library /usr/sap/SSX/DVEBMGS45/exe/libsapsecu.so .

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECULIB ("/usr/sap/SSX/DVEBMGS45/exe/libsapsecu.so") using function SsfSupInitEx (), rc = 1

BR1301W Error message from likeywlib: 542 likey_init: At least one more attempt to load the SAPSECULIB will follow.

BR1301W Error message from likeywlib:

===...could not load SSF library libsapsecu.so .

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECULIB ("libsapsecu.so") using function SsfSupInitEx (), rc = 10 (no library).

BR1301W Error message from likeywlib: 541 likey_init: Couldn't load SAPSECULIB. Giving up.

BR1302W Initialization of license key library likeywlib failed, return code 1

BR1304W Checking SAP license failed at location BrLicCheck-122

BR0602W No valid SAP license found - please contact SAPBR0101I Parameters

I have done the below

DIR_LIBRARY = Kernel directory

libapsecu.so is available and latest updated.

brtools is 7.20 patch 14

we are using 11g oracle version, its new built and refreshed system.

SAP License is successfully installed.

Regards - Munish

Accepted Solutions (0)

Answers (14)

Answers (14)

former_member286941
Participant
0 Kudos

Thanks all for your good suggestions.

former_member286941
Participant
0 Kudos

Issue resolved by providing full access to filesystem usr/sap/SSX/DVEBMGS45.

former_member286941
Participant
0 Kudos

instantclient is set to as below:

lrwxrwxrwx 1 sx0adm sapsys 41 Jul 28 15:39 instantclient -> /oracle/client/10x_64/instantclient_10204

Do you have any third party utility configured via Backint?

I have not much idea, but we schedule the backup using DB13, some netbackup is running in backend which is managed by backup team.

After setting BR_TRACE = 8 enviornment variable, I ran below commands from orassx

brconnect -u / -c -f check -TRC 8

brtools -TRC 8

(DB14 output)

BR0801I BRCONNECT 7.20 (14)

BR0248I BR_TRACE: level 0, function main entry with 'brconnect -u / -c -f check -TRC 8'

BR0200I BR_TRACE: location BrEnvProcess-1, Environment of BRCONNECT:

'HOME=/oracle/SSX'

'PATH=/usr/bin:/oracle/SSX/112_64/bin:/oracle/SSX:/oracle/SSX/112_64/bin:/usr/sap/SSX/SYS/exe/run:/usr/bin:/oracle/

'LOGNAME=orassx'

'HZ='

'TERM=xterm'

'SHELL=/bin/csh'

'MAIL=/var/mail/orassx'

'LC_CTYPE=en_US.ISO8859-1'

'LC_NUMERIC=en_US.ISO8859-1'

'LC_TIME=en_US.ISO8859-1'

'LC_COLLATE=en_US.ISO8859-1'

'LC_MONETARY=en_US.ISO8859-1'

'LC_MESSAGES=C'

'TZ=UTC'

'PWD=/oracle/client/10x_64'

'USER=orassx'

'ORACLE_BASE=/oracle/SSX'

'ORACLE_HOME=/oracle/SSX/112_64'

'SAPSYSTEMNAME=SSX'

'DIR_LIBRARY=/usr/sap/SSX/SYS/exe/run'

'LD_LIBRARY_PATH=/usr/sap/SSX/SYS/exe/run:/oracle/SSX/112_64/lib'

'THREAD=NOPS'

'dbms_type=ORA'

'dbs_ora_tnsname=SSX'

'dbs_ora_schema=SAPSSX'

'ORACLE_PSRV=SSX'

'ORACLE_SID=SSX'

'DB_SID=SSX'

'ORA_NLS33=/oracle/SSX/112_64/ocommon/nls/admin/data'

'NLS_LANG=AMERICAN_AMERICA.WE8DEC'

'SAPDATA_HOME=/oracle/SSX'

'BR_TRACE=8'

BR0805I Start of BRCONNECT processing: ceguynrj.chk 2011-09-20 12.32.23

BR0484I BRCONNECT log file: /oracle/SSX/sapcheck/ceguynrj.chk

BR0477I Oracle pfile /oracle/SSX/112_64/dbs/initSSX.ora created from spfile /oracle/SSX/112_64/dbs/spfileSSX.ora

BR0101I Parameters

Then normal dbcheck outpout ................. till end

Again same answer that the brtools or brconnect at OS level is not showing any warnings of SAPSECULIB ("/usr/sap/SSX/DVEBMGS45/exe/libsapsecu.so"),even when running after setting BR_TRACE = 8.

The warnings appear when i run any job from SAP GUI from DB13. i assume it uses user ora<sid>.

Regards

Munish

Edited by: MUNISH JINDAL on Sep 20, 2011 2:41 PM

Edited by: MUNISH JINDAL on Sep 20, 2011 2:43 PM

former_member286941
Participant
0 Kudos

Dear Venky,

DIR_LIBRARY = /usr/sap/SSX/SYS/exe/run this is linked to dir /sapmnt/SSX/exe as link.

eg. global directory

pwd

/usr/sap/SSX/SYS/exe/run -> /sapmnt/SSX/exe

Similarly

Eg. Instance directory

/usr/sap/SSX/DVEBMGS45/exe -> /sapmnt/SSX/exe

We have already given full permission to this directory and all the links accessing this directory. But still i

am not able to go through.please see the below mentioned permissions

there.

ls -altr /spamnt/SSX

drwxrwxrwx 14 ssxadm sapsys 5120 Sep 10 07:36 exe

The file libsapsecu.so is exsiting in /spamnt/SSX/exe with below full permissions:

ls -altr /spamnt/SSX/exe/libsapsecu.so

-rwxrwxrwx 1 ssxadm sapsys 2506712 Sep 5 09:06 libsapsecu.so

When we are running the checkdb from brtools in OS level, its not

throwing any warnings, but in case of DB13 from SAPgui, its throught

the warning which I have mentioned while raising this message.

Regards

Munish

Former Member
0 Kudos

Hello Munish

Lets look at the current configuration for your Br*tools, client and also environment variables settings.

OK for now you mentioned that the libsapsecu.so exists in the DIR_LIBRARY path and has the correct permissions. For

Brtools 7.20, there are some additional requirements, to run with 11g. Can you tell us the instant client that you have installed currently? Do you have any third party utility configured via Backint? The trace I mentioned earlier would allow us to see

which environment variables are being called through DB13, for this you would need to set BR_TRACE = 8, (details in note 29321) and give us the trace details which output to the DB14 logfile of the Brtool you used for the trace. Brconnect will suffice. Additonally, please let us know which user you are scehduling the DB13 activities?

former_member286941
Participant
0 Kudos

Dear Venky,

I have only one kernel directory that isin sapmnt. This is set as a link to instanse and global kernel directory.

Munish

Former Member
0 Kudos

Hi Munish,

Did you mean that /usr/sap/SSX/DVEBMGS45/exe/libsapsecu.so doesn't exist at all?

Br,

Venky.

former_member286941
Participant
0 Kudos

Dear Rachel,

ssxadm 1% env | grep -i dir_lib

DIR_LIBRARY=/usr/sap/SSX/SYS/exe/run

orassx 1% env | grep -i dir_lib

DIR_LIBRARY=/usr/sap/SSX/SYS/exe/run

When running brarchive or dbcheck from brtoosl from OS level these warnings don't come, these only come when I am trying to run these jobs from db13.

I could not understand what I need to check from your below lines.

We can check the current env settings for the backup if you call BRBACKUP , or the failing Brtool with the trace option

"-TRC 8" in the command line as this trace level will populate the environment variables into the backup or brconnect logs.

Please be more specific, what and how it can be checked to find the root cause of the problem.

Regards

Munish

Former Member
0 Kudos

Hi Munish,

Two things..

/usr/sap/SSX/DVEBMGS45/exe/ - Instance Specific Directory

/usr/sap/SSX/SYS/exe/run - Global directory

sapcpe is responsible for copying the kernel files from Global directory to Instance specific directory during SAP server startup.

Please check the file libsapsecu.so is present or copied to the instance specific directory /usr/sap/SSX/DVEBMGS45/exe/ .

Br,

Venky.

Former Member
0 Kudos

Hello Munish

In the past we have seen this issue mostly with the DIR_LIBRARY incorrectly setup

Please post into this thread the setting for the DIR_LIBRARY so we can check it, thank you

It should be set to DIR_LIBRARY = /usr/sap/<SID>/SYS/exe/run" for the user who is scheduling the backup

If you are using a scheduler this variable must also be set for that user. Please note that this is not always the

ora<SID> or <SID>adm users.

We can check the current env settings for the backup if you call BRBACKUP , or the failing Brtool with the trace option

"-TRC 8" in the command line as this trace level will populate the environment variables into the backup or brconnect logs.

Please let us know the output.

thank you

Best Regards

Rachel

former_member286941
Participant
0 Kudos

Dear gurus,

Please share your experience on this above issue. and help in resovling this.

Regards

Munish

former_member286941
Participant
0 Kudos

Still these warnings continue to come after this brconnect command successfuly executed.

former_member286941
Participant
0 Kudos

Hello Orkun / all,

Please let me know why the query "brconnect -u / -c -f crsyn -o <DbSchema>" is used.

I have already applied all possible solutions except this on, this was not executed because i could not find the output of this brconnect query. please suggest the impact of this.

Regards

Munish

former_member286941
Participant
0 Kudos

The Kernel dir is already having required permissions, and DIR_LIBRARY is already set to kernel directory.

please see my question what I have already checked and done to resolve this issue.

Former Member
0 Kudos

Hello,

It can be 'permission' problem for the file 'libsapsecu.so' .

It can be sapdba roles problems as well.

Environment variables for both sidadm and orasid

Permissions for brtools binaries

Please check following note/threads, however you are already on brtools 7.20

Note 912969 - BR*Tools 7.00 fails due to license problems

Thanks

Former Member
0 Kudos

Hi,

Try to execute the command, below;

brconnect -u / -c -f crsyn -o <DbSchema>

Best regards,

Orkun Gedik

Former Member
0 Kudos

Hi Munish,

1) Check the permission on "/sapmnt/<SID>/exe"

2) add DIR_LIBRARY environment variable, if it is not exist.

Best regards,

Orkun Gedik

former_member286941
Participant
0 Kudos

When running and db13 job like checkdb, redolog , online backup, update stats, the below warning comes.

Former Member
0 Kudos

What activity you are trying to do ?