on 10-03-2018 6:16 PM
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?
I have solved it.
It was blocking by firewall.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.