Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

Bind : max open files (1024) is smaller than max sockets (4096)

You may see the following notice in the system log. You need to raise the max open file in both system limit file and named configuration. Edit /etc/security/limits.conf and add : named soft nofile 4096 Inside the /var/named/chroot/etc/named.conf, add in the option section : files 4096;

Bind : system log full of network unreachable resolving messages

On RHEL Linux v5, you may expect the following message in your system log : named[xxxxx]: network unreachable resolving ‘vhost.domain.tld/A/IN’: xxxx:xxx:xx::xxx#53 This is because by default, named try to listen IPv6 even if there is no IPv6 configured on the host. So you need to modify /etc/sysconfig/named and add the following parameter to tell bind… Read More »

WordPress : Automatic update failed, stuck in maintenance mode

In some rare occasion, automatic upgrade of WordPress core may fail. I’ve seen this case on low remaining Web server memory and apache reload during updating process. When updating, WordPress create a file on the web root folder to temporary put the site unavailable during the update process. You need to delete the file “.maintenance”… Read More »

Category: Web

Mac : Make ISO image from command line

This procedure is about creating a ISO image file from CD/DVD using the command line on a Mac OS X. First, you can retrieve information about the media with the following command : drutil status Then, the disk must me unmounted to proceed : diskutil unmountDisk disk1   Ok, let’s make the ISO file now :… Read More »

Samba : Unable to connect to CUPS server, connection refused

You may notify in /var/log/messages the following error about smbd daemon regarding the cupsd printing service : smbd[5955]: [2011/05/13 15:03:59, 0] printing/print_cups.c:cups_connect(69) May 13 15:03:59 neptune smbd[5955]:   Unable to connect to CUPS server localhost:631 – Connection refused This occur when the service is disabled.  If you do not have a printer and do not want… Read More »

Exchange 2007 : Change the SMTP banner

By default, Exchange use the local name for the ReceiveConnecter, which could be problematic with anti-spam measures on most MTA on the Internet.  This is recommended to use your reverse dns name (FQDN), which in most case, should or must be the MX record. To do so, open the Exchange Management Shell and use the… Read More »