Category Archives: Servers

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”.

GeoIP : Update the country database

There is the procedure to update the free MaxMind GeoIP database : Go to temp directory and get the latest data : cd /tmp wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz Unpack the data file : gzip -d GeoIP.dat.gz Move the data to the appropriate directory : mv -f GeoIP.dat /usr/share/GeoIP/GeoIP.dat

Ezmlm : Bulk e-mail address import to mailing list

To import an e-mail address list to Ezmlm/Qmail mailing list, use a plain text file filled line by line with correctly formatted address and do the following to import: ezmlm-sub /home/vpopmail/domains/domain.tld/mailing-list < address-list.txt Note that the import will stop as soon as a blank line or syntax error will be shown on the list.