July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Apache failed to start with the “No space left on device” error.

Apache failed to start with the “No space left on device” error. Error:- [error] (28)No space left on device: Cannot create SSLMutex Configuration Failed

These errors means that there is no available IPC (inter-process communication) resources in the system, such as semaphores or shared memory segments. You need to check IPC resources which are used […]

Avoid hackers hacking linux

Avoid hackers hacking linux

Apply Latest OS Patches

All Linux servers running Red Hat are patched at least twice a year.

Configure SSH (server) Settings: Protocol 2 # Default LogLevel INFO # Default PermitRootLogin no HostbasedAuthentication no # Default IgnoreRhosts yes # Default AllowTcpForwarding no PermitTunnel no # Default Banner /etc/issue

Description:

The settings are […]

Enabling GZIP compression : Jboss

Enabling GZIP compression for your web application is a good way to accelerate your web site. This can reduce the size of data being transferred and, consequently, speed your application.

Enabling compression on the web server will make data be transferred in compressed form. The browser will decompress the data on the fly, making the […]

kills all pids matching the search word

kills all pids matching the search word

ps -ef | awk ‘/apache/ && !/awk/ {print $2}’ | xargs -r kill -9

Zombie Process

Zombies don’t just appear in scary movies anymore, sometimes they also appear on your Linux systems; but don’t fret they are mostly harmless.

What is a Zombie Process?

Before we get started I wanted to first cover what exactly a Zombie process is.

Linux and Unix both have the ability for a process to create […]

Dealing with a large active log

Dealing with a large active log

When the log size gets to say 1GB we want to back it up in another directory and empty the current log file.

Therefore basically we are doing:

cp SystemOut.log <some dir with large space> cat /dev/null > SystemOut.log

 

 

Configure software raid Windows Server 2008

Configure software raid Windows Server 2008

RAID (Redundant Array of Independent Disks) is technology which enables making redundant logical disks using arrays of physical disks. Making such logical disk unit enables redundancy and better performance of disk storage. There are a few types of RAID is sense of way redundancy is achieved and technology used.

[…]

Operating systems and network tuning

Operating systems and network tuning

Network tuning can reduce Transmission Control Protocol (TCP) stack delay by changing connection settings and can improve throughput by changing TCP buffers.

Operating systems

A Windows system needs the least tuning while a Solaris system needs the most tuning. The following information pertains to each system specified, and might improve […]

qmail installation Centos 5.5

mkdir /root/qmail cd /root/qmail wget http://www.qmail.org/netqmail-1.06.tar.gz wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz –> inetd/xinetd substitute manages various daemon that qmail shipped with. wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz –> Provide some services such as management as well as logging though 2 interfaces service scan and supervise (svscan/supervise).

tar -xvzf netqmail-1.06.tar.gz tar -xvzf ucspi-tcp-0.88.tar.gz mkdir /package mv daemontools-0.76.tar.gz /package mkdir /var/qmail cd /root/qmail/netqmail-1.06 cp […]

Network Attacks

Network Attacks

Your networks and data are vulnerable to any of the following types of attacks if you do not have a security plan in place.

Eavesdropping In general, the majority of network communications occur in an unsecured or “cleartext” format, which allows an attacker who has gained access to data paths in your […]