Mohan Cheema's Online Diary

Site Just to Keep Track of My Day to Day Work.

October 6, 2010
by Mohan Cheema
0 comments

Apache connections dropped by Haproxy

Many times on RHEL, haproxy is not reliable it gives an errors while connecting to apache backend, at that time it logs the following errors into /var/log/messages

kernel: ip_conntrack: table full, dropping packet

this is related to ip_conntrack kernel module.

If found this error message into /var/log/messages need to apply following steps

September 27, 2010
by Mohan Cheema
0 comments

Stuxnet worm hits Iran Nuclear Plant

Stuxnet worm has hit Iran nuclear plant weeks before the facility is to go online. Stuxnet worm is the first program designed to cause serious damage in the physical world. Over the past year, the worm has hit an unknown number of power plants, pipelines and factories. Since Iran has been the target for most of such infections, the virus is thought to have connected to western governments’ top secret sabotage campaign against Tehran’s nuclear program cites SiliconIndia.

September 8, 2010
by Mohan Cheema
1 Comment

Running Tomcat as Service

In previous post we have setup Tomcat to run its multiple instances now we want that tomcat should start automatically on server reboots. This can be achieved by adding tomcat service script.

Introduction

This document will teach us how to setup Tomcat to run as a service (startup when booted) on Linux.

September 1, 2010
by Mohan Cheema
0 comments

How to get MySQL table Column Names without MetaData

Often we need to list just the column name of the table without displaying the metadata. However, Until before MySQL 5.0 there was no way to get just the column names for any given table. Since MySQL 5.0 new table has been added information_schema. INFORMATION_SCHEMA provides access to database metadata.