Oracle sql developer does not start in fedora 20 - oracle-sqldeveloper

I am download last version of Oracle sql developer RPM version from oracle website and install it on my fedora 20 , after running sql developer , program does not start with following result:
[mohsen#localhost bin]$ sqldeveloper
Oracle SQL Developer
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
LOAD TIME : 655#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f3d8abb5910, pid=18459, tid=139904211367680
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C[thread 139904223835904 also had an error]
0x00007f3d8abb5910
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid18459.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 1193: 18459 Aborted (core dumped) ${JAVA} "${APP_VM_OPTS[#]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[#]}"
I am using sqldeveloper 4.0.3.16 java 7u67 on fedora 20

Related

Qt 6 configure for build: No MySQL driver

I'm trying to build Qt 6.4.1 using Visual Studio 2019 as a 32 bit version. When building it should also create the Qt MySQL plugin.
I already read the Qt documentation about Qt Configure Options and How to build the QMYSQL plugin on Windows and came up with the following configure command:
..\configure -prefix c:/qt/6.4.1 -debug-and-release -force-debug-info -skip qtactiveqt -plugin-sql-mysql -sql-mysql -sql-odbc -- -Wno-dev --log-level=TRACE -DMySQL_INCLUDE_DIR="C:/Program Files (x86)/MariaDB/MariaDB Connector C/include" -DMySQL_LIBRARY="C:/Program Files (x86)/MariaDB/MariaDB Connector C/lib/libmariadb.lib"
While configure.bat runs it seems to find the MySQL/MariaDB files because it does not print "Could NOT find" but "Promoting target":
...
-- Could NOT find DB2 (missing: DB2_INCLUDE_DIR DB2_LIBRARY)
-- Promoting target to global: 'MySQL::MySQL'
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY) (found version "11.3")
...
Later it lists MySQL as found:
-- The following packages have been found:
* QtBuildInternals
* OpenGL
* WrapPCRE2
* WrapZLIB
* WrapHarfbuzz
* WrapPNG
* WrapOpenGL
* MySQL, MySQL client library, <https://www.mysql.com>
* ODBC
...
But finally in the summary it tells me 'no'. :-(
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... yes
Does anyone know what the problem is or how to investigate further?
I already added the parameter --log-level=TRACE to get more information, but still have no clue what's wrong.

Neo4j Desktop is running, but `neo4j status` still says that the server is not running?

In my understanding, opening Neo4j Desktop is equivalent to starting a server. However, when I check this with invoke-neo4j status it says Neo4j is not running. Do you know why is that?
This is the verbose output:
PS D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5\bin> invoke-neo4j status -verbose
VERBOSE: Server command specified
VERBOSE: Java detected at 'C:\Program Files\Java\jdk-11\bin\java.exe'
VERBOSE: Invoking "C:\Program Files\Java\jdk-11\bin\java.exe" -version 2>&1
VERBOSE: Command returned with exit code 0
VERBOSE: Java version response: openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
VERBOSE: Java Version detected as 11
VERBOSE: Starting neo4j utility using command line C:\Program Files\Java\jdk-11\bin\java.exe -cp
"D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5/lib/*"
-Dbasedir="D:\Downloads\neo4j-community-4.3.5-windows\neo4j-community-4.3.5" org.neo4j.server.startup.Neo4jCommand
"status"
Neo4j is not running.
3
My goal is to autostart a database and use Cypher in terminal.
Opening Neo4j Desktop is NOT equivalent to starting a server. You simply open a user interface and it requires an active connection to a running neo4j database.
For an analogy, if you open ithe door of your car and sit on the driver seat you still need to start your engine so that it will move.

ExecutionSetupException: One or more nodes lost connectivity during query

While running a query on Dremio 4.6.1 installed on Kubernetes, we are getting the following error message from Dremio UI:
ExecutionSetupException: One or more nodes lost connectivity during query. Identified nodes were [dremio-executor-2.dremio-cluster-pod.dremio.svc.cluster.local:0].
Dremio-env config has the following settings:
DREMIO_MAX_DIRECT_MEMORY_SIZE_MB=13384
DREMIO_MAX_HEAP_MEMORY_SIZE_MB is not set
We are using workers of 16G /8c (Total of 10 workers)
1 Master Coordinator with the same config
Zookeeper with 1G/ 1c
Any idea what's causing this behavior ?
By doing a live logs tail before the worker crashes here are the logs:
An irrecoverable stack overflow has occurred.
Please check if any of your loaded .so files has enabled executable stack (see man page execstack(8))
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f41cdac4fa8, pid=1, tid=0x00007f41dc2ed700
#
# JRE version: OpenJDK Runtime Environment (8.0_262-b10) (build 1.8.0_262-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.262-b10 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x00007f41cdac4fa8
#
# Core dump written. Default location: /opt/dremio/core or core.1
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting , id 0xb]

JBoss WildFly 15.0.1 Final not starting on ubuntu 14.04 vServer with 2 GB: insufficient memory for JRE

I am trying to get JBoss WildFly 15.0.1 Final to start on a rather small ubuntu 14.04 vServer. The server has only 2 GB of RAM.
I tried to start WildFly many times without success. The JVM seems to require a lot more RAM than I had ever expected.
Here's the console output:
root#t2g55:~# service wildfly start
* Starting WildFly Application Server wildfly
* WildFly Application Server failed to start within the timeout allowed.
root#t2g55:~# cat /var/log/wildfly/console.log
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/wildfly
JAVA: /usr/bin/java
JAVA_OPTS: -server -Xms768m -Xmx1536m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000a0000000, 536870912, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 536870912 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/wildfly-15.0.1.Final/hs_err_pid1379.log
1379
root#t2g55:~# free
total used free shared buffers cached
Mem: 2097152 258748 1838404 64 0 38644
-/+ buffers/cache: 220104 1877048
Swap: 2097152 0 2097152
root#t2g55:~# java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~14.04-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
root#t2g55:~#
As you can see I specified JAVA_OPTS: -server -Xms768m -Xmx1536m ..., which I thought should suffice for a WildFly server to start. Please not, that the standalone.xml has a datasource defined to a MySQL DB.
Here's the start of the dump .log:
root#t2g55:~# cat /opt/wildfly-15.0.1.Final/hs_err_pid1379.log
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 536870912 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_linux.cpp:2757), pid=1379, tid=0x00007f62486c6700
#
# JRE version: (8.0_222-b10) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
--------------- T H R E A D ---------------
.
.
.
QUESTION:
Can this be solved with this amount of memory or do I simply have too few RAM?
What else could I probably try?
I don't really want my provider to go up with the mem successively only to find there's some other problem with Java, the JVM or anything...
Thanks
EDIT 1:
The vServer provider uses OpenVZ for its virtualization.
Info: they just pushed my to 4GB, then once, I got JBoss up and running. After reboot WildFly again refuses to start: same thing, not enough memory (even though I switch between Java 8 and Java 11 runtimes).
CMD to start JBoss WildFly: sh /opt/wildfly/bin/standalone.sh &, standalone.xml appears to be OK. I removed the ExampleDS, three entries commented.
It was indeed a server virtualization issue with OpenVZ.
Quote (in German):
Hi,
das Problem nach bei den user_beancounters, genauer gesagt bei privvmpages, diese waren > zu gering eingestellt.
https://wiki.openvz.org/UBC_secondary_parameters#privvmpages
Mit freundlichen Grüßen
Mr X
Translation:
Hi,
the problem was with the user_beancounters, that is with the privvmpages, these were set too low.
https://wiki.openvz.org/UBC_secondary_parameters#privvmpages
Best regards
Mr X
I don't know exactly what he did in detail, but that resolved it.
I now run on a 2GB machine without any problems and memory usage of mysqld + standalone.sh (WildFly + webapp) is around 800 MB.

log file automatically created when open eclipse

i am trying to open eclipse but it doesn't response .
it creates a log file automatically (hs_err_pid#no.log).
i tried to download another copy of eclipse but the same problem occur.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (signature.cpp:53), pid=3808, tid=1460
# fatal error: expecting (
#
# JRE version: (7.0_51-b13) (build )
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#