Hello Everyone
I am setting up database monitoring using DBconnect, it worked well for MSSQL, Oracle, DB2 however Sybase is not giving up. I am getting the following error:
Connect error: no protocol: :myip:myport/databasename
In drivers section, it got recognised correctly as version 7.0. Any ideas on the issue? I am able to telnet to the host:port so no network issues there.
Are you using DB Connect 3.1.3 version?
If yes, please try with 3.1.2.
I have had several issues with different DBs with the latest version.
Try this - jdbc:jtds:sybase://hostname:port/database
Are you using DB Connect 3.1.3 version?
If yes, please try with 3.1.2.
I have had several issues with different DBs with the latest version.
Now the question, how do you get an older version, cannot seem to find a repo for that. Its either 2.4.1 or 3.1.3 on the splunkbase.
Not available if you don't have a backup. Write me an email, I'll answer with a private link. andrea.corvini@gmail.com
Thank you for the package. Now getting a new error:
"JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).". I have checked the changes between DBconnect 3.1.3 and 3.1.2, it is stated that there are no changes but it does give different error 🙂 Anyway, are there any specific JVM parameters for Sybase or anything? Or extra jars?
See here:
https://community.oracle.com/thread/698380
Which version of jdk are you using?
See here:
https://www.genuitec.com/forums/topic/i-cannot-connect-to-sybase-db-browser/
This is an old version but anoter possible issue.
Using JRE 1.8, with jdbc version 4.
Perfection! It works, connection string was incorrect, I think it should be a part of setup in official documentation.
So resolution for the problem:
1. downgrade the DBconnect to 3.1.2 as 3.1.3 was causing some issue with protocol identification.
2. Modify connection URL towards sybase to specify charset.
Yup, I am running 3.1.3. I will give it a try later today if no one comes with a better option.
How does your jdbc url look like? Is protocol mentioned in there (tds for Sybase, I assume).
jdbc:sybase:Tds:ip:port/dbname