Posts

Showing posts from 2017

unable to load certificate 16851:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: TRUSTED CERTIFICATE

Run both of two following commands and give us the output: openssl x509 -text -inform DER -in domain.com.crt openssl x509 -text -inform PEM -in domain.com.crt Problem is that you must be trying to print a certificate in DER format. Then it needs to be specified explicitly.

db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

The Error Happens on Cent OS when you try to update or install any new Software Below are the steps to fix it $ mv /var/lib/rpm/__db* /tmp/ $ rpm --rebuilddb $ yum clean all Go on install the software or update it. The Above commands are safe,usually doesnt damage anyhting :)

Hazelcast as Windows Service Using Procrun

Hazelcast as Windows Service Check this Github Repo For code https://github.com/aravindrajasekharan/HazelCast-WindowsService.git Hazelcast can follow 2 main deployment typology however if you are following a Server - Client Architecture  and you want to start a server on a windows node, follow the below steps. Am using Apache Procrun to expose the Hazelcast as a windows Service https://commons.apache.org/proper/commons-daemon/procrun.html Follow the link to understand more on the same,It is very easy to setup however documentation is little tedious to get a grasp. PROS ---- Will create a windows service (kind of obvious :) ). CONS ------- Another Jar to maintain along with the Hazelcast. Since we have a dependency in our self executable jar project, on Hazelcast version upgrade means upgrading the jar as well. (Ideally,it will work even without upgrading assuming the Core Hazelcast API is going to remain the same with the future releases). Will look for s...

Cleaning Maven Projects after Import IntelliJ

Run the Maven with below command and it will rerun the dependency analysis. This is effective mainly in case where there are multiple child projects under a single parent maven project. mvn - U idea : idea Another Good thing is to enable Facet if you are using it like Spring and then enable the Spring Configurations.