cancel
Showing results for 
Search instead for 
Did you mean: 

Sybase isql64 error

pupkiewiczm
Discoverer
0 Kudos

I am new to sybase, install sybase 16 without problems and it works for access from java, creation of tables and other tasks. But when I wanted to access to do back up with the command:

isql64.exe -Usa -Padmin1 -SWS7JAVA -x

I receive the error:

CT-LIBRARY error: ct_connect (): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed

Can anybody help me?

Accepted Solutions (1)

Accepted Solutions (1)

pupkiewiczm
Discoverer
0 Kudos

I have solved it.
It was blocking by firewall.
former_member188958
Active Contributor
0 Kudos

Thank you for coming back and posting the resolution to your issue!

Cheers,
-bret

Answers (2)

Answers (2)

pupkiewiczm
Discoverer
0 Kudos

I am running the isql.exe on the DB host.

I try <dbhost>:<port and fail.

I do not know what check in environment or sql.ini.


0 Kudos

The error means that connection of isql to the ASE server failed. I would suggest to check whther ASE has indeed been started (often the cause when this message is displayed) - but you say this is the case as you are able to connect some java application.
So for some reason your isql is not able to connect to ASE server WS7JAVA . So something is wrong with your environment (in a wide sense)

Sone things to look for:
Is the isql.exe running on the DB host itself ? Are you starting is as the owner of the ASE software ? Check the environment ibn the DOS shellwhere you start isql. Check the sql.ini file that is being used . Cn you connect when specifiing dbhost and port directly in the isql option:
isql.exe -S<dbhost>:<port> -U ....

(replace <dbhost>:<port> as it applies
Last - not sure but the sinle option '-x' does not seem to be right - -x usually requires a trusted fle as parameter . But it should not harm

HTH

Tilman