MariaDB Crash Reason - mariadb

I have recently migrated a small data warehouse from a 32-bit windows MySQL 5.5 instance to a much larger MariaDB instance. Overall, the performance improvements have been as expected. However, I am running in to scenarios where the database server restarts and I am not able to identify the bottleneck that caused the crash. Where can I see the lead-up to the crash so that I can appropriately tune the config file?
The setup is a virtual machine as follows:
CentOS 7
MariaDB 10.2.18
12 GB memory
This is a dedicated database server.
My goal is to have ~4 GB available for the InnoDB buffer
pool and DB overhead and another 4 GB for read-only memory tables (only one currently that is ~3 GB)
that are generated nightly for business intelligence queries.
Below is the output from journalctl -u mariadb --since "2018-11-26 14:00:00" showing the recovery. There is nothing before mariadb.service: main process exited that hints at the reason for the ~15:08:30crash.
Nov 26 15:09:19 NCSQL systemd[1]: mariadb.service: main process exited, code=killed, status=9/KILL
Nov 26 15:09:19 NCSQL systemd[1]: Unit mariadb.service entered failed state.
Nov 26 15:09:19 NCSQL systemd[1]: mariadb.service failed.
Nov 26 15:09:24 NCSQL systemd[1]: mariadb.service holdoff time over, scheduling restart.
Nov 26 15:09:24 NCSQL systemd[1]: Starting MariaDB 10.2.18 database server...
Nov 26 15:09:24 NCSQL systemd[1]: Starting MariaDB 10.2.18 database server...
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] /usr/sbin/mysqld (mysqld 10.2.18-MariaDB) starting as process 8873 ...
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Uses event mutexes
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Compressed tables use zlib 1.2.7
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Using Linux native AIO
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Number of pools: 1
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Using SSE2 crc32 instructions
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Initializing buffer pool, total size = 3G, instances = 8, chunk size = 128M
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Completed initialization of buffer pool
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140320821323520 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Highest supported file format is Barracuda.
Nov 26 15:09:25 NCSQL mysqld[8873]: 2018-11-26 15:09:25 140324770257088 [Note] InnoDB: Starting crash recovery from checkpoint LSN=277791212387
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: 128 out of 128 rollback segments are active.
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: Creating shared tablespace for temporary tables
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: Waiting for purge to start
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] InnoDB: 5.7.23 started; log sequence number 277791212441
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140320398370560 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Plugin 'FEEDBACK' is disabled.
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Recovering after a crash using tc.log
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Starting crash recovery...
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Crash recovery finished.
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140320398370560 [Note] InnoDB: Buffer pool(s) load completed at 181126 15:09:27
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Server socket created on IP: '::'.
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [ERROR] mysqld: Table './mysql/event' is marked as crashed and should be repaired
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [ERROR] mysqld: Table 'event' is marked as crashed and should be repaired
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Warning] Checking table: './mysql/event'
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [ERROR] mysql.event: 1 client is using or hasn't closed the table properly
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324635596544 [Note] Event Scheduler: scheduler thread started with id 6
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Reading of all Master_info entries succeded
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] Added new Master_info '' to hash table
Nov 26 15:09:27 NCSQL mysqld[8873]: 2018-11-26 15:09:27 140324770257088 [Note] /usr/sbin/mysqld: ready for connections.
Nov 26 15:09:27 NCSQL mysqld[8873]: Version: '10.2.18-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
Nov 26 15:09:27 NCSQL systemd[1]: Started MariaDB 10.2.18 database server.
My server.cnf has the following:
[mysqld]
lower_case_table_names=1
event_scheduler=on
max_heap_table_size=4G
key_buffer_size=20M
innodb_buffer_pool_size=3G
sql_mode='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'

Looks like your Table is corrupted.
Execute the following command to fix the issue
REPAIR TABLE `<tableName>`;
In your case,
USE mysql
REPAIR TABLE event;

The DB service was being shut down by the Linux OOM killer. Hence no MySQL/MariaDB error log messages are shown.
The following command is helpful to confirm:
# dmesg -T | egrep -i 'killed process'

Related

R can't find existing header file GL/gl.h during install.packages("rgl")

I am having trouble installing 'rgl' on a Linux virtual machine (Ubuntu 18.04 - details at bottom). There are several related questions that are resolved by installing the required dependencies, however in my instance those dependency files exist and are not found by R when installing the R package "rgl".
The files in question are GL/gl.h and GL/glu.h
When running the standard install.packages("rgl"), R gives me this error in the installation report:
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: missing required header GL/gl.h
ERROR: configuration failed for package ‘rgl’
* removing ‘/opt/conda/lib/R/library/rgl’
Warning in install.packages :
installation of package ‘rgl’ had non-zero exit status
However, those files do exist in /usr/include/GL/ as shown here:
root#[REDACTED]:/usr/include/GL# ls -la
total 1520
drwxr-xr-x 1 root root 6 Oct 27 23:38 .
drwxr-xr-x 1 root root 4096 Oct 27 23:36 ..
-rw-r--r-- 1 root root 80393 Jun 12 01:21 gl.h
-rw-r--r-- 1 root root 421419 Jun 12 01:21 glcorearb.h
-rw-r--r-- 1 root root 848217 Jun 12 01:21 glext.h
-rw-r--r-- 1 root root 17255 May 21 2016 glu.h
-rw-r--r-- 1 root root 3315 May 21 2016 glu_mangle.h
-rw-r--r-- 1 root root 14578 Jun 12 01:21 glx.h
-rw-r--r-- 1 root root 48752 Jun 12 01:21 glxext.h
-rw-r--r-- 1 root root 4706 Apr 3 2018 glxint.h
-rw-r--r-- 1 root root 2086 Apr 3 2018 glxmd.h
-rw-r--r-- 1 root root 81112 Apr 3 2018 glxproto.h
-rw-r--r-- 1 root root 11436 Apr 3 2018 glxtokens.h
drwxr-xr-x 1 root root 37 Sep 22 04:24 internal
I tried installing the package from the terminal using this commands:
wget https://cloud.r-project.org/src/contrib/rgl_0.100.54.tar.gz
then
R CMD INSTALL --configure-args="--with-gl-includes=/usr/include/GL/" rgl_0.100.54.tar.gz
but that didn't work either.
TBH, I am not a Linux expert, so not sure if I'm close and making simple errors, or if there is something major happening under the hood to prevent this from working. I also tried quite a few things with the PATH variable in both R (using Sys.setenv("PATH"="[LONG-PATH-HERE]")) and in the terminal. When looking in the rgl package 'config' file, it seems like it is looking in the right place for the files, but I'm not sure how that file executes.
OS version:
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
R Version:
> R.version
_
platform x86_64-conda_cos6-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 6.3
year 2020
month 02
day 29
svn rev 77875
language R
version.string R version 3.6.3 (2020-02-29)
nickname Holding the Windsock
Thank you, stack overflow comrades.

Windows Javafx native compilation with GraalVM : error LNK2001

I had tried to compile my little Javafx program's who only change the windows wallpaper with gradle client-gradle-plugin version 0.1.27 on Windows 10 platform.
gradle build : Stantard compilation for generate JAR, is successful.
gradle nativeBuild, for compilation is successful. gradle
nativeBuild, linking steps fail with errors : LNK2001
Do you have some idea, is it a know problem's ?
C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.lib and object C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.exp
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : **error LNK2001: unresolved external symbol StrictMath_acos**
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_asin
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_atan2
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_cbrt
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_hypot
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.exe : **fatal error LNK1120: 5 unresolved externals**
client-debug0.log
[mer. juin 10 12:07:53 CEST 2020][INFO] ==================== COMPILE TASK ====================
[mer. juin 10 12:07:54 CEST 2020][FINE] PB Command for check version: C:\Program Files\AdoptOpenJDK\graalvm-ce-java11-20.2.0-dev\bin\java -version
[mer. juin 10 12:07:54 CEST 2020][FINE] Start process check version...
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] openjdk version "11.0.7" 2020-04-14
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] OpenJDK Runtime Environment GraalVM CE 20.2.0-dev (build 11.0.7+10-jvmci-20.1-b02)
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] OpenJDK 64-Bit Server VM GraalVM CE 20.2.0-dev (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
[mer. juin 10 12:07:55 CEST 2020][FINE] Result for check version: 0
[mer. juin 10 12:07:55 CEST 2020][INFO] We will now compile your code for x86_64-microsoft-windows. This may take some time.
[mer. juin 10 12:07:55 CEST 2020][FINE] Extracting native libs to: C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\lib
[mer. juin 10 12:07:55 CEST 2020][FINE] Looking for resource: /native/windows/launcher.c
[mer. juin 10 12:07:55 CEST 2020][FINE] PB Command for compile-additional-sources: cl -c -DSUBSTRATE /MD /D_UNICODE /DUNICODE /DWIN32 /D_WINDOWS -IC:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\wavepaper launcher.c
[mer. juin 10 12:07:55 CEST 2020][FINE] Start process compile-additional-sources...
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] Copyright (C) Microsoft Corporation. All rights reserved.
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB]
[mer. juin 10 12:07:55 CEST 2020][FINE] [SUB] launcher.c
[mer. juin 10 12:07:56 CEST 2020][FINE] Result for compile-additional-sources: 0
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning for init build time files
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.4.0\3e25bc70dd7750a3f0fea5bd1467708280bea04e\jna-5.4.0.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\org.openjfx\javafx-swing\11\6d34fc92fbea9ab95966380c29b06672a94f4a3e\javafx-swing-11-win.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning for reflection files
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.4.0\3e25bc70dd7750a3f0fea5bd1467708280bea04e\jna-5.4.0.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar::META-INF/substrate/config/reflectionconfig.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar::META-INF/substrate/config/reflectionconfig.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\org.openjfx\javafx-swing\11\6d34fc92fbea9ab95966380c29b06672a94f4a3e\javafx-swing-11-win.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar::META-INF/substrate/config/reflectionconfig-x86_64-windows.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar::META-INF/substrate/config/reflectionconfig.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar::META-INF/substrate/config/reflectionconfig.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning for JNI files
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.4.0\3e25bc70dd7750a3f0fea5bd1467708280bea04e\jna-5.4.0.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\org.openjfx\javafx-swing\11\6d34fc92fbea9ab95966380c29b06672a94f4a3e\javafx-swing-11-win.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar::META-INF/substrate/config/jniconfig-x86_64-windows.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Adding classes from C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar::META-INF/substrate/config/jniconfig.json
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning for resource files
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.4.0\3e25bc70dd7750a3f0fea5bd1467708280bea04e\jna-5.4.0.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gradle\caches\modules-2\files-2.1\org.openjfx\javafx-swing\11\6d34fc92fbea9ab95966380c29b06672a94f4a3e\javafx-swing-11-win.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] Scanning C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar
[mer. juin 10 12:07:56 CEST 2020][FINE] PB Command for compile: C:\Program Files\AdoptOpenJDK\graalvm-ce-java11-20.2.0-dev\bin\native-image.cmd --report-unsupported-elements-at-runtime "-Djdk.internal.lambda.eagerlyInitialize=false" --no-server -H:+ExitAfterRelocatableImageWrite -H:+SharedLibrary -H:+AddAllCharsets -H:+ReportExceptionStackTraces -H:-DeadlockWatchdogExitOnTimeout "-H:DeadlockWatchdogInterval=0" -H:+RemoveSaturatedTypeFlows "--features=org.graalvm.home.HomeFinderFeature" "-H:TempDirectory=C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\tmp" "-H:EnableURLProtocols=http,https" "-H:ReflectionConfigurationFiles=C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\reflectionconfig-x86_64-windows.json" "-H:JNIConfigurationFiles=C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\jniconfig-x86_64-windows.json" "-H:ResourceConfigurationFiles=C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\resourceconfig-x86_64-windows.json" "-H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle" "-Dsvm.platform=org.graalvm.nativeimage.Platform$WINDOWS_AMD64" -cp "C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\classes\java\main;C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\resources\main;C:\Users\User\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.4.0\3e25bc70dd7750a3f0fea5bd1467708280bea04e\jna-5.4.0.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-fxml.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-controls.jar;C:\Users\User\.gradle\caches\modules-2\files-2.1\org.openjfx\javafx-swing\11\6d34fc92fbea9ab95966380c29b06672a94f4a3e\javafx-swing-11-win.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-graphics.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar;C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib\javafx-base.jar" wavepaper.Main
[mer. juin 10 12:07:56 CEST 2020][FINE] Start process compile...
[mer. juin 10 12:07:56 CEST 2020][INFO] [SUB] Warning: Ignoring server-mode native-image argument --no-server.
[mer. juin 10 12:08:01 CEST 2020][INFO] [SUB] [wavepaper.main:12684] classlist: 3,822.32 ms, 0.96 GB
[mer. juin 10 12:08:05 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (cap): 3,212.12 ms, 0.96 GB
[mer. juin 10 12:08:06 CEST 2020][INFO] [SUB] [wavepaper.main:12684] setup: 5,613.86 ms, 0.96 GB
[mer. juin 10 12:08:36 CEST 2020][INFO] [SUB] WARNING GR-10238: VarHandle for static field is currently not fully supported. Static field private static volatile java.lang.System$Logger jdk.internal.event.EventHelper.securityLogger is not properly marked for Unsafe access!
[mer. juin 10 12:08:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (clinit): 1,106.21 ms, 3.42 GB
[mer. juin 10 12:08:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (typeflow): 18,408.30 ms, 3.42 GB
[mer. juin 10 12:08:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (objects): 24,649.78 ms, 3.42 GB
[mer. juin 10 12:08:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (features): 3,960.69 ms, 3.42 GB
[mer. juin 10 12:08:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] analysis: 49,264.44 ms, 3.42 GB
[mer. juin 10 12:08:58 CEST 2020][INFO] [SUB] [wavepaper.main:12684] universe: 1,979.74 ms, 3.42 GB
[mer. juin 10 12:09:07 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (parse): 9,154.31 ms, 3.87 GB
[mer. juin 10 12:09:15 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (inline): 7,502.96 ms, 4.79 GB
[mer. juin 10 12:09:45 CEST 2020][INFO] [SUB] [wavepaper.main:12684] (compile): 29,427.17 ms, 4.79 GB
[mer. juin 10 12:09:48 CEST 2020][INFO] [SUB] [wavepaper.main:12684] compile: 49,758.91 ms, 4.79 GB
[mer. juin 10 12:09:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] image: 7,794.75 ms, 4.80 GB
[mer. juin 10 12:09:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] write: 289.18 ms, 4.80 GB
[mer. juin 10 12:09:56 CEST 2020][INFO] [SUB] [wavepaper.main:12684] [total]: 119,402.13 ms, 4.80 GB
[mer. juin 10 12:09:57 CEST 2020][FINE] Result for compile: 0
[mer. juin 10 12:09:57 CEST 2020][FINE] Logging process [compile] to file: C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\target\client\log\process-compile-1591783797872.log
client-debug0.log3
[mer. juin 10 12:19:02 CEST 2020][INFO] ==================== LINK TASK ====================
[mer. juin 10 12:19:02 CEST 2020][FINE] Looking for resource: /native/windows/launcher.c
[mer. juin 10 12:19:02 CEST 2020][FINE] PB Command for compile-additional-sources: cl -c -DSUBSTRATE /MD /D_UNICODE /DUNICODE /DWIN32 /D_WINDOWS -IC:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\wavepaper launcher.c
[mer. juin 10 12:19:02 CEST 2020][FINE] Start process compile-additional-sources...
[mer. juin 10 12:19:02 CEST 2020][FINE] [SUB] Microsoft (R) C/C++ Optimizing Compiler Version 19.26.28806 for x64
[mer. juin 10 12:19:02 CEST 2020][FINE] [SUB] Copyright (C) Microsoft Corporation. All rights reserved.
[mer. juin 10 12:19:02 CEST 2020][FINE] [SUB]
[mer. juin 10 12:19:02 CEST 2020][FINE] [SUB] launcher.c
[mer. juin 10 12:19:02 CEST 2020][FINE] Result for compile-additional-sources: 0
[mer. juin 10 12:19:02 CEST 2020][FINE] PB Command for link: link C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\wavepaper\launcher.obj C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\tmp\SVM-1591784216803\wavepaper.main.obj advapi32.lib iphlpapi.lib secur32.lib userenv.lib ws2_32.lib j2pkcs11.lib java.lib net.lib nio.lib prefs.lib fdlibm.lib sunec.lib zip.lib ffi.lib jvm.lib libchelper.lib /NODEFAULTLIB:libcmt.lib /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup comdlg32.lib dwmapi.lib gdi32.lib imm32.lib shell32.lib uiautomationcore.lib urlmon.lib winmm.lib glass.lib javafx_font.lib javafx_iio.lib prism_common.lib prism_d3d.lib /WHOLEARCHIVE:glass.lib /WHOLEARCHIVE:javafx_font.lib /WHOLEARCHIVE:javafx_iio.lib /WHOLEARCHIVE:prism_common.lib /WHOLEARCHIVE:prism_d3d.lib /OUT:C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.exe /LIBPATH:C:\Program Files\AdoptOpenJDK\graalvm-ce-java11-20.2.0-dev\lib\svm\clibraries\windows-amd64 /LIBPATH:C:\Program Files\AdoptOpenJDK\graalvm-ce-java11-20.2.0-dev\lib /LIBPATH:C:\Users\User\.gluon\substrate\javafxStaticSdk\15-ea+gvm20\windows-x86_64\sdk\lib
[mer. juin 10 12:19:02 CEST 2020][FINE] Start process link...
[mer. juin 10 12:19:02 CEST 2020][INFO] [SUB] Microsoft (R) Incremental Linker Version 14.26.28806.0
[mer. juin 10 12:19:02 CEST 2020][INFO] [SUB] Copyright (C) Microsoft Corporation. All rights reserved.
[mer. juin 10 12:19:02 CEST 2020][INFO] [SUB]
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] Creating library C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.lib and object C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.exp
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_acos
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_asin
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_atan2
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_cbrt
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] wavepaper.main.obj : error LNK2001: unresolved external symbol StrictMath_hypot
[mer. juin 10 12:19:03 CEST 2020][INFO] [SUB] C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\wavepaper.exe : fatal error LNK1120: 5 unresolved externals
[mer. juin 10 12:19:03 CEST 2020][FINE] Result for link: 1120
[mer. juin 10 12:19:03 CEST 2020][SEVERE] Process link failed with result: 1120
Check the log files under C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\log
And please check https://docs.gluonhq.com/client/ for more information.
[mer. juin 10 12:19:03 CEST 2020][INFO] Logging process [link] to file: C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\target\client\log\process-link-1591784343193.log
[mer. juin 10 12:19:03 CEST 2020][SEVERE] Linking failed.
Check the log files under C:\Users\User\workspace\Workspace\intellij-workspace\wavepaper\build\client\x86_64-windows\gvm\log
And please check https://docs.gluonhq.com/client/ for more information.
Try to upgrade the Gluon Gradle Plugin to the latest version (0.1.36)
Worked for me

how can i fix this nginx in ubuntu16

I am newer to nginx and am getting this error message while
sudo apt-get install nginx
can any one help me to fix this
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-08-28 15:12:09 IST; 20ms ago
Docs: man:nginx(8)
Process: 6656 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Aug 28 15:12:09 onlyoffice systemd[1]: Starting A high performance web serv.....
Aug 28 15:12:09 onlyoffice nginx[6656]: nginx: [emerg] open() "/etc/nginx/ng...)
Aug 28 15:12:09 onlyoffice nginx[6656]: nginx: configuration file /etc/nginx...d
Aug 28 15:12:09 onlyoffice systemd[1]: nginx.service: Control process exite...=1
Aug 28 15:12:09 onlyoffice systemd[1]: Failed to start A high performance w...r.
Aug 28 15:12:09 onlyoffice systemd[1]: nginx.service: Unit entered failed state.
Aug 28 15:12:09 onlyoffice systemd[1]: nginx.service: Failed with result 'e...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-full (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.13.3-0+xenial1.1~) | nginx-light (<< 1.13.3-0+xenial1.1~) | nginx-extras (<< 1.13.3-0+xenial1.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.13.3-0+xenial1) | nginx-light (>= 1.13.3-0+xenial1) | nginx-extras (>= 1.13.3-0+xenial1); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
thank you in advance
You could try to use the official nginx.repo for Ubuntu (Xenial)
Edit /etc/apt/sources.list and add these lines at the end of the file:
deb http://nginx.org/packages/ubuntu/ codename nginx
deb-src http://nginx.org/packages/ubuntu/ codename nginx
Save the file and run this commands:
sudo apt-get update
sudo apt-get install nginx
It should install the latest nginx version from the nginx official repo.
If that's not working try running this command instead:
apt-get -f install nginx
or
apt-get -f -y install nginx

When I am installing tomcat 7 in ubuntu 16.04 I got this error

When I am installing tomcat 7 in ubuntu 16.04 I got this error
invoke-rc.d: initscript tomcat7, action "start" failed.
● tomcat7.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-05-29 00:33:24 IST; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 972 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
May 29 00:33:24 developer-HP-Notebook systemd[1]: Starting LSB: Start Tomcat....
May 29 00:33:24 developer-HP-Notebook tomcat7[972]: * no JDK or JRE found - please set JAVA_HOME
May 29 00:33:24 developer-HP-Notebook systemd[1]: tomcat7.service: Control process exited, code=exited status=1
May 29 00:33:24 developer-HP-Notebook systemd[1]: Failed to start LSB: Start Tomcat..
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
Either Java is not installed or you have the environment variable JAVA_HOME not pointed to it. Check for existence of java on your system, by executing following command in a terminal:
java -version
Install Java, by either downloading a jdk or jre from oracle java: https://java.com/.
Or just run:
sudo apt-get install openjdk-8-jdk

Unable to run playn sample project - compile errors

I've tried to follow the instructions on the getting started page for playn and run into problems when running the first program java showcase. I get the following errors when right clicking and running Maven test. Also I get numerous errors in the problem tab of eclipse related to (failure to transfer xxx from yyy) where xxx is some jar file and yyy is a gwt or playn website
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building PlayN Showcase Java 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom (11 KB at 47.2 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom (12 KB at 118.8 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/maven-parent/20/maven-parent-20.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom (25 KB at 143.9 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom (5 KB at 52.2 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.pom
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.pom
[WARNING] The POM for com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT is missing, no dependency information available
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom (462 B at 0.7 KB/sec)
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.jar
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar (25 KB at 40.9 KB/sec)
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar (101 KB at 102.4 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.155s
[INFO] Finished at: Tue Aug 07 08:01:22 EDT 2012
[INFO] Final Memory: 7M/112M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project playn-showcase-java: Could not resolve dependencies for project com.googlecode.playn:playn-showcase-java:jar:1.0-SNAPSHOT: Could not find artifact com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT in forplay-legacy (http://forplay.googlecode.com/svn/mavenrepo) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
You can try this:
Right click on "playn-showcase" then: Run As -> Maven Install
It should retrieve all dependencies correctly.
Next time you want to launch the sample, you can follow the tutorial procedure:
Right click on "playn-showcase-java" then: Run As -> Maven Test

Resources