Can't start JXBrowser - jxbrowser

I reinstalled my OS due to some problem, I copied my old project and now I can't get JXBrowser works correctly. I've got a licence for Open Source project. The log says this
04:49:31 INFO: OS name: Linux
04:49:31 INFO: JRE version: 1.8.0_91 64-bit
04:49:31 INFO: JxBrowser version: 6.4
04:49:31 INFO: JxBrowser type: HEAVYWEIGHT
04:49:31 INFO: Starting IPC...
04:49:31 INFO: Starting IPC Server...
04:49:31 INFO: Starting socket server
04:49:31 INFO: Starting socket server at port 1101...
04:49:31 INFO: Starting IPC Process...
04:49:31 INFO: Starting Chromium process...
04:49:31 INFO: The '/lib/x86_64-linux-gnu/libudev.so.0' library exists: FALSE
04:49:31 INFO: The '/tmp/jxbrowser-chromium-49.0.2623.110.6.4/libudev.so.0' library exists: TRUE
04:49:31 INFO: The '/lib/x86_64-linux-gnu/libgcrypt.so.11' library exists: FALSE
04:49:31 INFO: The '/tmp/jxbrowser-chromium-49.0.2623.110.6.4/libgcrypt.so.11' library exists: TRUE
04:49:31 INFO: The '/lib/x86_64-linux-gnu/libcrypto.so.1.0.0' library exists: FALSE
04:49:31 INFO: The '/tmp/jxbrowser-chromium-49.0.2623.110.6.4/libcrypto.so.1.0.0' library exists: FALSE
04:49:31 INFO: Looking for libcrypto.so.x.x.x in '/lib/x86_64-linux-gnu/'...
04:49:31 INFO: Looking for libcrypto.so.x.x.x in '/lib64/'...
04:49:31 INFO: Looking for libcrypto.so.x.x.x in '/usr/lib64/'...
04:49:31 INFO: Failed to find libcrypto.so.x.x.x
04:49:31 INFO: Command line: /tmp/jxbrowser-chromium-49.0.2623.110.6.4/jxbrowser-chromium 1101 2837 --disable-surfaces
04:49:31 INFO: Chromium process exit code 127
04:49:31 INFO: /tmp/jxbrowser-chromium-49.0.2623.110.6.4/jxbrowser-chromium: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit code: 127
at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
04:49:32 INFO: Stopping Server...
04:49:32 INFO: Stopping Server... [DONE]
04:49:32 INFO: Waiting process exit...
I'm running it on Kali 2.0 and Eclipse Mars

The error message indicates that Chromium engine failed to find the libcrypto.so.1.0.0 system library. Please try installing this library and check if it helps.

Related

openfortivpn with pppd failure

Running on ubuntu server:
sudo openfortivpn --trusted-cert 6f0ac15ce35ca1y3253a6307874ffd490029f3c2eba7a1ec289eda308b95cbf13 portal2.assd.bb.com:10443 -u user <<< 'pass'
I get this ouput
INFO: Connected to gateway.
INFO: Authenticated.
INFO: Remote gateway has allocated a VPN.
ERROR: read: Input/output error
INFO: Cancelling threads...
ERROR: pppd: Is not setuid-root and the invoking user is not root.
INFO: Terminated pppd.
INFO: Closed connection to gateway.
INFO: Logged out.
openfortivpn --version
1.6.0
How can I solve it? ppp is alredy installed. Where can I read: read: Input/output error?

eucalyptus-cloud.service 4.4.4 constantly crashing with JVM memory errors

I'm trying to work through the manual installation guide. When I get as far as registering an admin account for the console (euare-accountcreate) or registering services (euserv-register-service) the eucalyptus-cloud service inconsistently crashes with the same JVM memory error. As an example a few times I've been able to register the UFS or create the admin account but when I move on to perform another step in the install it will fail and checking the service status shows that it has crashed. I don't have experience with Java memory errors and could really use some help understanding whats going on and how to investigate this type of error in general:
[root#cloud ~]# euserv-describe-services ufs-10.0.0.2
euserv-describe-services: error: connection error (('Connection
aborted.', BadStatusLine("''",)))
[root#cloud ~]# systemctl status eucalyptus-cloud -l
● eucalyptus-cloud.service - Eucalyptus cloud web services
Loaded: loaded (/usr/lib/systemd/system/eucalyptus-cloud.service;
enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-10-10 08:45:09 EDT;
4s ago
Process: 45951 ExecStart=/usr/sbin/eucalyptus-cloud $CLOUD_OPTS
(code=exited, status=1/FAILURE)
Main PID: 45951 (code=exited, status=1/FAILURE)
CGroup: /system.slice/eucalyptus-cloud.service
├─46206 /usr/bin/postgres -D /var/lib/eucalyptus/db/data -
h0.0.0.0 -p8777
├─46207 postgres: logger process
├─46209 postgres: checkpointer process
├─46210 postgres: writer process
├─46211 postgres: wal writer process
├─46212 postgres: autovacuum launcher process
└─46213 postgres: stats collector process
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: OpenJDK 64-Bit Server VM
warning: INFO: os::commit_memory(0x00007f496534b000, 12288, 0) failed;
error='Cannot allocate memory' (errno=12)
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: #
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # There is insufficient
memory for the Java Runtime Environment to continue.
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # Native memory
allocation (mmap) failed to map 12288 bytes for committing reserved
memory.
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: # An error report file
with more information is saved as:
Oct 10 08:45:08 cloud eucalyptus-cloud[45951]: #
/tmp/hs_err_pid45954.log
Oct 10 08:45:09 cloud eucalyptus-cloud[45951]: 2018-10-10 08:45:09
45951 ERROR 0574 Service exit with a return value of 1.
Oct 10 08:45:09 cloud systemd[1]: eucalyptus-cloud.service: main
process exited, code=exited, status=1/FAILURE
Oct 10 08:45:09 cloud systemd[1]: Unit eucalyptus-cloud.service
entered failed state.
Oct 10 08:45:09 cloud systemd[1]: eucalyptus-cloud.service failed.
Edit to include some version info:
[root#cloud ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root#cloud ~]# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
EDIT to note my point of confusion: This system only has 25G of RAM in use and 223G free. So I need help understanding how java is running out of memory.
try this fix:
echo 1999999 > /proc/sys/vm/max_map_count

Could not connect to Realm Object Server 2.0

I install ROS on my server, but when I called ros start and it will running at my server, here is the log:
login as: root
root#*.*.*.*'s password:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-109-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Welcome to Alibaba Cloud Elastic Compute Service !
root#iZwz940pq66re8qvh8adzuZ:~# ros start
info: Loaded feature token capabilities=[Sync], expires=Wed Apr 19 2017 22:15:29 GMT+0800 (CST)
info: Realm Object Server version 2.5.1 is starting
info: [sync] Realm sync server started ([realm-core-4.0.4], [realm- sync-2.1.10])
info: [sync] Directory holding persistent state: /root/data/sync/user_data
info: [sync] Operating mode: master_with_no_slave
info: [sync] Log level: info
info: [sync] Download log compaction is enabled
info: [sync] Max download size: 131072 bytes
info: [sync] Listening on 127.0.0.1:35571 (sync protocol version 22)
info: Realm Object Server has started and is listening on http://0.0.0.0:9080
But when I entered the address in the browser, It told me that I could not connect.And I use Realm Studio to connect it also tell me that could not reach the server, did i forget something steps? Maybe my server's security policy forbide the port?
Per to the log description, Realm Object Server has started and is listening on http://0.0.0.0:9080.
Please ensure you've allowed TCP port 9080 in your ECS security group.
For detail steps, please refer the document
Add a security group rule

sporadic not authorized errors with artifactory

About 1 of 40 build on our CI server (and on developer machines) fails with:
[ERROR] Plugin org.apache.maven.plugins:maven-failsafe-plugin:2.17 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-failsafe-plugin:jar:2.17: Could not transfer artifact org.apache.maven.plugins:maven-failsafe-plugin:pom:2.17 from/to artifactory (https://example.com/artifactory/repo): Not authorized , ReasonPhrase:Unauthorized.
Still no clue how to fix it. Any ideas?
Storage Info:
Database Type: postgresql
Connection Url: jdbc:postgresql://postgresql:5432/artifactory
Storage Type: file-system
System Properties:
artifactory.running.mode: OSS
artifactory.running.state: Online
PID: 213
artdist: zip
artifactory.home: /opt/jfrog/artifactory
artifactory.version: 5.5.1
awt.toolkit: sun.awt.X11.XToolkit
catalina.base: /opt/jfrog/artifactory/tomcat
catalina.home: /opt/jfrog/artifactory/tomcat
catalina.useNaming: true
common.loader: "${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"
derby.language.logStatementText: false
derby.module.mgmt.jmx: org.apache.derby.impl.services.jmxnone.NoManagementService
derby.storage.pageCacheSize: 500
derby.stream.error.logSeverityLevel: 0
file.encoding: UTF8
file.encoding.pkg: sun.io
file.separator: /
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.headless: true
java.awt.printerjob: sun.print.PSPrinterJob
java.class.path: /opt/jfrog/artifactory/tomcat/bin/bootstrap.jar:/opt/jfrog/artifactory/tomcat/bin/tomcat-juli.jar
java.class.version: 52.0
java.endorsed.dirs: /opt/jfrog/artifactory/tomcat/endorsed
java.ext.dirs: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home: /usr/lib/jvm/java-8-openjdk-amd64/jre
java.io.tmpdir: /opt/jfrog/artifactory/tomcat/temp
java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.naming.factory.initial: org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs: org.apache.naming
java.protocol.handler.pkgs: org.apache.catalina.webresources
java.runtime.name: OpenJDK Runtime Environment
java.runtime.version: 1.8.0_131-8u131-b11-2-b11
java.security.egd: file:/dev/./urandom
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 1.8
java.util.logging.config.file: /opt/jfrog/artifactory/tomcat/conf/logging.properties
java.util.logging.manager: org.apache.juli.ClassLoaderLogManager
java.vendor: Oracle Corporation
java.vendor.url: http://java.oracle.com/
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
java.version: 1.8.0_131
java.vm.info: mixed mode
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 1.8
java.vm.vendor: Oracle Corporation
java.vm.version: 25.131-b11
jdk.tls.ephemeralDHKeySize: 2048
jruby.compile.invokedynamic: false
line.separator:
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: true
org.jboss.logging.provider: slf4j
os.arch: amd64
os.name: Linux
os.version: 3.16.0-4-amd64
package.access: sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat.
package.definition: sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.,org.apache.tomcat.
path.separator: :
server.loader:
shared.loader:
spring.beaninfo.ignore: true
sun.arch.data.model: 64
sun.boot.class.path: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes
sun.boot.library.path: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
sun.cpu.endian: little
sun.cpu.isalist:
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: org.apache.catalina.startup.Bootstrap start
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
sun.os.patch.level: unknown
tomcat.util.buf.StringCache.byte.enabled: true
tomcat.util.scan.StandardJarScanFilter.jarsToScan: log4j-web*.jar,log4j-taglib*.jar,log4javascript*.jar,slf4j-taglib*.jar
tomcat.util.scan.StandardJarScanFilter.jarsToSkip: bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,websocket-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-storeconfig.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-*.jar,tomcat-api.jar,tomcat-util.jar,tomcat-util-scan.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-websocket.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar,taglibs-standard-spec-*.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-*.jar,ant-launcher.jar,cobertura-*.jar,asm-*.jar,dom4j-*.jar,icu4j-*.jar,jaxen-*.jar,jdom-*.jar,jetty-*.jar,oro-*.jar,servlet-api-*.jar,tagsoup-*.jar,xmlParserAPIs-*.jar,xom-*.jar
user.dir: /
user.home: /home/artifactory
user.language: en
user.name: artifactory
user.timezone: Etc/UTC
General JVM Info:
Available Processors: 2
Heap Memory Usage-Committed: 536870912
Heap Memory Usage-Init: 536870912
Heap Memory Usage-Max: 4294967296
Heap Memory Usage-Used: 301045776
Non-Heap Memory Usage-Committed: 226463744
Non-Heap Memory Usage-Init: 2555904
Non-Heap Memory Usage-Max: -1
Non-Heap Memory Usage-Used: 220772408
JVM Arguments:
Args: -Djava.util.logging.config.file=/opt/jfrog/artifactory/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djdk.tls.ephemeralDHKeySize=****
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Xms512m
-Xmx2g
-Xss256k
-XX:+UseG1GC
-XX:OnOutOfMemoryError=kill -9 %p
-Djruby.compile.invokedynamic=false
-Dfile.encoding=UTF8
-Dartdist=zip
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-Djava.security.egd=file:/dev/./urandom
-Xmx4g
-Dartifactory.home=/opt/jfrog/artifactory
-Dfile.encoding=UTF8
-Djruby.compile.invokedynamic=false
-Djava.endorsed.dirs=/opt/jfrog/artifactory/tomcat/endorsed
-Dcatalina.base=/opt/jfrog/artifactory/tomcat
-Dcatalina.home=/opt/jfrog/artifactory/tomcat
-Djava.io.tmpdir=/opt/jfrog/artifactory/tomcat/temp
We are using the API key instead of the encrypted password on our CI server now. Thanks to #ajeans.

suse11 linux start jxbrowser error

I've just installed JxBrowser library but I can't start the application.
I have this error on suse 11 spc3. The error message:
-- Product name: JxBrowser
-- Licensed version: 5.x
-- Licensed to: JxBrowser Demo
-- License type: Demo
-- License bound to product: License for JxBrowser Demo
-- Generation date: 2015-1-13
-- Expiration date: NEVER
-- License info: JxBrowser Demo License
-- Current date: 2016-10-18
JxBrowser license valid.
04:03:00 信息: OS name: Linux
04:03:00 信息: JRE version: 1.6.0_29 64-bit
04:03:00 信息: JxBrowser version: 5.3
04:03:00 信息: Starting IPC...
04:03:00 信息: Starting IPC Server...
04:03:00 信息: Starting IPC Process...
04:03:00 信息: Start Chromium process...
04:03:00 信息: The '/lib/x86_64-linux-gnu/libudev.so.0' library exists: FALSE
04:03:00 信息: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.3/libudev.so.0' library exists: TRUE
04:03:00 信息: The '/lib/x86_64-linux-gnu/libgcrypt.so.11' library exists: FALSE
04:03:00 信息: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.3/libgcrypt.so.11' library exists: TRUE
04:03:00 信息: Command line: /tmp/jxbrowser-chromium-43.0.2357.52.5.3/jxbrowser-chromium 1102 5827 --enable-npapi
04:03:00 信息: /tmp/jxbrowser-chromium-43.0.2357.52.5.3/jxbrowser-chromium: symbol lookup error: //tmp/jxbrowser-chromium-43.0.2357.52.5.3/libjxbrowser-chromium-lib.so: undefined symbol: XISelectEvents
04:03:00 信息: Chromium process exit code 127;
com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit code: 127
at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source) at java.lang.Thread.run(Thread.java:662)
According to JxBrowser system requirements it doesn't support Suse 11 platform.

Resources