<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>FAQforge</title> <atom:link href="http://www.faqforge.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Thu, 11 Mar 2010 15:26:46 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Get a list of all virtual hosts which are defined in all apache configuration files</title><link>http://www.faqforge.com/linux/controlpanels/get-a-list-of-all-virtual-hosts-which-are-defined-in-all-apache-configuration-files/</link> <comments>http://www.faqforge.com/linux/controlpanels/get-a-list-of-all-virtual-hosts-which-are-defined-in-all-apache-configuration-files/#comments</comments> <pubDate>Thu, 11 Mar 2010 15:26:46 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=421</guid> <description><![CDATA[
Have you ever searched where the virtual host of a website is defined in the apache config files? There is a handy option of the apache2ctl script which might help then. When you run the command:
apache2ctl -S
on the shell, you will get a list of all virtual hosts and default servers incl. the line number [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fget-a-list-of-all-virtual-hosts-which-are-defined-in-all-apache-configuration-files%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fget-a-list-of-all-virtual-hosts-which-are-defined-in-all-apache-configuration-files%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Have you ever searched where the virtual host of a website is defined in the apache config files? There is a handy option of the apache2ctl script which might help then. When you run the command:<br
/><p
class="command">apache2ctl -S</p><br
/> on the shell, you will get a list of all virtual hosts and default servers incl. the line number where it is defined. Example:<br
/><pre><p class="system">~# apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:8080                 is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
port 8080 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
*:8081                 is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-apps.vhost:10)
port 8081 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-apps.vhost:10)
*:80                   is a NameVirtualHost
default server ispconfig.local (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost ispconfig.local (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost example.com (/etc/apache2/sites-enabled/example.com.vhost:7)
Syntax OK</p></pre><br
/> Thanks to <a
href="http://www.planetfox.de/" target="_blank">Planetfox</a> for this tipp.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/get-a-list-of-all-virtual-hosts-which-are-defined-in-all-apache-configuration-files/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to disable Apache mod_security for a website in ISPConfig 3.</title><link>http://www.faqforge.com/linux/how-to-disable-apache-mod_security-for-a-website-in-ispconfig-3/</link> <comments>http://www.faqforge.com/linux/how-to-disable-apache-mod_security-for-a-website-in-ispconfig-3/#comments</comments> <pubDate>Wed, 10 Mar 2010 14:59:06 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=417</guid> <description><![CDATA[
If you use mod_security on your server you might encounter that a website script is not compatible with mod_security. To disable mod_security (v2) for a website, add the following code into the apache directives field:
&#60;IfModule mod_security2.c&#62;
SecRuleEngine Off
&#60;/IfModule&#62;For the older mod_security 1 version, use these configuration directives:
&#60;IfModule mod_security.c&#62;
SecFilterEngine Off
&#60;/IfModule&#62;
Thanks to Planetfox for this tipp.
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-disable-apache-mod_security-for-a-website-in-ispconfig-3%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-disable-apache-mod_security-for-a-website-in-ispconfig-3%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you use mod_security on your server you might encounter that a website script is not compatible with mod_security. To disable mod_security (v2) for a website, add the following code into the apache directives field:<br
/><pre><p class="command">&lt;IfModule mod_security2.c&gt;
SecRuleEngine Off
&lt;/IfModule&gt;</p></pre><br
/> <a
href="http://www.faqforge.com/wp-content/uploads/2010/03/modsec_isp3.jpg"><img
class="aligncenter size-full wp-image-418" title="modsec_isp3" src="http://www.faqforge.com/wp-content/uploads/2010/03/modsec_isp3.jpg" alt="" width="436" height="386" /></a></p><p>For the older mod_security 1 version, use these configuration directives:<br
/><pre><p class="command">&lt;IfModule mod_security.c&gt;
SecFilterEngine Off
&lt;/IfModule&gt;</p></pre><br
/> Thanks to <a
href="http://www.planetfox.de/" target="_blank">Planetfox</a> for this tipp.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-disable-apache-mod_security-for-a-website-in-ispconfig-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to remove old java versions from Windows</title><link>http://www.faqforge.com/windows/how-to-remove-old-java-versions-from-windows/</link> <comments>http://www.faqforge.com/windows/how-to-remove-old-java-versions-from-windows/#comments</comments> <pubDate>Mon, 08 Mar 2010 14:08:25 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Vista]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows 7]]></category> <category><![CDATA[XP]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=412</guid> <description><![CDATA[
When you install the latest java runtime enviroment, it gets installed beside your existing java installation. With every java update, more space is used on the harddisk. To remove old java versions, there is a tool named JavaRa which can be downloaded here:
https://sourceforge.net/projects/javara/files/javara/JavaRa/JavaRa.zip/download
Unpack the JavaRa.zip file and double click on the JavaRa.exe to start JavaRa. [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Fwindows%2Fhow-to-remove-old-java-versions-from-windows%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Fwindows%2Fhow-to-remove-old-java-versions-from-windows%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>When you install the latest java runtime enviroment, it gets installed beside your existing java installation. With every java update, more space is used on the harddisk. To remove old java versions, there is a tool named JavaRa which can be downloaded here:</p><p><a
href="https://sourceforge.net/projects/javara/files/javara/JavaRa/JavaRa.zip/download">https://sourceforge.net/projects/javara/files/javara/JavaRa/JavaRa.zip/download</a></p><p>Unpack the JavaRa.zip file and double click on the JavaRa.exe to start JavaRa. Select the language:</p><p><a
href="http://www.faqforge.com/wp-content/uploads/2010/03/javara1.png"><img
class="size-full wp-image-413 aligncenter" title="javara1" src="http://www.faqforge.com/wp-content/uploads/2010/03/javara1.png" alt="" width="252" height="166" /></a></p><p>and click on &#8220;Remove older versions&#8221;.</p><p><a
href="http://www.faqforge.com/wp-content/uploads/2010/03/javara2.png"><img
class="aligncenter size-full wp-image-414" title="javara2" src="http://www.faqforge.com/wp-content/uploads/2010/03/javara2.png" alt="" width="401" height="161" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/windows/how-to-remove-old-java-versions-from-windows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to convert RPM software packages to Debian (.deb)</title><link>http://www.faqforge.com/linux/how-to-convert-rpm-software-packages-to-debian-deb/</link> <comments>http://www.faqforge.com/linux/how-to-convert-rpm-software-packages-to-debian-deb/#comments</comments> <pubDate>Thu, 04 Mar 2010 16:30:06 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=409</guid> <description><![CDATA[
Maybe you had this problem already: you use Debian or Ubuntu Linux and a software package that you like to install is only available in RPM format. The solution is a handy tool called alien, which converts .rpm files to .deb.&#160;&#160;Installing alien:
apt-get install alien
Converting a rpm package to debian format:
alien --to-deb /tmp/mysoftwarefile.rpm
Conversions from .deb to [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-convert-rpm-software-packages-to-debian-deb%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-convert-rpm-software-packages-to-debian-deb%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p><p>Maybe you had this problem already: you use Debian or Ubuntu Linux and a software package that you like to install is only available in RPM format. The solution is a handy tool called alien, which converts .rpm files to .deb.&nbsp;&nbsp;Installing alien:</p><br
/><p
class="command">apt-get install alien</p><br
/><p>Converting a rpm package to debian format:</p><br
/><p
class="command">alien --to-deb /tmp/mysoftwarefile.rpm</p><br
/><p>Conversions from .deb to rpm are also possible:</p><br
/><p
class="command">alien --to-rpm /tmp/mysoftwarefile.deb</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-convert-rpm-software-packages-to-debian-deb/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to force caching headers with apache and squid reverse proxy</title><link>http://www.faqforge.com/linux/how-to-force-caching-headers-with-apache-and-squid-reverse-proxy/</link> <comments>http://www.faqforge.com/linux/how-to-force-caching-headers-with-apache-and-squid-reverse-proxy/#comments</comments> <pubDate>Tue, 02 Mar 2010 16:53:08 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Webserver]]></category> <category><![CDATA[apache]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=405</guid> <description><![CDATA[
If you use a squid reverse proxy in front of your apache webserver to reduce the load, it might happen that pages are not cached correctly because the website script running on the apache webserver sends wrong caching headers. I had this problem with a wordpress install, wordpress had always send pragma no-cache headers with [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-force-caching-headers-with-apache-and-squid-reverse-proxy%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-force-caching-headers-with-apache-and-squid-reverse-proxy%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you use a squid reverse proxy in front of your apache webserver to reduce the load, it might happen that pages are not cached correctly because the website script running on the apache webserver sends wrong caching headers. I had this problem with a wordpress install, wordpress had always send pragma no-cache headers with the pages so squid reported a cache miss for every page request. A simple solution for this is to use apache mod_headers to delete the no chache header and replace it with a header for 10 minute cache period.</p><p>First, ensure that mod_herders is enabled. To do this in Debian and Ubuntu, run the command:<br
/><p
class="command">a2enmod headers</p><br
/> Then create a .htaccess file in the website root directoyr which contains the following lines:<br
/><pre><p class="command">Header unset Pragma
Header set Cache-Control &quot;must-revalidate, max-age=0, s-maxage=600&quot;
Header set Vary &quot;Accept-Encoding&quot;</p></pre></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-force-caching-headers-with-apache-and-squid-reverse-proxy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Update ISPConfig 3</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-update-ispconfig-3/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-update-ispconfig-3/#comments</comments> <pubDate>Fri, 19 Feb 2010 13:19:11 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=400</guid> <description><![CDATA[
The ISPConfig update script is a easy way to update a ISPConfig 3 installation. If you want to backup the installation before, take a look at the instructions at the end of the article.
To update ISPConfig 3, login as root user on the shell of your server and run the command:
ispconfig_update.sh
&#62;&#62; Update
Please choose the update [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig3%2Fhow-to-update-ispconfig-3%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig3%2Fhow-to-update-ispconfig-3%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The ISPConfig update script is a easy way to update a ISPConfig 3 installation. If you want to backup the installation before, take a look at the instructions at the end of the article.</p><p>To update ISPConfig 3, login as root user on the shell of your server and run the command:<br
/><p
class="command">ispconfig_update.sh</p><br
/> <span
class="system">&gt;&gt; Update</span><br
/><pre><p class="system">Please choose the update method. For production systems select &#039;stable&#039;.
The update from svn is only for development systems and may break your current setup.</p></pre><br
/><p
class="system">Select update method (stable,svn) [stable]:</p><br
/> You should always select &#8220;stable&#8221; on a production system. The &#8220;svn&#8221; version is only suitable for ISPConfig 3 development.</p><p>The updater will then check the version of your system, download the latest update and starts the update process. In the next step, enter the mysql root password:<br
/><pre><p class="system">This application will update ISPConfig 3 on your server.
MySQL root password []:</p></pre><br
/> Then you were asked if the services shall be reconfigured:<br
/><p
class="system">Reconfigure Services? (yes,no) [yes]:</p><br
/> You should choose &#8220;yes&#8221; here, only if you modified your system configuration manually, it might be better to choose no. But in this case, new features in ISPConfig might not work or functions might stop working until you adjusted the config files manually. So its always a good choice to select &#8216;yes&#8217; here. In the next step, select the ispconfig port:<br
/><p
class="system">ISPConfig Port [8080]:</p><br
/> Port 8080 is the default, if you have not changed it, press enter. Otherwise enter the port number and then press enter. As the last step, you wre asked if the crontab shall get reconfigured, you can select yes here by just pressing return.<br
/><p
class="system">Reconfigure Crontab? (yes,no) [yes]:</p><br
/> The ISPConfig updater will then update the ispconfig files and restart services, if the configuration has been changed.</p><p><strong>Backup before updates<br
/> </strong></p><p>Before you update a software, it is always a good idea to backup all relevant data. This enables you to restore the software version that you had before in case of an error. The steps to create a backup of the ispconfig software and settings are:</p><p>Create a backup folder:<br
/><pre><p class="command">mkdir /home/backup
chmod 700 /home/backup
cd /home/backup</p></pre><br
/> Backup the database<br
/><p
class="command">mysqldump -u root -p dbispconfig &amp;gt; dbispconfig.sql</p><br
/> Backup the ISPConfig software<br
/><p
class="command">tar pcfz ispconfig_software.tar.gz /usr/local/ispconfig</p><br
/> Backup the configuration files in /etc<br
/><p
class="command">tar pcfz etc.tar.gz /etc</p><br
/> This backup does not include the emails and website data.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-update-ispconfig-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Rerun the last command with sudo on the Linux shell</title><link>http://www.faqforge.com/linux/rerun-the-last-command-with-sudo-on-the-linux-shell/</link> <comments>http://www.faqforge.com/linux/rerun-the-last-command-with-sudo-on-the-linux-shell/#comments</comments> <pubDate>Fri, 19 Feb 2010 12:30:39 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Shell]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=397</guid> <description><![CDATA[
Have you ever executed a command on the shell and noticed the that you had to run it with sudo? Instead of typing the command again with &#8220;sudo&#8221; in front of it, just run:
sudo !!
which will execute the command that was run before with sudo. Thanks to Planetfox for this tipp.
]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Frerun-the-last-command-with-sudo-on-the-linux-shell%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Frerun-the-last-command-with-sudo-on-the-linux-shell%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Have you ever executed a command on the shell and noticed the that you had to run it with sudo? Instead of typing the command again with &#8220;sudo&#8221; in front of it, just run:<br
/><p
class="command">sudo !!</p><br
/> which will execute the command that was run before with sudo. Thanks to <a
href="http://www.planetfox.de/" target="_blank">Planetfox</a> for this tipp.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/rerun-the-last-command-with-sudo-on-the-linux-shell/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Keep the spamassassin filter rules up to date in ISPConfig 3</title><link>http://www.faqforge.com/linux/keep-the-spamassassin-filter-rules-up-to-date-in-ispconfig-3/</link> <comments>http://www.faqforge.com/linux/keep-the-spamassassin-filter-rules-up-to-date-in-ispconfig-3/#comments</comments> <pubDate>Fri, 05 Feb 2010 11:06:28 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Spamassassin]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=395</guid> <description><![CDATA[
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 &#38;amp;&#38;gt; /dev/null
and save the file. The path to the sa-update script is /usr/bin/sa-update on Ubuntu and Debian Linux, if you use a different [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fkeep-the-spamassassin-filter-rules-up-to-date-in-ispconfig-3%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fkeep-the-spamassassin-filter-rules-up-to-date-in-ispconfig-3%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>To update the spamassassin rules regularily on your ISPConfig 3 server, add the following line to the root crontab by running:<br
/><p
class="command">crontab -e</p><br
/> then insert the following line:<br
/><p
class="command">23 4 */2 * * /usr/bin/sa-update --no-gpg &amp;amp;&amp;gt; /dev/null</p><br
/> and save the file. The path to the sa-update script is /usr/bin/sa-update on Ubuntu and Debian Linux, if you use a different linux distrubution, run the command:<br
/><p
class="command">which sa-update</p><br
/> to find the location of the sa-update script and adjust the path in the crontab line above so that it matches the path on your system.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/keep-the-spamassassin-filter-rules-up-to-date-in-ispconfig-3/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to kill processes in &#8220;D&#8221; state in Linux?</title><link>http://www.faqforge.com/linux/how-to-kill-processes-in-d-state-in-linux/</link> <comments>http://www.faqforge.com/linux/how-to-kill-processes-in-d-state-in-linux/#comments</comments> <pubDate>Tue, 02 Feb 2010 11:52:32 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Linux & Unix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=393</guid> <description><![CDATA[
If a process is shown with process state &#8220;D&#8221; in tools like ps or top, then its a zombie process. Example:
ps axl &#124; grep DF&#160;&#160; UID&#160;&#160; PID&#160;&#160;PPID PRI&#160;&#160;NI&#160;&#160;&#160;&#160;VSZ&#160;&#160; RSS WCHAN&#160;&#160;STAT TTY&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;TIME COMMAND
4&#160;&#160; 104&#160;&#160;2579&#160;&#160;9109&#160;&#160;20&#160;&#160; 0&#160;&#160; 5024&#160;&#160;2116 refrig D&#160;&#160;&#160;&#160;?&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;0:00 cleanup -z -t unix -u -cZombie processes can not be killed with the normal commands like &#8220;kill -9 [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-kill-processes-in-d-state-in-linux%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-kill-processes-in-d-state-in-linux%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If a process is shown with process state &#8220;D&#8221; in tools like ps or top, then its a zombie process. Example:<br
/><pre><pre dir="ltr">ps axl | grep D

F&nbsp;&nbsp; UID&nbsp;&nbsp; PID&nbsp;&nbsp;PPID PRI&nbsp;&nbsp;NI&nbsp;&nbsp;&nbsp;&nbsp;VSZ&nbsp;&nbsp; RSS WCHAN&nbsp;&nbsp;STAT TTY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TIME COMMAND
4&nbsp;&nbsp; 104&nbsp;&nbsp;2579&nbsp;&nbsp;9109&nbsp;&nbsp;20&nbsp;&nbsp; 0&nbsp;&nbsp; 5024&nbsp;&nbsp;2116 refrig D&nbsp;&nbsp;&nbsp;&nbsp;?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0:00 cleanup -z -t unix -u -c
</pre></pre><br
/> Zombie processes can not be killed with the normal commands like &#8220;kill -9 PID&#8221;, you will have to reboot the system to kill them.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-kill-processes-in-d-state-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to use apt-file to find which .deb package contains a specific file</title><link>http://www.faqforge.com/linux/how-to-use-apt-file-to-find-which-deb-package-contains-a-specific-file/</link> <comments>http://www.faqforge.com/linux/how-to-use-apt-file-to-find-which-deb-package-contains-a-specific-file/#comments</comments> <pubDate>Thu, 21 Jan 2010 09:05:59 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[apt]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=390</guid> <description><![CDATA[
Sometimes you need to know which debian package contains a specific file e.g. because you deleted a system file accidently or you try to install a new software that requires this file. The apt package management utility which is used in Debian and Ubuntu comes with a handy tool called apt-file which allows a saerch [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-use-apt-file-to-find-which-deb-package-contains-a-specific-file%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-use-apt-file-to-find-which-deb-package-contains-a-specific-file%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Sometimes you need to know which debian package contains a specific file e.g. because you deleted a system file accidently or you try to install a new software that requires this file. The apt package management utility which is used in Debian and Ubuntu comes with a handy tool called apt-file which allows a saerch for filenames in the package database.</p><p>Install apt-file<br
/><p
class="command">apt-get install apt-file</p><br
/> Update the apt-file database<br
/><p
class="command">apt-file update</p><br
/> Search for a specific file name, e.g. &#8220;lcrypto&#8221;<br
/><p
class="command">apt-file search /bin/bash</p><br
/><pre><p class="system">apt-file search /bin/bash
bash: /bin/bash
bash: /usr/bin/bashbug
bash-minimal: /bin/bash-minimal
bash-static: /bin/bash-static
bashdb: /usr/bin/bashdb
mybashburn: /usr/bin/bashburn</p></pre></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-use-apt-file-to-find-which-deb-package-contains-a-specific-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 10/29 queries in 0.039 seconds using disk

Served from: v221.ensignweb.de @ 2010-03-11 17:57:15 -->