<?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>Enrico Tenivella &#187; Linux</title>
	<atom:link href="http://www.texilee.it/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.texilee.it</link>
	<description>Diario di bordo di un sistemista</description>
	<lastBuildDate>Thu, 19 May 2011 08:42:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>lofix channel Revolution OS</title>
		<link>http://www.texilee.it/lofix-channel-revolution-os</link>
		<comments>http://www.texilee.it/lofix-channel-revolution-os#comments</comments>
		<pubDate>Tue, 15 Jun 2010 19:48:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=326</guid>
		<description><![CDATA[Watch live streaming video from lofixchannel at livestream.com]]></description>
			<content:encoded><![CDATA[<p><object id="lsplayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="src" value="http://cdn.livestream.com/grid/LSPlayer.swf?channel=lofixchannel&amp;clip=pla_8c6a100c-51e1-45aa-8542-d530ae4d8dc1&amp;autoPlay=false" /><param name="name" value="lsplayer" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed id="lsplayer" type="application/x-shockwave-flash" width="560" height="340" src="http://cdn.livestream.com/grid/LSPlayer.swf?channel=lofixchannel&amp;clip=pla_8c6a100c-51e1-45aa-8542-d530ae4d8dc1&amp;autoPlay=false" wmode="transparent" name="lsplayer" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<div style="font-size: 11px; padding-top: 10px; text-align: center; width: 560px;">Watch <a title="live streaming video" href="http://www.livestream.com/?utm_source=lsplayer&amp;utm_medium=embed&amp;utm_campaign=footerlinks">live streaming video</a> from <a title="Watch lofixchannel at livestream.com" href="http://www.livestream.com/lofixchannel?utm_source=lsplayer&amp;utm_medium=embed&amp;utm_campaign=footerlinks">lofixchannel</a> at livestream.com</div>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/lofix-channel-revolution-os/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql master master quick skip</title>
		<link>http://www.texilee.it/mysql-master-master-quick-skip</link>
		<comments>http://www.texilee.it/mysql-master-master-quick-skip#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:59:03 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql quick skip]]></category>

		<guid isPermaLink="false">http://www.texilee.it/2009/11/20/linux/mysql-master-master-quick-skip/</guid>
		<description><![CDATA[>&#1089;&#1087;&#1072;&#1083;&#1085;&#1080; &#1082;&#1086;&#1084;&#1087;&#1083;&#1077;&#1082;&#1090;&#1080; slave; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 2 ; start slave; show slave status\G;]]></description>
			<content:encoded><![CDATA[<p>><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://www.videnov.com/">&#1089;&#1087;&#1072;&#1083;&#1085;&#1080; &#1082;&#1086;&#1084;&#1087;&#1083;&#1077;&#1082;&#1090;&#1080;</a></font> slave;  SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 2 ; start slave; show slave status\G;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/mysql-master-master-quick-skip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RBL list &#8211; check ip address</title>
		<link>http://www.texilee.it/rbl-list-check-ip-address</link>
		<comments>http://www.texilee.it/rbl-list-check-ip-address#comments</comments>
		<pubDate>Tue, 13 Oct 2009 08:03:12 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/2009/10/13/linux/rbl-list-check-ip-address/</guid>
		<description><![CDATA[http://whatismyipaddress.com/staticpages/index.php/is-my-ip-address-blacklisted]]></description>
			<content:encoded><![CDATA[<p>http://whatismyipaddress.com/staticpages/index.php/is-my-ip-address-blacklisted</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/rbl-list-check-ip-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/etc/hylafax/hosts.hfaxd: No such file or directory</title>
		<link>http://www.texilee.it/etchylafaxhostshfaxd-no-such-file-or-directory</link>
		<comments>http://www.texilee.it/etchylafaxhostshfaxd-no-such-file-or-directory#comments</comments>
		<pubDate>Fri, 03 Apr 2009 10:03:47 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[[RISOLTO]]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=281</guid>
		<description><![CDATA[Unable to open the user access file /etc/hylafax/hosts.hfaxd: No such file or directory $ls -la /etc/hylafax/hosts.hfaxd -rw&#8212;&#8212;- 1 uucp root 362 2009-04-03 11:01 /etc/hylafax/hosts.hfaxd Hylafax Debian Etch search for /var/spool/hylafax/etc/hylafax/hosts.hfaxd NOT for  /etc/hylafax/hosts.hfaxd simply - create dir /var/spool/hylafax/etc/hylafax/ - create soft link like /var/spool/hylafax/etc/hylafax# ls -al lrwxrwxrwx 1 root root   24 2009-04-03 11:03 hosts.hfaxd -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Unable to open the user access file /etc/hylafax/hosts.hfaxd: No such file or directory</p>
<p>$ls -la /etc/hylafax/hosts.hfaxd<br />
-rw&#8212;&#8212;- 1 uucp root 362 2009-04-03 11:01 /etc/hylafax/hosts.hfaxd</p>
<p>Hylafax Debian Etch search for</p>
<p>/var/spool/hylafax/etc/hylafax/hosts.hfaxd</p>
<p>NOT for  /etc/hylafax/hosts.hfaxd</p>
<p>simply<br />
- create dir /var/spool/hylafax/etc/hylafax/<br />
- create soft link like</p>
<p>/var/spool/hylafax/etc/hylafax# ls -al<br />
lrwxrwxrwx 1 root root   24 2009-04-03 11:03 hosts.hfaxd -&gt; /etc/hylafax/hosts.hfaxd</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/etchylafaxhostshfaxd-no-such-file-or-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proftpd lock root allow resume &#8211; block per ip</title>
		<link>http://www.texilee.it/proftpd-lock-root-allow-resume-block-per-ip</link>
		<comments>http://www.texilee.it/proftpd-lock-root-allow-resume-block-per-ip#comments</comments>
		<pubDate>Tue, 03 Mar 2009 09:01:31 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=279</guid>
		<description><![CDATA[DefaultRoot                     ~ RequireValidShell               off TimesGMT                        off AllowRetrieveRestart            on AllowStoreRestart               on &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; block external login selective &#60;IfUser user1&#62; &#60;Limit LOGIN&#62; order allow,deny allow from all deny all &#60;/Limit&#62; &#60;/IfUser&#62; &#60;IfUser user2&#62; &#60;Limit LOGIN&#62; order allow,deny allow from all deny all &#60;/Limit&#62; &#60;/IfUser&#62; &#60;IfUser AND !user1 !user2&#62; &#60;Limit LOGIN&#62; order allow,deny allow from192.168.26.0/24 deny all &#60;/Limit&#62; &#60;/IfUser&#62;]]></description>
			<content:encoded><![CDATA[<p>DefaultRoot                     ~<br />
RequireValidShell               off<br />
TimesGMT                        off<br />
AllowRetrieveRestart            on<br />
AllowStoreRestart               on</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>block external login selective</p>
<p>&lt;IfUser user1&gt;<br />
&lt;Limit LOGIN&gt;<br />
order allow,deny<br />
allow from all<br />
deny all<br />
&lt;/Limit&gt;<br />
&lt;/IfUser&gt;</p>
<p>&lt;IfUser user2&gt;<br />
&lt;Limit LOGIN&gt;<br />
order allow,deny<br />
allow from all<br />
deny all<br />
&lt;/Limit&gt;<br />
&lt;/IfUser&gt;</p>
<p>&lt;IfUser AND !user1 !user2&gt;</p>
<p>&lt;Limit LOGIN&gt;<br />
order allow,deny<br />
allow from192.168.26.0/24<br />
deny all<br />
&lt;/Limit&gt;<br />
&lt;/IfUser&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/proftpd-lock-root-allow-resume-block-per-ip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The syntax for replication startup options is deprecated</title>
		<link>http://www.texilee.it/the-syntax-for-replication-startup-options-is-deprecated</link>
		<comments>http://www.texilee.it/the-syntax-for-replication-startup-options-is-deprecated#comments</comments>
		<pubDate>Tue, 03 Mar 2009 08:55:13 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=277</guid>
		<description><![CDATA[#sql instruction CHANGE MASTER TO MASTER_HOST=&#8217;192.152.105.4&#8242;, MASTER_PORT=3306,MASTER_USER=slave&#8217;, MASTER_PASSWORD=&#8217;pwextra&#8217;,MASTER_SSL=1,MASTER_SSL_CA=&#8217;/etc/ssl/certs/cacert.pem&#8217;, MASTER_SSL_CAPATH =&#8217;/etc/ssl/certs&#8217;,MASTER_SSL_CERT = &#8216;/etc/ssl/certs/mysqlextraslave-cert.pem&#8217;, MASTER_SSL_KEY = &#8216;/etc/mysql/mysqlextraslave-key.pem&#8217;; Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication startup options is deprecated and will be removed in MySQL 5.2. Please use &#8216;CHANGE MASTER&#8217; instead. Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication [...]]]></description>
			<content:encoded><![CDATA[<p>#sql instruction</p>
<p>CHANGE MASTER TO MASTER_HOST=&#8217;192.152.105.4&#8242;, MASTER_PORT=3306,MASTER_USER=slave&#8217;,<br />
MASTER_PASSWORD=&#8217;pwextra&#8217;,MASTER_SSL=1,MASTER_SSL_CA=&#8217;/etc/ssl/certs/cacert.pem&#8217;,<br />
MASTER_SSL_CAPATH =&#8217;/etc/ssl/certs&#8217;,MASTER_SSL_CERT = &#8216;/etc/ssl/certs/mysqlextraslave-cert.pem&#8217;,<br />
MASTER_SSL_KEY = &#8216;/etc/mysql/mysqlextraslave-key.pem&#8217;;</p>
<p>Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication startup options is deprecated and will be removed in MySQL 5.2. Please use &#8216;CHANGE MASTER&#8217; instead.<br />
Feb 18 12:20:15 extra mysqld_safe[24001]: 090218 12:20:15 [Warning] The syntax for replication startup options is deprecated and will be removed in MySQL 5.2. Please use &#8216;CHANGE MASTER&#8217; instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/the-syntax-for-replication-startup-options-is-deprecated/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CLI Debian Etch amd64 Adaptec  HP SATA RAID 2610SA</title>
		<link>http://www.texilee.it/cli-debian-etch-amd64-adaptec-hp-sata-raid-2610sa</link>
		<comments>http://www.texilee.it/cli-debian-etch-amd64-adaptec-hp-sata-raid-2610sa#comments</comments>
		<pubDate>Fri, 23 May 2008 10:34:58 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=254</guid>
		<description><![CDATA[DEBIAN Command Line Interfaces HP SATA RAID 2610SA CLI GUIDE Adaptec/Management_Software/Command_Line_Interface_for_Internal_RAID_Users_Guide.pdf START wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v5_20_17414.rpm alien -s asm_linux_x64_v5_20_17414.rpm dpkg -i storman_5.20-1_amd64.deb cd /usr/StorMan chmod +x /usr/StorMan/arcconf DEVICE STATUS for raid #1 ++++++++++++++++++++++++++++ /usr/StorMan# ./arcconf GETSTATUS 1 Controllers found: 1 Logical device Task: Logical device : 0 Task ID : 102 Current operation : Build/Verify Status : [...]]]></description>
			<content:encoded><![CDATA[<p>DEBIAN Command Line Interfaces HP SATA RAID 2610SA</p>
<p>CLI GUIDE</p>
<p><a href="http://download.viglen.co.uk/files/RAID/Adaptec/Management_Software/Command_Line_Interface_for_Internal_RAID_Users_Guide.pdf"><br />
Adaptec/Management_Software/Command_Line_Interface_for_Internal_RAID_Users_Guide.pdf</a></p>
<p>START</p>
<p><code>wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v5_20_17414.rpm</code></p>
<p><code>alien -s asm_linux_x64_v5_20_17414.rpm </code></p>
<p><code>dpkg -i storman_5.20-1_amd64.deb</code><br />
<code><br />
cd /usr/StorMan<br />
chmod +x  /usr/StorMan/arcconf<br />
</code></p>
<p>DEVICE STATUS for raid #1</p>
<p>++++++++++++++++++++++++++++<br />
<code>/usr/StorMan# ./arcconf GETSTATUS 1</code></p>
<p>Controllers found: 1<br />
Logical device Task:<br />
Logical device                 : 0<br />
Task ID                        : 102<br />
Current operation              : Build/Verify<br />
Status                         : In Progress<br />
Priority                       : High<br />
Percentage complete            : 38</p>
<p>Command completed successfully.<br />
++++++++++++++++++++++++++++++</p>
<p>&#8220;sort&#8221; path issue so make a soft link&#8230;</p>
<p><code>ln -s /usr/bin/sort  /bin/sort </code></p>
<p>++++++++++++++++++++++++++++<br />
<code>./arcconf  GETVERSION 1</code><br />
Controllers found: 1<br />
Controller #1<br />
==============<br />
Firmware           : 4.2-1 (7368)<br />
BIOS               : 4.2-1 (7368)<br />
Driver             : 1.1-5 (2409)<br />
Boot Flash         : 0.0-0 (0)<br />
++++++++++++++++++++++++++++</p>
<p><a href="http://wiki.debian.org/LinuxRaidForAdmins">Debian WIKILinuxRaidForAdmins</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/cli-debian-etch-amd64-adaptec-hp-sata-raid-2610sa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v5_20_17414.rpm" length="47596537" type="audio/x-pn-realaudio-plugin" />
		</item>
		<item>
		<title>Cambiare UID  GID  utente SuExEc</title>
		<link>http://www.texilee.it/cambiare-uid-gid-utente-suexec</link>
		<comments>http://www.texilee.it/cambiare-uid-gid-utente-suexec#comments</comments>
		<pubDate>Tue, 15 Apr 2008 18:52:22 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[change uid gid cambio utente gruppo id]]></category>
		<category><![CDATA[suexec apache apache2]]></category>

		<guid isPermaLink="false">http://www.texilee.it/?p=250</guid>
		<description><![CDATA[Capita di rimanere tagliati fuori dalle politiche di restrizione della tecnologia SUEXEC o simili a causa di una configurazione poco attenta Metodo brutale per cambiare uid di texilee/texilee da 100 a 7771 /usr/sbin/groupmod -g 7771 texilee /usr/sbin/usermod -u 7771 texilee find / -uid 100 -exec chown texilee{} \; find / -gid 100 -exec chgrp texilee{} [...]]]></description>
			<content:encoded><![CDATA[<p>Capita di rimanere tagliati fuori dalle politiche di restrizione<br />
della tecnologia SUEXEC o simili a causa di una configurazione<br />
poco attenta</p>
<p>Metodo <strong>brutale</strong> per cambiare uid di texilee/texilee da 100 a 7771</p>
<pre><code>
/usr/sbin/groupmod -g 7771 texilee
/usr/sbin/usermod -u 7771 texilee
find / -uid 100 -exec chown </code><code>texilee</code><code>{} \;
find / -gid 100 -exec chgrp </code><code>texilee</code><code>{} \;
</code></pre>
<p>Se avete &#8220;hardcodato&#8221; il vostro uid numerico in qualche binario<br />
o script dovrete provvedere modificandoli a manina!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/cambiare-uid-gid-utente-suexec/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux flash player audio problemi firefox</title>
		<link>http://www.texilee.it/linux-flash-player-audio-problemi-firefox</link>
		<comments>http://www.texilee.it/linux-flash-player-audio-problemi-firefox#comments</comments>
		<pubDate>Wed, 05 Dec 2007 10:26:17 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/2007/12/05/linux/linux-flash-player-audio-problemi-firefox/</guid>
		<description><![CDATA[Problema: non riesco a sentire l&#8217;audio dai filmati in flash da firefox o iceweasel, tutto il resto funziona video, mp3 . Anche Skype mi da lo stesso problema. Uso Debian Etch , KDE, configurazione automatica dell&#8217;ambiente sonoro (ALSA). Lanciando iceweasel ( firefox in Debian) da console quando cerco di vedere un video su youtube trovo [...]]]></description>
			<content:encoded><![CDATA[<p>Problema: non riesco a sentire l&#8217;audio dai filmati in flash da firefox o iceweasel, tutto il resto funziona video, mp3 . Anche Skype mi da lo stesso problema. Uso Debian Etch , KDE, configurazione automatica dell&#8217;ambiente sonoro (ALSA).  Lanciando iceweasel ( firefox in Debian) da console  quando cerco di vedere un video su youtube trovo questa serie di errori:<br />
<code>ALSA lib pcm_hw.c:1355:(_snd_pcm_hw_open) Invalid value for card<br />
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'<br />
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device<br />
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings<br />
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device<br />
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name<br />
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device<br />
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device<br />
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default<br />
ALSA lib pcm_hw.c:1355:(_snd_pcm_hw_open) Invalid value for card<br />
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'</code></p>
<p>Il problema sembra non dipendere nè dal flash player nè da problemi hw nè dal browser ma da una superficiale configurazione di <strong>ALSA</strong></p>
<p>$lspci</p>
<p>00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC&#8217;97 Audio (rev 12)</p>
<p>La scheda audio che voglio utilizzare è integrata sulla  scheda madre,  provo a configurare ALSA per superare questa fase da &#8221; <code><em>No such device</em> " </code></p>
<p>Trovo l&#8217;utility in</p>
<p><strong>alsaconf</strong> &#8211; configuration tool for the Advanced Linux Sound Architecture</p>
<p>e lancio</p>
<p><strong># alsaconf</strong></p>
<p><img src="http://www.tenivella.it/wp-content/uploads/2007/12/alsaconf.png" alt="alsaconf" /></p>
<p>Seleziono la &#8220;periferica&#8221; Intel e procedo nella configurazione delegando il tool all&#8217;editing della configurazione dei moduli (YES sulla schermata dialog successiva)</p>
<p>Il tool termina il suo operato</p>
<p><em>Running update-modules&#8230;<br />
Loading driver&#8230;<br />
Setting default volumes&#8230;</em></p>
<p><em>===============================================================================</em></p>
<p><em>Now ALSA is ready to use.<br />
For adjustment of volumes, use your favorite mixer.</em></p>
<p><em>Have a lot of fun!</em></p>
<p>ed effettivamente sia i video flash su browser che le notifiche sonore di Skype funzionano.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/linux-flash-player-audio-problemi-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clamav-daemon check script</title>
		<link>http://www.texilee.it/clamav-daemon-check-script</link>
		<comments>http://www.texilee.it/clamav-daemon-check-script#comments</comments>
		<pubDate>Tue, 18 Sep 2007 16:09:18 +0000</pubDate>
		<dc:creator>texilee</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.texilee.it/2007/09/18/linux/clamav-daemon-check-script/</guid>
		<description><![CDATA[Negli ultimi tempi su una macchina molto stressata ho disabilitato l&#8217;opzione di freshclam che imponeva il reload delle signature a clamd, commentandola #NotifyClamd /etc/clamav/clamd.conf Ho inoltre abbassato il tempo dell&#8217;opzione SelfCheck di clamd a 1800. Il problema era molto grave perchè i processi clamd sparivano senza lasciare traccia (solo il logging di grsec mi segnalava [...]]]></description>
			<content:encoded><![CDATA[<p>Negli ultimi tempi su una macchina molto stressata ho disabilitato l&#8217;opzione di freshclam che imponeva il reload delle signature a clamd, commentandola</p>
<p><code>#NotifyClamd /etc/clamav/clamd.conf</code></p>
<p>Ho inoltre abbassato il tempo dell&#8217;opzione  SelfCheck di clamd a 1800.</p>
<p>Il problema era molto grave perchè i processi clamd sparivano senza lasciare traccia (solo il logging di grsec mi segnalava il segmentation fault) mentre il socket rimaneva aperto, facendo andare in &#8220;palla&#8221; pure simscan.</p>
<p>Non sono riuscito a risolvere in maniera pulitissima  e prima di cantare vittoria ho preparato uno script che controlla esistenza di pid, processi, socket e nel peggiore dei casi si occupa di fare un restart di clamd</p>
<p>Il codice per contare il numero dei processi (anche spamassassin gira sotto clamav)</p>
<p><code>ssh texilee.it ps --User=clamav u| grep /usr/sbin/clamd |wc -l</code></p>
<p>Dopodichè se tutti i test di &#8220;vita&#8221; falliscono forzo il restart del demone.</p>
<p>Se qualcuno ha lo stesso problema (magari..) o vuole cimentarsi nel debugging mi può rispondere sul blog o via mail o <a href="http://forums.grsecurity.net/viewtopic.php?t=1803">qui</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.texilee.it/clamav-daemon-check-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

