sapnote_0000688028

2
11.04.2012 Page 1 of 2 SAP Note 688028 - Connect issues MaxDB via Terminal Service session Note Language: English Version: 5 Validity: Valid Since 15.09.2008 Summary Symptom MaxDB connect errors with tools 'dbmcli' and 'x_cons' via Terminal Server remote access. The following symptoms have been observed so far: o Windows 2008 or Windows 2003: Applications in a Terminal Server Session cannot connect to the database kernel (could not create comm. shared memory [5]). o Windows Vista or Windows XP: 13426 ERROR: XCons: Opening Kernel Shared Segment of Server DB EN1 failed, rc = 2, communication error -> sysrc 2 = 'The system cannot find the file specified.' C:\>dbmcli -d EN1 -u ... -n ... db_state ERR -24961,ERR_STATE: The operational state of the database instance could not be termined -24994,ERR_RTE: Runtime environment error no_id_provided_by_rte,no_text_provided_by_rte Other terms Reason and Prerequisites MaxDB remote access via Windows Terminal Server not using the 'console session' Solution This error occurs when the user account that is used to run the application does not have the "Create global objects" user right. To resolve this issue, either o connect using the Terminal Server 'console session' or o assign the 'Create global objects' user right to the user account running the program. - Go to 'Administrative Tools', and then click 'Local Security Policy'. - Expand 'Local Policies' and then click 'User Rights Assignment'. - In the right pane, double-click 'Create global objects'.

Transcript of sapnote_0000688028

Page 1: sapnote_0000688028

11.04.2012 Page 1 of 2

SAP Note 688028 - Connect issues MaxDB via TerminalService session

Note Language: English Version: 5 Validity: Valid Since 15.09.2008

Summary

Symptom

MaxDB connect errors with tools 'dbmcli' and 'x_cons' via Terminal Serverremote access.

The following symptoms have been observed so far:

o Windows 2008 or Windows 2003:Applications in a Terminal Server Session cannot connect to thedatabase kernel (could not create comm. shared memory [5]).

o Windows Vista or Windows XP:13426 ERROR: XCons: Opening Kernel Shared Segment of Server DB EN1failed, rc = 2, communication error-> sysrc 2 = 'The system cannot find the file specified.'

C:\>dbmcli -d EN1 -u ... -n ... db_stateERR-24961,ERR_STATE: The operational state of the database instancecould not be termined-24994,ERR_RTE: Runtime environment errorno_id_provided_by_rte,no_text_provided_by_rte

Other terms

Reason and Prerequisites

MaxDB remote access via Windows Terminal Server not using the 'consolesession'

Solution

This error occurs when the user account that is used to run the applicationdoes not have the "Create global objects" user right.

To resolve this issue, either

o connect using the Terminal Server 'console session'or

o assign the 'Create global objects' user right to the user accountrunning the program.

- Go to 'Administrative Tools', and then click 'Local SecurityPolicy'.

- Expand 'Local Policies' and then click 'User RightsAssignment'.

- In the right pane, double-click 'Create global objects'.

Page 2: sapnote_0000688028

11.04.2012 Page 2 of 2

SAP Note 688028 - Connect issues MaxDB via TerminalService session

- In the Local Security Policy Setting dialog box, click 'Add'.

- In the Select Users or Group dialog box, click the user accountthat you want to add, click 'Add' and then click 'OK'.

Refer to: Microsoft Knowledge Base Article - 821546

Header Data

Release Status: Released for CustomerReleased on: 29.07.2009 16:34:31Master Language: EnglishPriority: Correction with medium priorityCategory: Installation informationPrimary Component: BC-DB-SDB MaxDB

The Note is release-independent