This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To enable JMX Monitoring for Kafka broker, please follow below instructions: | |
Edit kafka-run-class.sh and modify KAFKA_JMX_OPTS variable like below (please replace <> with your Kafka Broker hostname) | |
KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<kafka.broker.hostname >-Djava.net.preferIPv4Stack=true" | |
Add below line in kafka-server-start.sh | |
export JMX_PORT=${JMX_PORT:-9999} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
u.first_name, | |
r.name, | |
vm.name, | |
p.name | |
from ab_user u | |
inner join ab_user_role ur | |
on | |
u.id = ur.user_id | |
inner join ab_role r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jitsi | |
java.lang.NoClassDefFoundError: org/xbill/DNS/PacketLogger | |
at java.lang.Class.getDeclaredConstructors0(Native Method) | |
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) | |
at java.lang.Class.getConstructor0(Class.java:3075) | |
at java.lang.Class.newInstance(Class.java:412) | |
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4342) | |
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2147) | |
at org.apache.felix.framework.Felix.startBundle(Felix.java:2070) | |
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f565d5114cc, pid=24301, tid=140006708393728 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# C [libgdk-x11-2.0.so.0+0x694cc] | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/log/apache2# zcat access.log.*gz|cut -d\ -f1|sort -n|uniq -c|sort -n | |
1 10.1.0.1 | |
1 10.1.0.2 | |
2 10.1.0.3 | |
2 10.2.0.4 | |
2 10.3.0.5 | |
3 10.3.0.6 | |
4 10.4.0.7 | |
386 127.0.0.1 | |
4394 10.4.0.8 |