Interprocess Communication Status

I recently was dealing with a perl process that creates shared memory for interprocess communication.  Starting the script it failed but had created the shared memory.

To view the shared memory:

 ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 3047426    username    600        256        0

------ Semaphore Arrays --------
key        semid      owner      perms      nsems

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages

To delete it, use the ipcrm command to remove the shared memory with the shared memory id.

ipcrm -m 3047426

Now the shared memory is gone, YEAH!

ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

------ Semaphore Arrays --------
key        semid      owner      perms      nsems

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages

Channel bonding interfaces RHEL5

Instructions taken from here: http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-networkscripts-interfaces.html

Here’s another good reference: http://www.cyberciti.biz/tips/linux-bond-or-team-multiple-network-interfaces-nic-into-single-interface.html

Create /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.25.0
NETMASK=255.255.255.0
IPADDR=192.168.25.20
IPV6INIT=no
IPV6_AUTOCONF=no
USERCTL=no

Edit /etc/sysconfig/network-scripts/ifcfg-eth1

# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth1
HWADDR=3C:4A:92:E4:48:A6
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
IPV6INIT=no
IPV6_AUTOCONF=no
ONBOOT=yes
USERCTL=no
HOTPLUG=no

Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth0
HWADDR=3C:4A:92:E4:48:A4
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
IPV6INIT=no
IPV6_AUTOCONF=no
ONBOOT=yes
USERCTL=no

Add to /etc/modprobe.conf

alias bond0 bonding
options bond0 mode=balance-alb miimon=100

Install bonding module: modprobe bonding mode=balance-alb miimon=100

Restart networking: service network restart

View the status of bond0: cat /proc/net/bonding/bond0

Ethernet Channel Bonding Driver: v3.4.0-1 (October 7, 2008)

Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 3c:4a:92:e4:48:a4

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 3c:4a:92:e4:48:a6

Cisco VPN client Windows 7

I recently ran into an issue with the install of Cisco VPN client hanging. So I needed to uninstall it but it wasn’t showing up in Program Files.

I had to use http://support.microsoft.com/kb/290301 to kill the install process.

Removed C:\Program Files(x86)\Cisco VPN …

Removed C:\Program Files\Common Files\Deterministic Networks

Rebooted

Installed latest DNE drivers:

ftp://files.citrix.com/dneupdate64.msi for 64-bit
(If on an internal Citrix network, please use ftp://ftpsupport.citrix.com/dneupdate64.msi )

Reboot

Finally was able to install the Cisco VPN client 64-bit successfully!