on 06-26-2012 3:30 PM
We succesfully installed the testdrive in a VM and got most of it running after some issues.
Now we are facing the issue that the license file (NPL.txt) would not install.
When running the command, the following error occures. Any hints?
nplhost:npladm 53> saplikey pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost –install
*** ERROR => CTrcOpen: fopen dev_likey
---------------------------------------------------
trc file: "dev_likey", trc level: 1, release: "720"
---------------------------------------------------
Wed Jun 27 00:15:47 2012
MtxInit: 0 0 0
Loading DB library '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' ...
Library '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' loaded
Version of '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' is "720.00", patchlevel (0.80)
DBSDBSLIB : version 720.00, patch 0.080 (Make PL 0.80)
MAXDB shared library (dbsdbslib) patchlevels (last 10)
(0.080) New feature batch streaming (note 1340617)
(0.073) Problem with invalid DBSL datatype 111 fixed (note 1530969)
(0.072) New feature ignore duplicates (note 1340617)
(0.072) Corrupted PERM memory block fixed (note 1529003)
(0.065) Send wp type to the database (note 1340617)
(0.062) Row counter limit set to 65535 (note 1340617)
(0.054) ABAP: Return technical database PPMS information (note 1419552)
(0.053) ABAP: Return technical database PPMS information (note 1419552)
(0.047) Connection table corrected (note 1466271)
(0.047) Make and release information for MaxDB DBSL (note 578324)
Loading SQLDBC client runtime ...
SQLDBC Module : /sapdb/clients/NPL/lib/libSQLDBC77.so
SQLDBC SDK : SQLDBC.H 7.8.2 BUILD 017-121-241-257
SQLDBC Runtime : libSQLDBC 7.8.1 BUILD 020-121-241-388
SQLDBC client runtime is MaxDB 7.8.1.020 CL 241388
SQLDBC supports new DECIMAL interface : 1
SQLDBC supports VARIABLE INPUT data : 1
SQLDBC supports VARIABLE OUTPUT data : 1
SQLDBC supports Multiple Streams : 1
SQLDBC supports LOB LOCATOR KEEPALIVE : 1
SQLDBC supports LOB LOCATOR COPY : 1
SQLDBC supports BULK SELECT with LOBS : 1
SQLDBC supports BATCH STREAM : 0
INFO : SQLOPT= -I 0 -t 0 -S SAPR3
Try to connect (DEFAULT) on connection 0 ...
Wed Jun 27 00:15:48 2012
Attach to SAP DB : Kernel 7.8.01 Build 020-121-241-388
Database release is SAP DB 7.8.01.020
INFO : Database 'NPL' instance is running on 'NPLHOST'
DB supports UPSERT SQL syntax : 1
DB supports new EXPAND syntax : 1
DB supports LOB locators : 1
DB uses MVCC support : 0
DB max. input host variables : 2000
DB max. statement length : 65535
INFO : SAP DB Packet_Size = 131072
INFO : SAP DB Min_Reply_Size = 4096
INFO : SAP DB Comm_Size = 126976
INFO : DBSL buffer size = 126976
INFO : SAP DB MaxLocks = 300000
INFO : Connect to DB as 'SAPNPL'
Command info enabled
Now I'm connected to MaxDB
00: NPLHOST-NPL, since=20120627001547, ABAP= <unknown> (0)
Connection 0 opened (DBSL handle 0)
INFO : SAP RELEASE (DB) = 702
SAP License Key Administration - Copyright (C) 2003 - 2007 SAP AG
Wed Jun 27 00:15:49 2012
*** ERROR => 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied). [likeylat_w.c 508]
E 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied).
*** ERROR => 11 likey_admin_clt: Error getting the hardware key. You might find some information in file "dev_ms" on the message server. [likeylat_w.c 508]
E 11 likey_admin_clt: Error getting the hardware key. You might find some
information in file "dev_ms" on the message server.
one ran into the same . . . Couldn't open file "dev_hwid" (Permission denied) . . . error
CAUSE: one was changing default directory away from the default /home/<sid>adm
one was changing default directory away from a directory where dev_hwid file exists.
tcsh:x6dadm@bmw:/> pwd
/
tcsh:x6dadm@bmw:/> saplikey pf=/usr/sap/X6D/SYS/profile/X6D_ASCS01_bmw -show
. . .
***ERROR=> 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied). [likeylat_w.c 508]
E 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied).
. . .
SOLVED: change the default directory to a directory that has the dev_hwid file existing in it
/home/<sid>adm is one of those directories
/sapmnt/<SID>/exe/<codepage>/<os_platform> is another of those directories
tcsh:x6dadm@bmw:/home/x6dadm> find . -name "dev_hwid"
./dev_hwid
tcsh:x6dadm@bmw:/home/x6dadm>
tcsh:x6dadm@bmw:/sapmnt> find . -name "dev_hwid"
./X6D/exe/uc/linuxx86_64/dev_hwid
tcsh:x6dadm@bmw:/sapmnt>
tcsh:x6dadm@bmw:/home/x6dadm> saplikey pf=/usr/sap/X6D/SYS/profile/X6D_ASCS01_bmw -show
SAP License Key Administration - Copyright (C) 2003 - 2007 SAP AG
List of installed License Keys:
==========================================
1. License Key:
------------------------------------------
System : X6D
. . .
Software Product : NetWeaver_DB6
. . .
Type of License Key : permanent
. . .
Validity : valid
2. License Key:
------------------------------------------
System : X6D
. . .
Software Product : Maintenance_DB6
. . .
Type of License Key : permanent
. . .
Validity : valid
------------------------------------------
2 license keys listed.
tcsh:x6dadm@bmw:/home/x6dadm>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthias,
Looks like you kernel version is very low. Could you please update the kernel to ( latest - 1 ).
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SOLVED:
I ran into the same thing. I had exactly the same errors (both of them)
As far as I can tell, for me the cause was that I initially logged in to ssh as root and I then did "su npladm" This kept root's environment settings.
I opened fresh console and logged in directly as "npladm",
then I ran the saplikey command again and it worked fine
login as: npladm
Using keyboard-interactive authentication.
Password:
nplhost:npladm 28> saplikey pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost -install /tmp/NPL.txt
SAP License Key Administration - Copyright (C) 2003 - 2007 SAP AG
1 SAP license key(s) successfully installed.
nplhost:npladm 29>
I used the "SUSE Linux Enterprise Server 11 SP1 SAP Testdrive eSoftware Media Kit Strong Encryption (128+ bit) English1" image downloaded from http://download.novell.com/Download?buildid=x1e9uCQ4074~
Way to go SUSE, great stuff...
A fresh SAP system in the blink of an eye
chris
There two errors one regarding file access and another related to hardware key.
Please make sure that you are installing the license with <sid>adm user account and this user has sapsys as its primary group.
Also make sure the license you applied is for the right hardware key. You can determine your hardware key with this command .
saplikey pf=path to instance profile -get
Regards
Amit Padmawar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also tried to set up the VM with SAP Netweaver Gateway and did all steps as shown in the manual. I have the same problems as Matthias already wrote:
What i already tried:
- Checking the dev_ms log, but there are no interesting log entries, no errors
- ordering a new license
- reinstalling whole linux and SAP on the VM
- I am 100% sure to have the correct license file
here is the information from the terminal session:
sapnetweavergateway:npladm 3> saplikey pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost –install /tmp/NPL.txt
*** ERROR => CTrcOpen: fopen dev_likey
---------------------------------------------------
trc file: "dev_likey", trc level: 1, release: "720"
---------------------------------------------------
Thu Jul 4 11:16:51 2013
MtxInit: 0 0 0
Loading DB library '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' ...
Thu Jul 4 11:16:53 2013
Library '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' loaded
Version of '/usr/sap/NPL/SYS/exe/run/dbsdbslib.so' is "720.00", patchlevel (0.201)
DBSDBSLIB : version 720.00, patch 0.201 (Make PL 0.201)
MAXDB shared library (dbsdbslib) patchlevels (last 10)
(0.201) Take care of warnings during database connect (note 1600066)
(0.117) Define a primary key on the temp tables for R3szchk (note 1606260)
(0.114) Support of MaxDB 7.8 and 7.9 (note 1653058)
(0.103) Close all lob locators at end of the transaction (note 1626591)
(0.101) Fix for unknown table __TABLE_SIZES_ (R3szchk) (note 1619504)
(0.098) Use filesystem counter for R3szchk (note 1606260)
(0.092) Secondary connection to HANA (note 1481256)
(0.089) UPDSTAT with SAPSYSTEMNAME longer as 3 characters (note 1584921)
(0.081) No UPSERT on WBCROSSGT (note 1521468)
(0.080) New feature batch streaming (note 1340617)
Loading SQLDBC client runtime ...
SQLDBC Module : /sapdb/clients/NPL/lib/libSQLDBC77.so
SQLDBC SDK : SQLDBC.H 7.8.2 BUILD 017-121-241-257
SQLDBC Runtime : libSQLDBC 7.8.1 BUILD 020-121-241-388
SQLDBC client runtime is MaxDB 7.8.1.020 CL 241388
SQLDBC supports new DECIMAL interface : 1
SQLDBC supports VARIABLE INPUT data : 1
SQLDBC supports VARIABLE OUTPUT data : 1
SQLDBC supports Multiple Streams : 1
SQLDBC supports LOB LOCATOR KEEPALIVE : 1
SQLDBC supports LOB LOCATOR COPY : 1
SQLDBC supports BULK SELECT with LOBS : 1
SQLDBC supports BATCH STREAM : 0
INFO : SQLOPT= -I 0 -t 0 -S SAPR3
Try to connect (DEFAULT) on connection 0 ...
Thu Jul 4 11:16:54 2013
Attach to SAP DB : Kernel 7.8.01 Build 020-121-241-388
Database release is SAP DB 7.8.01.020
INFO : Database 'NPL' instance is running on 'NPLHOST'
DB supports UPSERT SQL syntax : 1
DB supports new EXPAND syntax : 1
DB supports LOB locators : 1
DB uses MVCC support : 0
DB max. input host variables : 2000
DB max. statement length : 65535
UPSERT is disabled for : WBCROSSGT
INFO : SAP DB Packet_Size = 131072
INFO : SAP DB Min_Reply_Size = 4096
INFO : SAP DB Comm_Size = 126976
INFO : DBSL buffer size = 126976
INFO : SAP DB MaxLocks = 300000
INFO : Connect to DB as 'SAPNPL'
Command info enabled
Now I'm connected to MaxDB
00: NPLHOST-NPL, since=20130704111653, ABAP= <unknown> (0)
Connection 0 opened (DBSL handle 0)
INFO : SAP RELEASE (DB) = 702
SAP License Key Administration - Copyright (C) 2003 - 2007 SAP AG
Thu Jul 4 11:16:57 2013
*** ERROR => 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied). [likeylat_w.c 508]
E 20 likey_admin_clt: Couldn't open file "dev_hwid" (Permission denied).
*** ERROR => 11 likey_admin_clt: Error getting the hardware key. You might find some information in file "dev_ms" on the message server. [likeylat_w.c 508]
E 11 likey_admin_clt: Error getting the hardware key. You might find some
information in file "dev_ms" on the message server.
I hope someone has an idea, what goes wrong here.
Best regards,
Timo Knobloch
Hi Adam,
i did not try with the SAP GUI for Windows, because i have not installed it. Have to discuss with a admin of the IT department, if i am allowed to install it on my comupter in the company.
Why does it not work with terminal?
As Deepak wrote, what does this mean?
I am a little bit confused, because SAP deliveres a fully working/installed VM and now a patch has to be applied?
The solution im my case was to use the SAP GUI for Windows. With the SAP GUI and Transaction slicense, as Adam wrote, i was able to register the license file NPL.txt.
With the terminal command, it did not work. Even after installing it several times from beginning.
I think, the VM SAP provides, has to be checked by SAP.
Regards,
Timo Knobloch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.