Trino Starburst ODBC SYNTAX_ERROR : USER_ERROR (1010) - odbc

Getting following error while testing connection in windows odbc 64 and 32 manager:
[Starburst][Trino] (1010) Error occurred while trying to connect: SYNTAX_ERROR : USER_ERROR : line 1:1: mismatched input '{'. Expecting: 'ALTER', 'ANALYZE', 'CALL', 'COMMENT', 'COMMIT', 'CREATE', 'DEALLOCATE', 'DELETE', 'DENY', 'DESC', 'DESCRIBE', 'DROP', 'EXECUTE', 'EXPLAIN', 'GRANT', 'INSERT', 'MERGE', 'PREPARE', 'REFRESH', 'RESET', 'REVOKE', 'ROLLBACK', 'SET', 'SHOW', 'START', 'TRUNCATE', 'UPDATE', 'USE',
Steps to recreate:
download and install to CentOS 7 Trino from trino.io https://repo1.maven.org/maven2/io/trino/trino-server-rpm/377/trino-server-rpm-377.rpm
configure /etc/catalog/hive.properties
start launcher
download and install Starburst ODBC 64bit to windows
open windows ODBC manager, input trino url and port 8080 and press test connection
default trino installation from trino.io
trino server version: 377 and 352 (both have same error)

Related

Unable to verify the first certificate - kibana/elasticsearch

I'm trying to configure xpack for elasticsearch/kibana, I've activated the trial license for elasticsearch, configured xpack for kibana/elasticsearch and also I've generated ca.crt, node1-elk.crt, node1-elk.key and also kibana.key , kibana.crt and if I'm testing with curl towards the elasticsearch using the kibana user and password and also the ca.crt it's working like a charm, if I'm trying to access kibana from the GUI says that the "Server is not ready yet" and the logs show that " unable to verify the first certificate" :
{"type":"log","#timestamp":"2021-11-16T04:41:09-05:00","tags":["error","savedobjects-service"],"pid":13250,"message":"Unable to retrieve version information from Elasticsearch nodes. unable to verify the first certificate"}
My configuration:
kibana.yml
server.name: "my-kibana"
server.host: "0.0.0.0"
elasticsearch.hosts: ["https://0.0.0.0:9200"]
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/kibana.crt
server.ssl.key: /etc/kibana/certs/kibana.key
server.ssl.certificateAuthorities: ["/etc/kibana/certs/ca.crt"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "kibana"
elasticsearch.yml
node.name: node1
network.host: 0.0.0.0
discovery.seed_hosts: [ "0.0.0.0" ]
cluster.initial_master_nodes: ["node1"]
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.key: /etc/elasticsearch/certs/node1.key
xpack.security.http.ssl.certificate: /etc/elasticsearch/certs/node1.crt
xpack.security.http.ssl.certificate_authorities: [ "/etc/elasticsearch/certs/ca.crt" ]
xpack.security.transport.ssl.key: /etc/elasticsearch/certs/node1.key
xpack.security.transport.ssl.certificate: /etc/elasticsearch/certs/node1.crt
xpack.security.transport.ssl.certificate_authorities: [ "/etc/elasticsearch/certs/ca.crt" ]
curl testing:
[root#localhost kibana]# curl -XGET https://0.0.0.0:9200/_cat/nodes?v -u kibana_system:kibana --cacert /etc/elasticsearch/certs/ca.crt
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
192.168.100.102 23 97 3 0.00 0.02 0.08 cdfhilmrstw * node1
I don't know what to do more here:
[root#localhost kibana]# curl -XGET https://0.0.0.0:9200/_license -u kibana_system:kibana --cacert /etc/elasticsearch/certs/ca.crt
{
"license" : {
"status" : "active",
"uid" : "872f0ad0-723e-43c8-b346-f43e2707d3de",
"type" : "trial",
"issue_date" : "2021-11-08T18:26:15.422Z",
"issue_date_in_millis" : 1636395975422,
"expiry_date" : "2021-12-08T18:26:15.422Z",
"expiry_date_in_millis" : 1638987975422,
"max_nodes" : 1000,
"issued_to" : "elasticsearch",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1
}
}
Thank you for your help

Drush 9 sql:sync error: no database record could be found for source #local

I just installed a new Drupal 8 and it comes with Drush 9, and I was trying to set up everything to use the command sql:sync or config:pull to have my local and staging syncronized but everytime I run the command 'drush sql:sync #local #stage' I get the following error
In SqlSyncCommands.php line 86:
[Exception] Error: no database record could be found for source
#local
Here's my self.site.yml
local:
host: localhost
user: root
root: /var/www/html/new-drupal
uri: http://new-drupal.local
stage:
host: XX.XX.XX.XX
user: root
root: /var/www/html/new-drupal
uri: http://new-drupal.my-staging.com
Searching around I found old versions of the aliases file that included this option:
'databases' =>
array (
'default' =>
array (
'default' =>
array (
'driver' => 'mysql',
'username' => 'sqlusername',
'password' => 'sqlpassword',
'port' => '',
'host' => 'localhost',
'database' => 'sqldbname',
),
),
),
But checking the example file of the 9 version there's nothing about it: https://github.com/drush-ops/drush/blob/master/examples/example.site.yml
Did someone had the same problem and found a solution?
It's been a while since my conversion. I had similar issues and went with a least-configuration approach.
First, compare the results of the following commands to see if it exposes any problems:
drush site:alias
drush site:alias #self
drush site:alias #local
I don't have a self.site.yml file. I've named mine drush/sites/remote.site.yml and only have remote aliases in it. I do not define a #local alias and use the built-in #self alias instead.
In drush/drush.yml I have:
drush:
paths:
config:
- ../docroot/sites/default/local.drush.yml
In docroot/sites/default/local.drush.yml I only have
options:
uri: 'http://localhost:port'
With this configuration the results of drush site:alias #self is
'#self':
root: /var/www/docroot
uri: 'http://localhost:port'
And assuming I have a valid #stage alias in drush/sites/remote.site.yml I would just run
drush sql:sync #self #stage
If you want a #local alias maybe you should move it over to the local drush config instead.

oracle odbc driver configuration

I'm having a problem with configuring oracle odbc
the dialog page is blank
when I enter TNS name as : XE
I get the following error:
unable to connect SQLState=08004
my tnsnames file is:
KPI_SERVER=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
the connection is successful in SQL developer by the following data:
hostname: localhost
port number: 1521
service: XE
and the trns_admin variable is set to: C:\oracle_odbc\tnsnames
Path is set to: C:\oracle_odbc
what did I do wrong?
thank you for your time
We try to make order: open a command prompt,
launch echo %TNS_ADMIN% the result is C:\oracle_odbc\?
launch dir C:\oracle_odbc\, the result is tnsnames.ora?
launch type C:\oracle_odbc\tnsnames.ora the result is the content of "my tnsnames file is" section of your initial post?
If all the response are yes, can you retry to lauch 'sqlplus.exe dbuser/dbpassword#KPI_SERVER

Minecraft Worlds Crash

Please Help My Minecraft Crashes When I join A World. BTW I am using mods. Here Is My Crash Report
---- Minecraft Crash Report ----
WARNING: coremods are present: Java8CheckerCoremod
(Pixelmon-1.8-4.1.1-universal.jar) Contact their authors BEFORE
contacting forge
// Ooh. Shiny.
Time: 1/17/16 11:44 AM Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop at
com.pixelmonmod.pixelmon.worldGeneration.structure.towns.ComponentTownPart.func_74875_a(ComponentTownPart.java:55)
at
net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:45)
at
net.minecraft.world.gen.structure.MapGenStructure.func_175794_a(MapGenStructure.java:93)
at
net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:415)
at
net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:269)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1126) at
net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:52)
at
net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12)
at
net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:344)
at
net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302)
at
net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)
at
net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:117)
at
net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:92)
at
net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:302)
at
net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:112)
at
net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:126)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known
details is as follows:
-- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_25,
Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM
(mixed mode), Oracle Corporation Memory: 876196800 bytes (835 MB) /
2034081792 bytes (1939 MB) up to 2134114304 bytes (2035 MB) JVM
Flags: 6 total;
-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
-Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 11, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.10 FML v8.0.99.99 Minecraft
Forge 11.14.4.1577 7 mods loaded, 7 mods active States: 'U' =
Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' =
Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E'
= Errored UCHIJAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAA FML{8.0.99.99} [Forge Mod Loader]
(forge-1.8-11.14.4.1577.jar) UCHIJAA Forge{11.14.4.1577} [Minecraft
Forge] (forge-1.8-11.14.4.1577.jar) UCHIJAA customnpcs{1.8.0}
[CustomNPCs] (CustomNPCs_1.8.0.jar) UCHIJAA cfm{3.5.1}
[ยง9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.5.1(1.8).jar)
UCHIJAA pixelmon{4.1.1} [Pixelmon] (Pixelmon-1.8-4.1.1-universal.jar)
UCHIJAA worldedit{6.1} [WorldEdit] (worldedit-forge-mc1.8-6.1.jar)
Loaded coremods (and transformers): Java8CheckerCoremod
(Pixelmon-1.8-4.1.1-universal.jar)
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count:
0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded:
Definitely; Client brand changed to 'fml,forge'
You need to delete all the mods and start again as you have installed some that have overlapped.

Error when launching a default Meteor application

I have started getting errors when I launch a brand new default Meteor app.
$ meteor --version
Meteor 1.2
Here are my steps to reproduce on Mac OS 10.10.5:
Reboot the computer, open a Terminal window and run...
$ meteor create test
$ cd test
$ meteor
Open a browser window at http://localhost:3000
Server error:
=> App running at: http://localhost:3000/
Internal exception while processing message { msg: 'connect',
version: '1',
support: [ '1', 'pre2', 'pre1' ] } Cannot read property '_CurrentInvocation' of undefined TypeError: Cannot read property '_CurrentInvocation' of undefined
at withoutInvocation (packages/meteor/packages/meteor.js:404:1)
at bindAndCatch (packages/meteor/packages/meteor.js:414:1)
at Object._.extend.setInterval (packages/meteor/packages/meteor.js:441:1)
at [object Object]._.extend._startHeartbeatIntervalTimer (packages/ddp-common/packages/ddp-common.js:71:1)
at [object Object]._.extend.start (packages/ddp-common/packages/ddp-common.js:66:1)
at new Session (livedata_server.js:312:20)
at [object Object]._.extend._handleConnect (livedata_server.js:1427:29)
at livedata_server.js:1356:18
Browser error:
Uncaught TypeError: Cannot read property '_CurrentInvocation' of undefinedwithoutInvocation # meteor.js:407bindAndCatch # meteor.js:417_.extend.setInterval # meteor.js:444_.extend._startHeartbeatIntervalTimer # ddp-common.js:71_.extend.start # ddp-common.js:66_.extend._livedata_connected # ddp-client.js:4158onMessage # ddp-client.js:3310(anonymous function) # ddp-client.js:2704_.each._.forEach # underscore.js:134_.extend._launchConnection.self.socket.onmessage # ddp-client.js:2703REventTarget.dispatchEvent # ddp-client.js:143SockJS._dispatchMessage # ddp-client.js:1128SockJS._didMessage # ddp-client.js:1186SockJS.websocket.that.ws.onmessage # ddp-client.js:1333
meteor.js:862 Received error from server: Must connect first
meteor.js:864 For: Object {msg: "sub", id: "ARDnnLu2X7G7WfWgx", name: "meteor_autoupdate_clientVersions", params: Array[0]}id: "ARDnnLu2X7G7WfWgx"msg: "sub"name: "meteor_autoupdate_clientVersions"params: Array[0]length: 0__proto__: Array[0]__proto__: Object
The app seems to run normally. What does this error mean?
Run meteor update to update Meteor to version 1.2.0.1.
Read more about this error.

Resources