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  

Open Files – Linux

Open Files – Linux

 

ope it will be useful to you as well.. You might have this scenario; Logfiles deleted while the process is still running. That’s annoying: On your Linux-Server the /var filesystem is nearly full. You remove a very large logfile that you don’t need with the rm command: myserver1# df -Ph […]

Configuring TCP Wrappers for Linux Security

Configuring TCP Wrappers

 

The TCP Wrappers package is installed by default on Fedora Linux and provides host-based security separate from that provided by a firewall running on the server itself or elsewhere. The application relies on two main files:

/etc/hosts.allow: Defines the hosts and networks allowed to connect to the server. The TCP Wrappers […]

AIX Boot Process

AIX Boot Process

 

AIX Booting Process explained below.

Phases of the Boot Process:

1. Read Only Storage Kernel Init Phase

1. Motherboard is Checked 2. Bootlist is found 3. Boot image is read into memory 4. Initialization starts

2. Base Device Configuration Phase 1. All devices are configured with cfgmgr command

3. System […]

changing boot order in AIX

Changing boot order in AIX

What does the boot logical volume(blv) contains?

Contents of Boot Logical Volume in AIX Kernal – Copy of /unix LVM Commands ODM Predefined Structure ODM Customized Structure rc.boot shell script How to Listing and changing the current boot order in AIX

bootlist -m normal -o – Lists the current bootlist […]

Recreate BOOT LOGICAL VOLUME (BLV) in AIX

Recreate BOOT LOGICAL VOLUME (BLV) in AIX

(Eg:bad block in a disk might cause a corrupted BLV)

To fix this situation, You must boot your machine in maintenancemode, from a CD or Tape. If a NIM has been setup for a machine, you can also boot the machine from a NIM master in maintenance mode.

[…]

Configuring Link Aggregation ( Network Bonding ) in AIX

Configuring Link Aggregation ( Network Bonding ) in AIX

 

Link aggregation means you can give one IP address to two network cards and connect to two different switches for redundancy purpose. In this only one network card will be activein one time, and when it got failed the other network card goes active and […]

Disable Ping on Linux Server

Disable Ping on Linux Server

How do you disable ping to Linux server? Here is the quick steps:

To disable ping:

echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

To enable ping:

echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

That’s all..!

Clean reboot of hung Linux server

Clean reboot of hung Linux server

 

In day to day system administration job, you may come across the situation that your Linux server is hung or freeze and your system is not responding even for Ctrl+Alt+Del in console itself and you must need to do a hard reboot by pressing reset button. As everyone […]

How To do “Man in Middle” Attack using Ettercap

How To do “Man in Middle” Attack using Ettercap

 

“Man in Middle” Attack is a form of active eavesdropping in which the attacker makes independent connections with the victims and relays messages between them, making them believe that they are talking directly to each other over a private connection when in fact the entire […]

Improving filesystem read performance using “noatime”

Improving filesystem read performance using “noatime”

 

Linux records information about when files was last accessed. There is a cost associated with recording the last access time. The ext3 file system of Linux has an attribute that allows the super-user to mark individual filesystem to ignore recording of last access time. This may lead to […]