sap errors and solutions

Just another SAP blog

ERROR => SncPDLInit()==SNCERR_INIT, Adapter #1 ERROR => DlLoadLib()==DLENOACCESS – LoadLibrary

I got below error during upgrade in Downtime phase. It was not able to start shadow instance.

Error is below.
—————————————————
trc file: “dev_w0”, trc level: 1, release: “749”
—————————————————
*
*  ACTIVE TRACE LEVEL           1
*  ACTIVE TRACE COMPONENTS      all, MJ
*
M sysno      00
M sid        SID
M systemid   562 (PC with Windows NT)
M relno      7490
M patchlevel 0
M patchno    300
M intno      20160201
M make       multithreaded, Unicode, 64 bit, optimized
M profile    \\HOSTNAME\sapmnt\SID\SYS\profile\SID_DVEBMGS00_HOSTNAME
M pid        7808
M
M
M Thu Aug  3 06:45:50:586 2017
M  kernel runs with dp version 21000(ext=118000) (@(#) DPLIB-INT-VERSION-0+21000-UC)
M  length of sys_adm_ext is 504 bytes
M  ***LOG Q0Q=> tskh_init, WPStart (Workp. 0 7808) [dpInit.c     827]
M  DpCommonParamInit: rdisp/core_file_size = default –> no change
I  MtxInit: 0 0 0
M  DpIPCInit2: read dp-profile-values from sys_adm_ext
M  DpShMCreate: alloate/attach shared memory (mode=ATTACH)
M  DpShMCreate: sizeof(wp_adm)        58944    (1112)
M  DpShMCreate: sizeof(tm_adm)        106933440    (RDISPTERM=53440,MODEINFO=3056, IMODE_INFO=80)
M  DpShMCreate: sizeof(ca_adm)        432000    (72)
M  DpCommTableSize: max/headSize/ftSize/tableSize=2000/16/7616064/7993152
M  DpShMCreate: sizeof(comm_adm)        7993152    (3784)
M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M  DpShMCreate: sizeof(slock_adm)        0    (296)
M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M  DpShMCreate: sizeof(file_adm)        0    (80)
M  DpSockTableSize: max/headSize/ftSize/tableSize=2000/16/2080064/2080080
M  DpShMCreate: sizeof(sock_adm)        2080080    (1016)
M  DpShMCreate: sizeof(vmc_adm)        0    (3208)
M  DpShMCreate: sizeof(wall_adm)        (ft=416064/fi=377072/hd=64/rec=192)
M  DpShMCreate: sizeof(amc_rec_adm)        (ft=2752064/fi=721072/hd=64/rec=672)
M  DpShMCreate: sizeof(comp_msg_adm)        (ft=96064/fi=119072/hd=96/rec=168)
M  DpShMCreate: sizeof(websocket_adm)        (ft=672064/hd=80/rec=648)
M  DpShMCreate: sizeof(gw_adm)    64
M  DpShMCreate: sizeof(j2ee_adm)    3936
M  DpShMCreate: SHM_DP_ADM_KEY        (addr: 00000000011D0050, size: 122762160
M  DpShMCreate: allocated sys_adm at 00000000011D0250
M  DpShMCreate: allocated wp_adm_list at 00000000011E22E0
M  DpShMCreate: allocated wp_adm at 00000000011E2600
M  DpShMCreate: allocated tm_adm_list at 00000000011F0E40
M  DpShMCreate: allocated tm_adm at 00000000011F10C0
M  DpShMCreate: allocated ca_adm at 00000000077EBF80
M  DpShMCreate: allocated comm_adm at 0000000007855900
M  DpShMCreate: system runs without slock table
M  DpShMCreate: allocated sock_adm at  0000000007FF5240
M  DpShMCreate: allocated vmc_adm_list at 00000000081F1190
M  DpShMCreate: system runs without VMC
M  DpShMCreate: allocated gw_adm at 00000000081F1430
M  DpShMCreate: allocated j2ee_adm at 00000000081F1670
M  DpShMCreate: allocated ca_info at 00000000081F27D0
M
M Thu Aug  3 06:45:50:595 2017
M  DpShMCreate: allocated wall_adm (ft) at 00000000081F2A10
M  DpShMCreate: allocated wall_adm (fi) at 0000000008258550
M  DpShMCreate: allocated wall_adm (head) at 00000000082B4840
M  DpShMCreate: allocated amc_rec_adm (ft) at 00000000082B4A80
M  DpShMCreate: allocated amc_rec_adm (fi) at 0000000008554AC0
M  DpShMCreate: allocated amc_rec_adm (head) at 0000000008604D70
M  DpShMCreate: allocated comp_msg_adm (ft) at 0000000008604FB0
M  DpShMCreate: allocated comp_msg_adm (fi) at 000000000861C8F0
M  DpShMCreate: allocated comp_msg_adm (head) at 0000000008639C10
M  DpShMCreate: allocated websocket_adm (ft) at 0000000008639E70
M  DpShMCreate: allocated websocket_adm (head) at 00000000086DE1B0
M  DpShMCreate: initialized 24 eyes
M  DpCommAttachTable: attached comm table (header=0000000007855900/ft=0000000007855910/fi=0000000007F98F50)
M  DpSockAttachTable: attached sock table (header=0000000007FF5240/ft=0000000007FF5250)
X  EM: Initializing PROC global storage: quota=0 use_stdheap=0
X  EM: Initializing PROC local storage:  quota=0 use_stdheap=0
X  EmInit: MmSetImplementation( 2 ).
X  MM global diagnostic options set: 0
X  EmSetReserve: set EM reserve to 71 EM blocks
X  <ES> client 0 initializing ….
X  <ES> EsILock: use Mutex for locking
M  <EsNT> Memory Reset disabled as NT default
X  ES initialized.
X  mm.dump: set global maximum dump mem to 192 MB
X  EsRegisterEmCheck: Register EmGetEsHandles at 000007F77867A454
M  ThStart: taskhandler started
M  ThInit: initializing DIA work process W0
X  MM global diagnostic options set: 0
M
M Thu Aug  3 06:45:51:300 2017
M  ThInit: running on host HOSTNAME
I  MtxInit: 0 0 0
M
M Thu Aug  3 06:45:51:498 2017
M  calling db_connect …
B  Loading DB library ‘E:\usr\sap\SID\DVEBMGS00\exe\dbhdbslib.dll’ …
B  Library ‘E:\usr\sap\SID\DVEBMGS00\exe\dbhdbslib.dll’ loaded
B  Version of ‘E:\usr\sap\SID\DVEBMGS00\exe\dbhdbslib.dll’ is “749.05”, patchlevel (0.300)
C  Callback functions for dynamic profile parameter registered
C
C  DBHDBSLIB : version 749.05, patch 0.300 (Make PL 0.300)
C  HDB shared library (dbhdbslib) patchlevels (last 10)
C    (0.300) SAP Support Package Stack Kernel 7.49 Patch Level 300 (note 2494149)
C    (0.214) M_LANDSCAPE_HOST_CONFIGURATION only on default connection (note 2452808)
C    (0.214) SQLDBC_SUCCESS_WITH_INFO is always a warning (note 2459473)
C    (0.213) Database host information corrected (note 2452808)
C    (0.210) Record statistics of FDA statements in STAD corrected (note 2422960)
C    (0.210) Increase maximum number for max_in_blocking_factor (note 2422887)
C    (0.210) Hint SUBSTITUTE_LITERALS corrected (note 2431643)
C    (0.210) MDX statements with data aging (note 2440614)
C    (0.200) SAP Support Package Stack Kernel 7.49 Patch Level 200 (note 2435328)
C    (0.111) Suspend all connections (note 2364819)
C
C
C  Loading SQLDBC client runtime (pid=7808)…
C  SQLDBC Module  : E:\usr\sap\SID\hdbclient\libSQLDBCHDB.dll
C  SQLDBC Runtime : libSQLDBCHDB 1.00.120.065.1498514485
C  SQLDBC client runtime is 1.00.120.065.1498514485
C
C  Try to connect via secure store (DEFAULT) on connection 0 …
C  Attach to HDB : 1.00.122.11.1499758750 (fa/hana1sp12)
C  fa/hana1sp12 : build_weekstone=0000.00.0
C  fa/hana1sp12 : build_time=2017-07-11 09:47:53
C  Database release is HDB 1.00.122.11.1499758750
C  INFO : Database ‘SID/00’ instance is running on ‘dbhostname’
C  INFO : Connect to DB as ‘SAPSID’, connection_id=218126
C  INFO : DATA AGING feature is supported by HANA
C  INFO : FDA feature is supported by HANA
C  INFO : FAE with FDA feature is supported by HANA
C  INFO : CACHEDVIEWTS feature is supported by HANA
C  INFO : DEFERRED LOB WRITING is activated
C  DB max. input host variables  : 32767
C  DB max. statement length      : 104857600
C  DB max. array size            : 100000
C  use decimal precision as length
C  ABAPVARCHARMODE is used
C  use DBSL marker map
C
C Thu Aug  3 06:45:51:510 2017
C  INFO : DBSL buffer size = 1048576
C  Command info enabled
C  Now I’m connected to HDB
C  00: dbhostname-SID/00, since=20170803064551, ABAP= <unknown> (0)
B  Connection 0 opeSID (DBSL handle 0)
B  *– dbmetadata DbVendorMetaData ————–*
B  Connection   : R/3[0]
B  DB vendor    : HDB,749.05
B  DB vendor    : 7
B  DBSL version : 749.05
B  DBSL features
B     maxstmtsize            : 104857600
B     maxmarkercnt           : 32767
B     maxincnt               : 32767
B     maxlongsize            : 32768
B     maxhistlongsize        : 32768
B     minhistlongsize        : 0
B     maxmarkersize          : 1
B     autorpad               : 0
B     stringspadded          : 0
B     blk1obj1mod            : 1
B     haverownum             : 0
B     havepermanentstmts     : 0
B     fupdlockperm           : 1
B     fupdorder              : 1
B     preferunionall         : 0
B     prefer_join            : 0
B     prefer_join_with_fda   : 1
B     preferinitabopt        : 1
B     useinputsize           : 0
B     preferfixblocking      : 0
B     maxblockingfactor      : 50
B     minblockingfactor      : 0
B     maxinblockingfactor    : 100
B     mininblockingfactor    : 0
B     maxunionblockingfactor : 0
B     minunionblockingfactor : 0
B     prefer_asterisk        : 15
B     deferred_lob_writing   : 1
B     prefer_count_big       : 0
B
B Thu Aug  3 06:45:51:511 2017
B     supports_fda_prot      : 1
B     integer_operation_cast : 0
B     modulo_operator        : 0
B     smallint_cast          : 0
B     integer_division_mode  : 2
B     set_session_variables_always: 1
B  FAE controls
B     supports_fda_prot         : 1
B     prefer_in_itab_opt        : 1
B     prefer_union_all          : 0
B     prefer_join               : 0
B     prefer_join_with_fda      : 1
B     prefer_fix_blocking       : 0
B     max_blocking_factor       : 50
B     min_blocking_factor       : 0
B     max_in_blocking_factor    : 100
B     min_in_blocking_factor    : 0
B     max_union_blocking_factor : 0
B     min_union_blocking_factor : 0
B  DB feature mode
B     views_parameters_unnamed  : 0
B     views_with_parameters : 1
B     release restricion        : true
B     external_views : 1
B     release restricion        : true
B     TABLE_KEYCNT_MAX1 : 1
B     release restricion        : true
B     TABLE_KEYLEN_MAX1 : 1
B     release restricion        : true
B     TABLE_LEN_MAX1 : 1
B     release restricion        : true
B     AMDP_TABLE_FUNCTION : 1
B     release restricion        : true
B     CALL_DATABASE_PROCEDURE : 1
B     release restricion        : true
B     CALL_AMDP_METHOD : 1
B     release restricion        : true
B  Hint settings
B     ABAP hints enabled : 1
B     DBI hints enabled  : 1
B
B Thu Aug  3 06:45:51:512 2017
B     DBI hints enforced : 0
B     upto limit         : 0
B  Misc settings
B     DB buffer size: 1048576
B     Reserved characters: {null}
B     UPTO handling: 3
B     UPTO handling DELETE: 0
B     COALESCE with lobs: 1
B  *————- DbVendorMetaData ————–*
C  INFO : SAP RELEASE (DB) = 740
M  ThDbConnect: db_connect o.k.
X
X Thu Aug  3 06:45:58:180 2017
X  EmInit: MmSetImplementation( 2 ).
X  MM global diagnostic options set: 0
X  EmSetReserve: set EM reserve to 71 EM blocks
X  <ES> client 0 initializing ….
X  ES initialized.
X  mm.dump: set global maximum dump mem to 192 MB
X  EsRegisterEmCheck: Register EmGetEsHandles at 000007F77867A454
B  hook function dbdt_trace_lvl_callback registered. Current trace level is 1
B
B Thu Aug  3 06:45:58:334 2017
B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 53, CON_ID = -1
B  Table statistics is switched off.
B  Start CursorInit
B  TBI initializing semaphore lock manager …
B  tbi_get_buffer_size_mb: rsdb/tbi_buffer_area_MB is different from default 1
B    => table buffer size 3000 MB is configured
B  tbi_get_dir_entries: rsdb/tbi_dir_entries is set to default 100
B    => directory size 538269 derived from rtbb/max_tables = 48934 and zcsa/db_max_buftab = 489335
B  tbx_set_req: table buffer is configured with
B    overall size          = 3145728000 bytes
B    directory             = 538269 entries
B    protect_shm           = off
B    displacement          = on
B    request_unit          = 20000
B    displ_timeout         = 80000
B    inval_with_clear      = on
B    displ_multiple_remove = on
B    sync_reload           = 5
B    inval_reload          = 5
B    free_displ_perc       = 3
B    req_displ_perc        = 5
B    max_displ_perc        = 10
B    max_size_perc         = 25
B  dbtbxbuf: Buffer TBI64 (addr: 000000004FDA0140, size: 3145728000, end: 000000010B5A0140)
B  DBI: init TBI BUFFER:  rc=0
B  DbSqlObjectFactory created, max = 1000, useCache true
B  DbStatementManager created, max = 1500, useCache true
B  dbprotocol: table logging switched off for all clients
B  DbDmlCursor::maxItabInvalidationThreshold = 20
B  DB FDA shm initialized: ptr=000000ADE8C62900 total_size_wp=1048576I64u used_size_wp=1048576
B  dbsync[db_syinit]: successfully attached to shared memory, sync_adm_p = 00000000561B0050
B  dbsync[db_syinit]: Buffer synchronisation started with
B    sync_concept      = SEQ_NR
B    sendon            = 0
B    bufreftime        = 120
B    max_gap_wait_time = 60
B    ddlog_del_time    = 60
B    last_counter      = 13
B    oldest_gap        = (2147483647,19700101000000)
B    time_of_last_sync = 20170803064555
B    MySysId           = ‘HOSTNAME            00’
B
B Thu Aug  3 06:45:58:466 2017
B  dbexpbuf[EXP_SHB]: successfully attached to shared memory
B  dbexpbuf[EXP_SHB]: buffer installed with the following properties
B    semKey             = 35
B    shmKey             = 54
B    wpCnt              = 53
B    blockSize          = 512
B    maxObjects         = 52429
B    maxObjectSize      = 48755456
B    freeListVectorSize = 489
B    hashVectorSize     = 104869
B    bufferSize         = 214748160
B    maxBlocks          = 380902
B    freeBlocksCnt      = 380902
B    mutexVectorSize    = 104871, ADMIN_MUTEX = 104869, INVAL_MUTEX = 104870
B    tracing            = 0
B    forceChecks        = 0
B    protectShm         = 0
B  dbexpbuf[EXP_SHM]: successfully attached to shared memory
B  dbexpbuf[EXP_SHM]: buffer installed with the following properties
B    semKey             = 56
B    shmKey             = 65
B    wpCnt              = 53
B    blockSize          = 512
B    maxObjects         = 10000
B    maxObjectSize      = 4177664
B    freeListVectorSize = 17
B    hashVectorSize     = 20011
B    bufferSize         = 20480000
B    maxBlocks          = 32638
B    freeBlocksCnt      = 32638
B    mutexVectorSize    = 20013, ADMIN_MUTEX = 20011, INVAL_MUTEX = 20012
B    tracing            = 0
B    forceChecks        = 0
B    protectShm         = 0
B  dbexpbuf[EXP_CUA]: successfully attached to shared memory
B  dbexpbuf[EXP_CUA]: buffer installed with the following properties
B    semKey             = 30
B    shmKey             = 47
B    wpCnt              = 53
B    blockSize          = 512
B    maxObjects         = 10000
B    maxObjectSize      = 4176512
B    freeListVectorSize = 587
B    hashVectorSize     = 20011
B    bufferSize         = 20480000
B    maxBlocks          = 32629
B    freeBlocksCnt      = 32629
B    mutexVectorSize    = 20013, ADMIN_MUTEX = 20011, INVAL_MUTEX = 20012
B    tracing            = 0
B    forceChecks        = 0
B    protectShm         = 0
B
B Thu Aug  3 06:45:58:594 2017
B  dbexpbuf[EXP_OTR]: successfully attached to shared memory
B  dbexpbuf[EXP_OTR]: buffer installed with the following properties
B    semKey             = 55
B    shmKey             = 64
B    wpCnt              = 53
B    blockSize          = 256
B    maxObjects         = 2000
B    maxObjectSize      = 858304
B    freeListVectorSize = 33
B    hashVectorSize     = 4001
B    bufferSize         = 4194304
B    maxBlocks          = 13411
B    freeBlocksCnt      = 13411
B    mutexVectorSize    = 4003, ADMIN_MUTEX = 4001, INVAL_MUTEX = 4002
B    tracing            = 0
B    forceChecks        = 0
B    protectShm         = 0
B  NTAB: ddntt_column_check(no_of_columns = 22): DBSQLTIMESTMP not found, COMPCNT found, VERSION found => DDNTT db_structure is ‘B’
B  NTAB: unicodelg of executable is 2, unicodelg of SVERS in nametab is 2
M  SHM_PRES_BUF            (addr: 0000000058DB0050, size: 4400000)
M
M Thu Aug  3 06:45:58:804 2017
M  ThCreateNoBuffer        allocated 548152 bytes for 1000 entries at 00000000596E0050
M  ThCreateNoBuffer        index size: 3000 elems
M  ThCreateVBAdm        allocated 33392 bytes (50 server) at 0000000059770050
M  ICT: exclude compression: *.zip,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.jpg,*.jpeg,*.pdf,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif,*.png,*.swc,*.swf
G  rscpInstLangInit: zcsa/installed_languages is static in this ABAP release
G  RelWritePermissionForShm( pLocation = 120, pEnforce = 0 )
G  GetWritePermissionForShm( pLocation =  99, pEnforce = 1 )
G  RelWritePermissionForShm( pLocation = 100, pEnforce = 1 )
S  *** init spool environment
S  TSPEVJOB updates outside critical section: event_update_nocsec = 1
S  initialize debug system
T  Stack direction is downwards.
T  debug control: prepare exclude for printer trace
T  new memory block 000000ADE9007E10
S  spool kernel/ddic check: Ok
S  using table TSP02FX for frontend printing
S  0 spool work process(es) found
S  frontend print via spool service enabled
S  printer list size is 150
S  printer type list size is 50
S  queue size (profile)   = 300
S  hostspool list size = 3000
S  option list size is 30
S
S Thu Aug  3 06:45:58:924 2017
S      found processing queue enabled
S  found spool memory service RSPO-RCLOCKS at 0000000059D400D0
S  doing lock recovery
S  setting server cache root
S  found spool memory service RSPO-SERVERCACHE at 0000000059D41030
S    using messages for server info
S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
S  size of open spool request entry: 2592 bytes
S  immediate print option for implicitely closed spool requests is disabled
M  ThrCreateShObjects        allocated 110224 bytes at 0000000059EE0050
I  MPI: dynamic quotas disabled.
I
I Thu Aug  3 06:45:59:009 2017
I  MPI init, attached: pipes=4000 buffers=2718 reserved=815 quota=10%, buffer size=65536, total size MB=170
N  SncInit(): Initializing Secure Network Communication (SNC)
N        PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)
N        GetUserName()=”SAPServiceSID”  NetWkstaUser=”SAPServiceSID”
N        GetUserNameEx(SamCompat)=”domainname\SAPServiceSID”
N        GetUserNameEx(UserPrinc)=”SAPServiceSID@domainname.priv”
N  SncInit():   found snc/data_protection/max=1, using 1 (Authentication Level)
N  SncInit():   found snc/data_protection/min=1, using 1 (Authentication Level)
N  SncInit():   found snc/data_protection/use=1, using 1 (Authentication Level)
N  SncInit(): found  snc/gssapi_lib=E:\usr\sap\SID\SYS\exe\uc\NTAMD64\gx64ntlm.dll
M  *** ERROR => DlLoadLib()==DLENOACCESS – LoadLibrary(“E:\usr\sap\SID\SYS\exe\uc\NTAMD64\gx64ntlm.dll”)
Error 126 = “The specified module could not be found.” [dlnt.c       322]
N  *** ERROR => SncPDLInit()==SNCERR_INIT, Adapter #1 (E:\usr\sap\SID\SYS\exe\uc\NTAMD64\gx64ntlm.dll) not loaded [D:/depot/b 727]
N  <<- SncInit()==SNCERR_INIT
N           sec_avail = “false”
M  ***LOG R19=> ThSncInit, SncInitU ( SNC-000001) [thxxsnc.c    274]
M  *** ERROR => ThSncInit: SncInitU (SNCERR_INIT) [thxxsnc.c    276]
M  in_ThErrHandle: 1
M  *** ERROR => SncInitU (step TH_INIT, thRc ERROR-SNC-OTHER ERROR IN SNC LAYER, action STOP_WP, level 1) [thxxhead.c   2549]
M
M  Info for wp 0
M
M    pid = 7808
M    severity = 0
M    status = 0
M    stat = WP_NEW
M    waiting_for = NO_WAITING
M    workerType = DP_WORKER_DIAWP
M    act_cs_count = 0
M    csTrack = 0
M    csTrackRwExcl = 0
M    csTrackRwShrd = 0
M    mode_cleaSID_counter = 0
M    control_flag = 0
M    report = >                                        <
M    action = 0
M    tab_name = >                              <
M
M  ThIErrHandle: no current incoming request
M
M  PfRejectStatistic: clear statistic record
M  PfClearAllRec: clear statistic area
M  PfClearAllRec: set statRecordAction = STAT_RECORD_ACTION_REJECT
M  Entering TH_CALLHOOKS
M Thu Aug  3 06:45:59:010 2017
M  ThCallHooks: call hooks for event BEFORE_DUMP
M  ThCallHooks: call hook >TrThHookFunc< for event BEFORE_DUMP
M  TrThHookFunc: called for WP dump
M  ThIErrHandle: entering ThSetStatError
M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M
M  ***
M  *** work process W0 died => SncInitU
M  call ThrShutDown (1)…
M  ***LOG Q02=> wp_halt, WPStop (Workp. 0 7808) [dpnttool.c   334]

 

Solution:

As per above log system is looking for file gx64ntlm.dll which is not availble in kernel drive.

I copied it from Quality server to this server and retried.  Now SAP is started.

 

Updated: August 4, 2017 — 9:40 am

Leave a Reply

Your email address will not be published. Required fields are marked *

sap errors and solutions © 2016 Frontier Theme
Copy Protected by Chetan's WP-Copyprotect.