Keep the spamassassin filter rules up to date in ISPConfig 3

To update the spamassassin rules regularily on your ISPConfig 3 server, add the following line to the root crontab by running: crontab -e then insert the following line: 23 4 */2 * * /usr/bin/sa-update --no-gpg &> /dev/null and save the file. The path to the sa-update script is /usr/bin/sa-update on Ubuntu and Debian Linux, if ... Read more

Find the .deb package that contains a specific file on Ubuntu or Debian Linux

Sometimes you need to know to which debian or ubuntu package a specific file belongs, e.g. because you deleted a system file and want to reinstall it. There is a handy utility called apt-file which searches for a filename in all debian packages. Installation apt-get install apt-file Usage example search for the file /etc/sysctl.conf apt-file ... Read more

How to get a list of all open ports on Windows 7, Vista and XP?

There is a small freeware Utility called CurrPorts from Nirsoft that displays all open ports on windows. Download CurrPorts to your computer: 32Bit version: http://www.nirsoft.net/utils/cports.zip 64Bit version: http://www.nirsoft.net/utils/cports-x64.zip Unpack the .zip file and double click on the file cports.exe to start CurrPorts. The application will show you a list of all open ports and offers ... Read more

Solve error message: PHP Startup: Unable to load dynamic library htscanner.so

If you get the following error message in Ubuntu when you use PHP based shell scripts: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/htscanner.so' - /usr/lib/php5/20060613+lfs/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0 Then edit the file /etc/php5/cli/php.ini: vi /etc/php5/cli/php.ini and remove the lines: [htscanner] ... Read more

Webalizer stats only showing 1 or 2 days?

If webalizer statistics of your website are only showing the last 1 or two days instead of all days since the website has been created, you have to activate incremental processing in the webalizer configuration file (/etc/webalizer.conf or /etc/webalizer/webalizer.conf depending on the Linux distribution). vi /etc/webalizer/webalizer.conf Change the line: # Incremental     yes to: Incremental     yes