Author Archives: Kaven Gagnon


About Kaven Gagnon

System Engineer / Network Administrator

VMware : Unable to deploy OVF template, Next button greyed out

I was a bit stunned when I attempt to deploy the vSphere Replication Appliance on a new v6.7 cluster.

The Next button on the very first page where you select the template files just never turned blue (it always stayed grey) after selecting the files, just like if I did not selected all the files or the template is incompatible or corrupted.

No matter what I tried, it just stayed that way – trying to import the same template in a v6.5 cluster worked like a charm.

It turned out to be a bug on the initial v6.7.0.12000 release. After upgrading the vCenter appliance to, the problem was resolved.

Windows : How to retrieve Fiber Channel interface WWNs

Here is a simple PowerShell command that will output the FC host adapter interface WWNs.

If your interface have two ports, both will be output in order.

This command have been successfully tested with QLogic adapters on Windows 2012 and 2016.

Linux : How to show domain TTL with DIG

Here is some useful commands to display a domain Time To Live (TTL) using the DIG command (which is usually included within “bind-utils” package).

To display the full information :

To display the short, default answer :

NOTE : Replace “domain.tld” by the domain you want to query.

Windows : Change DNS update frequency in Active Directory

If you are not satisfied with the refresh rate of DNS within your active directory environment, there is a way of forcing it by increasing or decreasing the default setting in the registry.

First of all, there is a command to find out your curent settings :

It should output something similar to :

It you want to change this to a different value, simply open the registry editor (regedit.exe) and browse to the following :

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ DNS \ Parameters

Change the value of “dspollinginterval” as you see fit (the value should be in seconds).

JunOS : Upgrade bank is empty or corrupted for FPC 0, please do standard upgrade sequence

Experiencing the following alarm event log on your Juniper EX switch?

Alarm time Class Description
2016-01-20 07:12:04 UTC Major Upgrade bank is empty or corrupted for FPC 0, please do standard upgrade sequence

This is likely because your switch was running an inferior JunOS version than 10.4r3 and it was upgraded to a greater version, which require the new jLoader.

(This is actually documented by Juniper on the technical support note referenced as TSB15524)

IMPORTANT : I would suggest looking at your running software version to ensure this is your case, I never tried running an inferior JunOS version than the one intended to be supported by this newer jLoader – I would expect your switch to fail at boot!)

To upgrade jLoader, follow the following steps :

1. Download jLoader 12.1r3 from Juniper (make sure you select the right one for your platform, failing to do so will brick your switch!) As example, here is the link for either EX3200 or EX4200

2. Upload/download the package to a temporary location on the switch filesystem (such as /var/tmp) or load it on a MSDOSfs formatted USB memory (and connect on the switch).

3. Upgrade jLoader (example) :

4. Reboot the switch upon successful output :

Your switch should now boot on the new jLoader.

Windows : How To get the members of a group in Active Directory using PowerShell

Here is some useful commands to list the members of a group in Active Directory using PowerShell.

Get members of a group :

Get members of a group, recursively (to list all members of sub-groups members of that group) :

NOTE : Replace “Group Name” (keeping the double quotes) with the desired Group Name in your AD.

Linux : Finding your public IP from the command line

You are probably used to all these “get my IP” or “find my IP” kind of site, which show your external / Internet IP on a Web page.

However you might be facing some challenge if you are on a CLI only kind of machine. Fortunately there is a few ways to find your public IP from the console, here are two easy ones :

1. Use cURL toward our simple IP page :

2. Use the “DIG” DNS utility if it is present on your system, by querying OpenDNS servers :

NOTE : DIG is usually a part of “dns-utils” package on modern Linux systems.

Linux : R1Soft The following signatures couldn’t be verified because the public key is not available

Getting this error from the R1Soft repo lately trying to run a “apt-get update” on Debian Linux?

Ign stable Release
W: GPG error: stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 39A4965166BD1D82

Simply do the following to import the new key and get rid of this error :

Windows : File Explorer don’t refresh

I had this strange issue on Windows 8/10 where changes such as file/folder renaming or deletion not appearing after a modification. A manual “Refresh” from the contextual menu (right click + Refresh) was required to show the last modification.

It seem that some Windows core components were corrupted and needed to be repaired/restored.

First of all, I would suggest to look at the Event Viewer (under Control Panel > Administrative Tools) to see if any disk or NTFS related errors show up. If you have a unhealthy disk about to die, cloning the disk and replacing would be the first step to do prior doing the procedure.

To resolve this matter, open the Command Prompt with elevated privileges and do the following, one after the other upon completion of each commands :

Reboot your computer once completed, this should have resolved the issue.


Windows : Error 404 File or directory not found with IIS but file exist

Encountering an error 404 file or directory not found with IIS but the file actually exist?

This is because IIS won’t serve unknown MIME type/file extension, when encountered, it return that the file does not exist even though it is actually present on the Web server’s file system.

To resolve this matter, do the following procedure :

1. Open the IIS management console

2. Click on the server name on the left pane tree

3. Double click on the right pane, under IIS the “MIME Types” icon

4. On the right “Actions” pane, click on Add…

5. Enter the “File name extension” and also the “MIME Type” (it could potentially be “application/octet-stream”)