Java keytool command references

Here are some commands I just found lying around that I once used when working with SSL enablement for a product. I think they should be useful examples for some one wanting to work with the keytool. So decided to just put these out there simply.

First a quick quotation from Oracle Java what the keyool is and does from their doc page here. ( I have linked to java se 6 docu as I believe that is what I actually used for the example commands ) :

Standalone Weblogic Server failing to start on Linux - cannot open file errors

Sometimes when doing remote debugging using a standalone Weblogic Server domain on linux, you need to shutdow the server and it doesn't shutdown cleanly. Or you might need to kill the server. After this when you restart the server you get into the situation that you see the follwoing type of errors and server does not come up:

Ban if you haven't already with Fail2Ban

If your server is public facing, than its going to be attacked in every possible way. Doing something on my server, I noticed I have rotated "auth.log" files over 33MB large unzipped. Ok thats a little too much. I tailed the current file and what do I see :

Introducing Apache Flume

So if you have been following my Big Data series till now, in my first article I introduced to a ready made VM image courtesy of Oracle that frees you up from the head-aches of setting things up and concentrate your time on real learning. Next article I took you on a ride with Hadoop and the primary learning point of the article HDFS (the Hadoop File system). Now we will talk about a next often used component of Big Data, Apache Flume.

Post Shell Shock - Tightening up Apache Security with mod_security and mod_evasive

Without a shadow of a doubt the Shockwell vulnerablity compromised my system. The say correctly, security should never be an after thought, although in my case, I had put it off for a bit. Maybe a correctly secured Apache configuration might have saved me, but not so sure about that anyways. Anyways the below count of strange user agents appeared in my log for the month of October. I surrounded the dots with square brackets to avoid any of you accidently clicking the below link. Out of curiosity, even I tried a wget on the url but go nothing.

Introducing Apache Hadoop

How to get started with Oracle Big Data

Big Data

Well not everyone can afford one of Oracle's Big Data Machines, but what to do if you want to get on the Big Data band-wagon. Well for educational purposes Oracle releases a Virtual Machine image called Oracle Big Data Lite.

Stress Testing Results - Round 1

So I already published a stress test plan here and how to monitor your server here. Its now time to put to put these 2 together.

My Drupal Blog Web Server Optimization - Part 2

The change that I will describe here was a direct consequence of load testing. I first stress tested the server with 5 users and than with 10 users. Till 10 users the server was just eating up the load. However with 25 users for about an hour and half it looked like a different story. You can have a look at the results yourself in this article here and the analysis. The 3rd test was done after the changes described below and it looked pretty upbeat for the 25 users for almost a couple of hours of stress testing.

Enabling Apache Status module along side Drupal CMS

So previously we talked about monitorix and how we could use it to monitor our server. The Apache graph monitor for me was completely empty. Initially it didn't bother me when I began load testing my site. But when I fine tuned my server it became a imperative to have some insight there as well. 

So its time to fix that in this article.

To monitor your apache server you need to first enable the module "mod_status". For me on my Debian system, seems this was already enabled by default. And if your also on Debian youll find the handler for it like below in the location "/etc/apache2/mods-available/status.conf". If it is also enabled for you, you'll find a symbolic link to the same under "/etc/apache2/mods-enabled/status.conf". The contents of it look like below.

Pages

Subscribe to Ahsan's Corner RSS