Archive for the ‘Linux’ Category

NFSD panics on RHEL 5.8

If you as unlucky as I am and your RHEL 5.8 server has just spat the same call trace as you see on the picture I attached, then I’m here to make your problem less painful. If you have RHN account you could find a thorough explanation and the root case here and here If […]

Posted on June 21, 2012 at 9:22 pm by sergeyt · Permalink · Leave a comment
In: Linux

How to remove the last dead path in ESX

Feb 9 10:56:27 esx vmkernel: 47:18:55:03.308 cpu8:4225)WARNING: NMP: nmp_DeviceRetryCommand: Device “naa.60060e80056e030000006e030000004b”: awaiting fast path state update for failover with I/O blocked. No prior reservation exists on the device. Feb 9 10:56:27 esx vmkernel: 47:18:55:03.308 cpu8:4225)WARNING: NMP: nmp_DeviceStartLoop: NMP Device “naa.60060e80056e030000006e030000004b” is blocked. Not starting I/O from device. Feb 9 10:56:28 esx vmkernel: 47:18:55:04.323 cpu8:4264)WARNING: NMP: […]

Posted on April 12, 2012 at 11:59 pm by sergeyt · Permalink · Leave a comment
In: Linux, SAN

Linux solution for ARP flux

If for some reason you have to configure multiple network interfaces in the same subnet, e.g. eth0 – 192.168.1.1/24, eth1 – 192.168.1.2/24, eth2 – 192.168.1.3/24, etc., on Linux box you’d certainly face a so called ARP flux issue. To fix it (I assume you have kernel > 2.6.2) just set the following sysctl options as […]

Posted on April 12, 2012 at 11:49 pm by sergeyt · Permalink · Leave a comment
In: Linux

Enable CIM server on MDS Cisco switch

Want to add your shiny MDS Cisco switch into HTnM (Hitachi Tuning Manager) – that’s very easy. All you have to do is to enable cim, preferably secure cim server, and configure agtw (SAN agent) using HTnM cli. How I did it… ssh into a switch to configure CIM server. First I copied SSL certificate […]

Posted on February 7, 2012 at 11:21 pm by sergeyt · Permalink · Leave a comment
In: Linux, SAN

RSA AM doesn’t start after kernel upgrade?

If you’ve just upgraded the kernel and your RSA AM server doesn’t start anymore and you see the following error: com.rsa.ims.security.keymanager.sys.SystemModificationThresholdException: System was modified beyond the allowed threshold, cannot decrypt. don’t lose consciousness since there is a simple remedy for that # su – rsa $ cd /opt/RSAAuthenticationManager/utils/ $ ./rsautil manage-secrets -a recover $ Just […]

Posted on February 3, 2012 at 11:15 am by sergeyt · Permalink · 6 Comments
In: Linux

SystemTap

Guys, that’s not funny ay all. To tell the truth, I’ve never used SystemTap myself but always treated it as a valid option when your on Linux as there is no dtrace. But hey, read another outstanding review from Brendan Gregg and decide yourself if you could trust it. Just a short excerpt: To write […]

Posted on October 16, 2011 at 12:12 pm by sergeyt · Permalink · Leave a comment
In: Linux

Hylafax game

Bellow is my short summary of how I was configuring a Hyalafax server on Ubuntu 10.04. The end result which I was striving to achieve was a fax server that could act both as a fax2email and an email2fax gateway. Installing and configuring Hylafax server with a proven hardware is easy and surely not a […]

Posted on March 17, 2011 at 10:54 pm by sergeyt · Permalink · Leave a comment
In: Linux

Migrating SVN repository to another server

Actually it’s a trivial task that has been already discussed and described in all glory details. Anyway, just for a record, I’ll duplicate that information here. Dump the content of your current SVN repository. svnadmin dump /var/svn > /tmp/svn_repository.dump Transfer it to a new server. Create a new repository and load the dump into. svnadmin […]

Posted on February 17, 2011 at 1:15 pm by sergeyt · Permalink · Leave a comment
In: Linux

Upgrading Redmine on Ubuntu 10.04

In this post I’d like to describe the process of upgrading Redmine from 0.8 release to a new stable version (1.1) acompanied by a migration to a new host. Before we begin please visit the official upgrade guide since it lists all the details that would suffice most of the users. Save the content of […]

Posted on February 15, 2011 at 1:25 pm by sergeyt · Permalink · Leave a comment
In: Linux

Nginx is a memory savior.

As soon as I switched to Nginx yesterday the positive outcome wasn’t long in coming. As you could see I was able to save 200MB of precious RAM just swapping from Apache and mod_fcgid to Nginx and php-fpm. Do happy savings ;-)

Posted on February 13, 2011 at 3:53 pm by sergeyt · Permalink · Leave a comment
In: Linux