Author Archives: Kaven Gagnon


About Kaven Gagnon

System Engineer / Network Administrator

Windows : Multiple connections to a server or shared resource by the same user, are not allowed

Having this error message when you login your Windows session :

An error occurred while reconnecting X: to
Microsoft Windows Network: Multiple connections to a server
or shared resource by the same user, are not allowed. Disconnect all previous
connections to the server or shared resource and try again.

This connection has not been restored.

If your computer is member of an Active Directory domain, this error may happen if you have a mapped drive that was attempted to be authenticated without success (marked with a red X) with a local account and a Groupe Policy Object (GPO) attempt to map the same resource on your computer.

If such conditions are met, try to manually unmap/disconnect the drive manually, logoff and login your session again.

Linux : Export Roundcube webmail contact from SQL to CSV

Here is a procedure how to export the saved address book contacts from Roundcube webmail directly from the MySQL database to a CSV file (please note that Roundcube natively support exporting contacts from the Webmail itself to CSV – this method is only in case you want to pull out old contacts from a database).

1. Using the shell, access to the Roundcube database with the MySQL client :

2. Issue the select command below with the exact syntax, only modify the section ‘user@domain.tld’ with the actual user email address from where you want to export the contacts from :

Output example :

3. Optional : To view the existing contacts in this user address book, issue the following command :

Output example :

4. Quit the MySQL client :

5. Create the CSV file scheme using the following command :

6. Issue this command to export the contacts to our previously defined CSV file (replace as needed the name of the CSV file output) :

Linux : How to install same package version between old and new RHEL/CentOS system

I recently had to provision a RedHat Enterprise Linux 6 system for a customer that owned a production system that I have provisioned four years ago. The new system requirement was to match the same package version as the old system (that they left un-updated since the deployment – fortunately for them it was an internal system!).

Here is what I did to deliver the system as per the customer’s request.

1. Install the OS using the same major and minor version as the source system (ex: v6.4). You can easily find out on the source system using the following command :

2. On the source system, issue the following command as root :

3. Copy that file list (pkg.txt) on the new system – example :

4. On the new system, execute the following command (this example assume that the “pkg.txt” file has been placed under “/root” home folder :

This will take a while to process. Using this method, I have seen sometime that some dependencies failed because specific packages versions were no longer available in the repo. In that case you will have to manually play with exclusion to make it work.


Web : ownCloud error Memcache \OC\Memcache\APCu not available for local cache

Encountering the following error with ownCloud?

“Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?”

This usually mean that either the Memcache/APC module isn’t installed (or enabled), or a mistake in the ownCloud configuration is present.

1. Make sure the APC package is present on your system (the commands below show how to proceed on a Debian distribution) :

NOTE : If the package is present, go to step 3 as the module is likely not loaded.

2. If the package isn’t present on your system, simply run the following command to install it :

3. Enable the module :

4. Restart Apache :

Windows : magicJack “No Audio Found!” on Windows 10

If you are using the magicJack app on Windows 10, you probably had the following issue after installing the latest Windows Updates :

No Audio Found!

This is caused by a new Windows security feature that deny microphone access by default to any applications.

To resolve this, search with Cortana the following :

Microphone Privacy Settings

Then turn on “Allow Access” and if required, “Allow App” for specific application you may require.

Category: PC

Windows : List logged-in users and kill session using command line

In some circumstances where you cannot use (or open) the task manager panel to see the logged in users on a system and need to terminate a opened session, you might need to know your way around the CLI to achieve this task.

Those simple steps will show you how.

1. Open the Command Prompt or PowerShell console with elevated privileges

2. Enter the following command to list the logged-in users (this command will display users with opened active or disconnected sessions) :

The output will look like this :

3. Then use the “logoff” command with the session ID to terminate the desired user session (example with the output above) :

Now the user should be out of the system, you may use “quser” again to validate.

Linux : How to reset cPanel max defers for a specific account

If one of your hosted user (or account) have accidentally reached the max deferred message that can be sent over an hour (and the issue have been identified and fixed), you can unsuspend the mail delivery by deleting the following file :

For example, if the domain name is ““, the command to execute would be :

NOTE : The max deferred threshold feature is critical to fight against spam and avoid your IP address from being blacklisted. Finding the root cause prior unblocking is very important. It may be caused sometimes by an infected PC sending out emails without the customer awareness or a breach of policy on a specific target SMTP server. Browsing the mail logs and also looking at the mail queue would be useful in your analysis.

JunOS : logger: transfer-file failed to transfer /var/transfer/config/juniper.conf.gz

Having the following log error entry using the archival function to backup your configuration on your Juniper device?

logger: transfer-file failed to transfer /var/transfer/config/re0.HostName_juniper.conf.gz_20181129_034459

I have experienced the following, where no further details provided, under the following conditions :

– The backup server (ftp, sftp) is reachable and working properly
– The credentials to the backup server are working
– The public key is accepted/entered in known_hosts (in case of scp/sftp)
– The archival parameters are set properly
– The local folder /var/transfer/config exist and writeable by root

I have found that the syntax between some JunOS version slightly differ when comes to supply the password.

JunOS 11.4R5.7 and earlier :

JunOS 11.4R6.7 and later :

Windows : Feature update to Windows 10, version 1803 – Error 0x8007007e

I have encountered the following error while attempting to install the latest Windows Updates (on Windows 10).

Feature update to Windows 10, version 1803 – Error 0x8007007e

The update was blocking at “Status: Installing – 49%” and then failing.

It appeared that since this PC have not been updated for a while, the update version 1803 was conflicting with the newer update 1809.

To resolve this issue, simply follow these steps :

1. Download the “Show or hile updates (WUShowHide)” utility from Microsoft (

2. Run “wushowhide.diagcab”, click on “Hide updates” and check everything except the updates that is blocking (in that case Windows 10, version 1803 need to be unhided)

3. Run the disk space cleaner from “This PC” on the C drive and click “Cleanup system files” at the lower left corner (check everything and click OK).

4. Reboot your computer and try running Windows Updates again.

The issue should be resolved at this point. Make sure to run “wushowhide.diagcab” again after to unhide the other updates – then run Windows Updates again to install the remaining ones.