Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

Linux : Bind loading master file domain.tld.hosts: ran out of space

Bind (named) DNS server is failing to reload or restart after modifying a domain TXT record? Have a look at your Bind log files (commonly written to /var/log/messages) and you may find the following entries : named: dns_rdata_fromtext: domain.tld.hosts:0: ran out of space named: zone domain.tld/IN: loading master file domain.tld.hosts: ran out of space named:… Read More »

Linux : How to enable php-imagick module support on CentOS/RHEL 6

PHP imagick module is not a part of the default installation yet. Here is some easy steps to enable php-imagick module on your system. 1. First install the required development and dependency packages : yum install make gcc php-devel php-pear ImageMagick ImageMagick-devel 2. Compile php-imagick module : pecl install imagick 3. Add the extension to php.d as followed… Read More »

Linux : OpenVPN client connection timeout after 24 hours

You probably experienced VPN session disconnection exactly 24 hours after you established the connection. Well, this is an expected behaviour since the OpenVPN Access Server implement a default 24 hours session timeout for user-locked and server-locked profiles. To workaround this limitation, you may set the timeout to a higher value using the following command : /usr/local/openvpn_as/scripts/sacli… Read More »

Linux : Centrify adclient ERROR base.adagent Can’t use default machine password. Please reset computer account in Active Directory.

Whatever you’ve been using Centrify for a month or years on a Linux machine joined to an Active Directory Domain Controller, login using an AD user might suddenly stop work and display the following error message in the system logs (/var/log/message) : adclient[4933]: INFO <bg:ageBindings> base.bind.healing Lost connection to pdc.ad-forest.domain.tld. Running in disconnected mode: KDC refused… Read More »

Windows : Computer cannot be managed

Starting with Windows Server 2008 R2/2012, the fancy remote management feature may return the following error when adding to your centralized Server Manager console : Computer <NAME> cannot be managed. Verify that the network path is correct, the computer is available on the network and that the appropriate Windows Firewall rules are enabled on the… Read More »

Cisco : Reset ASA OS to factory default

Here is a quick how to reset Cisco ASA (Adaptative Security Appliance) to factory default. You will need a serial console access to achieve this task. 1. At early boot process, just hit escape [esc] key when suggested as followed : Cisco Systems ROMMON Version (1.0(12)13) #0: Thu Aug 28 15:55:27 PDT 2008 Platform ASA5505… Read More »

Linux : High speed Rsync file transfer

If you have a large amount of data to transfer over the network to another server, Rsync is definately a good way to go. However, since Rsync is using SSH, data encryption can add an extra bottle neck to your speed transfer. You may want to disable encryption if you are transfering locally or if… Read More »