cancel
Showing results for 
Search instead for 
Did you mean: 

CT-LIBRARY error .....Requested server name not found

0 Kudos

Hi,

Anyone know why i am getting this error while connecting with iSQL command:

CT-LIBRARY error: ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.

I tried using-X option with iSQL command but not working.

any idea?

TIA 🙂

wayNE

View Entire Topic
victoria_normand
Contributor

Hello Wayne,

"Requested server name not found." << which server name do you have in the $SYBASE/interfaces file ?

You normally will use isql like this (for SAP systems): isql -Usapsa -S<SID> -X

Ensure that <SID> exist in the $SYBASE/interfaces file (for Windows it is %SYBASE%\ini\sql.ini) in this way:

<SID>

master tcp ether <hostname> <port>
query tcp ether <hostname> <port>

You can also test the connection with isql -Usapsa -S<hostname>:<port> -X

Best regards,

Victoria.

Thanks Maria
I got it. Server name was missing in interfaces file also due to the wrong port it was connecting to another one.

Thanks again.

0 Kudos

Thank you Maria. I have followed same and it worked fine.