Office : Application crash randomly

With Word or Excel 2010, you may experience a crash at the application launch, or new document opening. If you have a look at Event Viewer (eventvwr.msc), you can see this error under Application : Faulting application name: WINWORD.EXE, version: 14.0.5123.5000, time stamp: 0x4c646b40 Faulting module name: btmoffice.dll, version: 1.0.0.45, time stamp: 0x4d0155a1 Exception code:… Read More »

Category: PC

Qmail : How to change the default submission SMTP port

By default, the submission port is TCP-587. To change to another value, edit the following file : /var/qmail/supervise/submission/run And simply change the port number just before the last line : /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c “$MAXSMTPD” \ -u “$QMAILDUID” -g “$NOFILESGID” 0 587 \ $SMTPD $VCHKPW /bin/true 2>&1 Of course, you… Read More »

Windows : Adding a permanent static route

Follow these steps to add a permanent static route to Windows. 1. Open the command prompt (must be done as administrator). 2. Enter the following command and replace with your network information : route -p add <NETWORK_IP> mask <NETMASK> <GATEWAY_IP> Let’s explain in details with the following IP information… assume we want to add a… Read More »

Bind : unexpected RCODE (REFUSED) resolving

Query refused shown on system log. unexpected RCODE (REFUSED) resolving ‘vhost.domain.tld/A/IN’: xxx.xxx.xxx.xxx#53 This indicate that one of your forwarders deny to resolve the query. You should remove/comment it.

Bind : the working directory is not writable

Directory permission problem shown in system log when starting named. named[xxxx]: the working directory is not writable Owner as well as group should be “named” and both have “read-write-execute” (775) mode. sudo chmod g+w named

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 »