SAP Knowledge Base Article - Preview

3763169 - saphostctrl set the certificate password returns "saving credentials failed." - SAP ASE for BS

Symptom

  • using saphostctrl set enable SSL for existing SAP ASE Server for BS, refer to Kba:  2667773 - SYB: saphostctrl - enable SSL for existing systems
  • To set the certificate password in the secure storage for SAP Host Agent,  using following saphostctrl command but its failing with error.
    saphostctrl -function SetDatabaseProperty -dbtype syb -dbname <DBSID> -dbuser SSL_cert -dbpass <certificate password>  USER=SSL_CERTIFICATE

    Error: Command execution failed. : saving credentials failed. (fault code: 127)
    Operation ID: xxxxxxxxxx


    ----- Log messages ----
    Info: saphostcontrol: Executing SetDatabaseProperty
    Error: sapdbctrl: saving credentials failed.
    Error: saphostcontrol: SetDatabaseProperty failed (sapdbctrl exit code = 1)

  • Below error is printed in /usr/sap/hostctrl/work/dev_sapdbctrl:

    [PID xxx]
    Wed Jun  3 00:20:06 2026
    [PID xxx] SigISetDefaultAction : default handling for signal SIGCHLD
    [PID xxx] INTERNAL_ERROR sybServer.cpp:380:readDirectory TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: opendir failed /sybase/SYBASE16SP04Pl06_LINUX_X86_64/ASE_backup/install LAST ERROR: (2) : No such file or directory
    [PID xxx] INTERNAL_ERROR dbsybctrl.cpp:389:searchForRunFile TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: Failed to read directory /sybase/SYBASE16SP04Pl06_LINUX_X86_64/ASE_backup/install LAST ERROR: (2) : No such file or directory
    [PID xxx] INTERNAL_ERROR sybServer.cpp:380:readDirectory TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: opendir failed /sybase/KD75082.SAR LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR dbsybctrl.cpp:486:isAseHome TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: Failed to read directory /sybase/KD75082.SAR LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR sybServer.cpp:380:readDirectory TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: opendir failed /sybase/KD75082.SAR LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR dbsybctrl.cpp:576:isRepHome TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: Failed to read directory /sybase/KD75082.SAR LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR sybServer.cpp:380:readDirectory TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: opendir failed /sybase/error.log LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR dbsybctrl.cpp:486:isAseHome TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: Failed to read directory /sybase/error.log LAST ERROR: (20) : Not a directory
    [PID 19009] INTERNAL_ERROR sybServer.cpp:380:readDirectory TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: opendir failed /sybase/error.log LAST ERROR: (20) : Not a directory
    [PID xxx] INTERNAL_ERROR dbsybctrl.cpp:576:isRepHome TIME: Wed Jun 03 00:20:06 2026 DESCRIPTION: Failed to read directory /sybase/error.log LAST ERROR: (20) : Not a directory
    [PID xxx] authorization SSL_CERTIFICATE is unknown, valid authorizations are: SAPSA, SAPSSO, SAPSR3, DR_ADMIN, SYBSID, SAPSID [PID 19009] *** ERROR => 'Set database property' failed: saving credentials failed.
    authorization SSL_CERTIFICATE is unknown, valid authorizations are: SAPSA, SAPSSO, SAPSR3, DR_ADMIN, SYBSID, SAPSID
     [sapdbctrl.cp 3690]


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions

Product

SAP Adaptive Server Enterprise all versions

Keywords

saphostctrl, SAP Host Agent, secure storage, authorization SSL_CERTIFICATE is unknown, saving credentials failed. , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.