Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not able to login by ISQL

Hi , Installed Ecc6 on EHp7 on Sybase database but not able to login to database isql.

I login by sybsid run command isql -Usapsso -SSID but giving below error:-

CS-LIBRARY error:

        comn_get_cfg: user api layer: internal common library error: Configuration section isql not found.

CT-LIBRARY error:

        ct_connect(): user api layer: external error: The connection failed because of invalid or missing external configuration.

Regards

Adil

Former Member
replied

Hi,

Do you have an ocs.cfg setup?
location: $SYBASE/$SYBASE_OCS/config/ocs.cfg

This is the same error if this file is being read, but an [isql] section is missing.

isql -Usa -Psybase -Sredhead

CS-LIBRARY error:

        comn_get_cfg: user api layer: internal common library error: Configuration section isql not found.

CT-LIBRARY error:

        ct_connect(): user api layer: external error: The connection failed because of invalid or missing external configuration data.

example ocs.cfg file:
[DEFAULT]

        ; This is the default section loaded by applications that use

        ; the external configuration (CS_EXTERNAL_CONFIG) feature, but

        ; which do not specify their own application name (CS_APPNAME).

        ; Initially this section is empty - defaults from all properties

        ; will be the same as earlier releases of Open Client libraries.

[isql]            <--- This is what is added

test:

isql -Usa -Psybase -Sredhead

1>

Regards,

Ryan

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question