Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

Linux : Install file_cache_module.so on CentOS/RHEL6

Since CentOS/RedHat Enterprise Linux 6, “mod_file_cache”, commonly referred as “MMapFile” too is no longer provided with Apache binary. File Cache module statically map file pages into memory. This module is still experimental according to Apache documentation, which may explain why it’s not included, even though it was included in CentOS/RHEL5. You may get the following… Read More »

FabricOS : Reset to factory default and setup basic config on Brocade Fiber Channel switch fabric

This tutorial is about resetting your Brocade Fiber Chanel Fabric (FabricOS) to factory defaut. To perform these commands you’ll need elevated “root” or “admin” users privileges. 1. Reset config to factory default : configdefault -all 2. Set usernames and passwords to factory default : passwddefault 3. Set ethernet (management interface) IP addresses : ipaddrset 4. Set logical switch config… Read More »

Linux : PHP Warning: Unable to allocate memory for pool

Found this error in your Web site Apache error logs? PHP Warning:  require_once(): Unable to allocate memory for pool. This is actually caused by APC (Alternative PHP Cache). The allocated memory limit for APC has been reached and no additional PHP script can be cached anymore. The symptoms on your Web site for such error… Read More »

JunOS : Interface ge-0/0/0.0 not enabled for switching

You may end up with the following error trying to create a LACP (802.3ad) bonded interface on your Juniper device : Error(s): ‘interface ge-0/0/0.0’ 1) Interface ge-0/0/41.0 not enabled for switching 2) configuration check-out failed This is probably due because you have a VLan interface set for these physical interfaces in your configuration such as… Read More »

HP : Configuring MSA P2000 G3 SAN through CLI

HP MSA P2000 G3 SANs provide two ways of startup configuration. The first approach is using the MSA Auto Discovery Tool and the second is using the USB Serial CLI port. This tutorial will cover the CLI method. 1. Connect using a mini USB your computer to the CLI port on controller A. Use any… Read More »

JunOS : Can’t have mastership priority configuration with preprovisioned set

Getting this error committing the changes on a pre-provisioned EX switches virtual chassis? root@EX4200# commit synchronize [edit protocols] ‘bgp’ [edit virtual-chassis] ‘member 0’ Can’t have mastership priority configuration with preprovisioned set error: configuration check-out failed {master:0}[edit] root@EX4200# This mean you tried to set a mastership priority on a pre-provisioned configuration and this is not allowed.… Read More »

JunOS : How to upgrade from USB stick

There are several ways to update your JunOS software but one of the common and safe method is doing through the CLI and a USB memory stick. First, get your software from Juniper.net first and save it to a MSDOS formatted USB stick. Then, follow those steps (as root, through serial console is highly recommended)… Read More »

Linux : Clocksource tsc unstable

Getting this output on your RHEL/CentOS virtual machine? Clocksource tsc unstable (delta = 000000000 ns). Enable clocksource failover by adding clocksource_failover kernel parameter. First find out the available clock sources : cat /sys/devices/system/clocksource/clocksource0/available_clocksource You will likely get the following results : kvm-clock tsc acpi_pm You are currently using “tsc” as per the initial output error, try… Read More »