Category Archives: Servers

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 »

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 »

Apache : Unable to configure RSA server private key

Apache startup failed – look at /var/log/httpd/ssl_error_log and show the following error : Unable to configure RSA server private key SSL Library Error: x509 certificate routines:X509_check_private_key:key values mismatch The private key and the certificate do not match. You can compare the certificate and the key with the following commands : View the certificate modulus using… Read More »

IIS7 : How to Backup configuration

Since Internet Information Server 7, there is no longer a GUI option to achieve this task.  To do so, you need to manually proceed with the command line interface. Open a terminal (Run, cmd) ; cd %windir%\system32\inetsrv appcmd add backup <backupname>

Qmail : Reset the admin-toaster password

To reset the htaccess password for the /admin-toaster control panel, use the following command line to update the password : htpasswd -b /usr/share/toaster/include/admin.htpasswd admin admin *This will update the password for the access file “admin.htpasswd”, the user “admin” with password “admin”.