SAP Knowledge Base Article - Preview

2262725 - Error 2946 "Failed to create service key syb_xpskey" when xp_cmdshell command is executed - SAP ASE

Symptom

  • When executing xp_cmdshell command from master or user database, isql hangs and error below is reported:

kernel  XP Server failed to start. Check if there is an entry for XP Server in sysservers table.
server  Error: 2946, Severity: 16, State: 5
Failed to create service key syb_xpskey.
kernel  XP Server started successfully.
server  Error: 3701, Severity: 11, State: 1
server  Cannot drop the encryption key 'syb_xpskey', because it doesn't exist in the system catalogs.
kernel  XP Server timed out. Check XP Server errorlog file.
kernel  XP Server failed to start. Try bringing up XP Server manually. Check ASE documentation for more information on how to bring XP Server up.
kernel  XP Server timed out. Check XP Server errorlog file.

  • Corresponding error in XP server errorlog is:

    16331 - Recursive Calls to srv__seterr()


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

interfaces, srv__seterr , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.