<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>David Hrbáč</title>
	<link>http://www.hrbac.cz</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 30 Aug 2010 08:08:44 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>avgd stops listening on port 54322</title>
		<description><![CDATA[Last days I&#8217;m experiencing avgd not responding. Avgd stops to listen on port 54322, amavisd-new timeouts on talking to AV. Mails are being held and queue is slowly increasing its number. It&#8217;s strange, that I&#8217;m experiencing it not only on one production system&#8230;

Aug 29 04:59:46 rakosnicek amavis&#91;25940&#93;: &#40;25940-01-5&#41; &#40;!&#41;AVG Anti-Virus av-scanner FAILED: run_av error: Too [...]]]></description>
		<link>http://www.hrbac.cz/2010/08/avgd-stops-listening-on-port-54322/</link>
			</item>
	<item>
		<title>Firefox 3.6.2 and Thunderbird 3.0.3 for CentOS 5.4</title>
		<description><![CDATA[It&#8217;s a quite long time I have announced Firefox 3.6 and Thunderbird 3.0 packages for CentOS 5.  Announcement has been submitted via CentOS mail-list. See http://lists.centos.org/pipermail/centos-devel/2010-February/005416.html and http://lists.centos.org/pipermail/centos/2010-February/090418.html.
Packages have been tested by users and have been always within the testing repository only. Today I&#8217;m pushing new firefox 3.6.2 into the stable repository together with xulrunner, [...]]]></description>
		<link>http://www.hrbac.cz/2010/03/firefox-3-6-2-and-thunderbird-3-0-3-for-centos-5-4/</link>
			</item>
	<item>
		<title>Nagios and dpt-i2o-raidutils, raidutil check</title>
		<description><![CDATA[We do check our production boxes with hardware raid cards on raid status. We are using our script to call raidutil, which is running fine, but not under nagios user. Permissions for the files are as follows:

-rwxr-xr-x 1 root root 254708 Aug 20  2008 raideng
-rwxr-xr-x 1 root root 255880 Aug 20  2008 raidutil

Solution [...]]]></description>
		<link>http://www.hrbac.cz/2010/02/nagios-and-dpt-i2o-raidutils-raidutil-check/</link>
			</item>
	<item>
		<title>Sed to correct path lines</title>
		<description><![CDATA[Sed one-liner to change correct paths. Before:

php_admin_value open_basedir /srv/www/www.domena.tld/www

After:

php_admin_value open_basedir /srv/www/www.domena.tld

Sed script:

sed -i &#34;s/\(.*\)php_admin_value open_basedir \(.*\)\/www$/\1php_admin_value open_basedir \2/g&#34; /etc/httpd/conf/httpd.conf

]]></description>
		<link>http://www.hrbac.cz/2010/02/sed-to-correct-path-lines/</link>
			</item>
	<item>
		<title>Upgrade DAViCal 0.9.7.2 to 0.9.8</title>
		<description><![CDATA[DAViCal upgrade is quite easy:

&#91;root@fs12 html&#93; wget http://debian.mcmillan.net.nz/packages/davical/davical_0.9.8.orig.tar.gz
&#91;root@fs12 html&#93; tar xvzf davical_0.9.8.orig.tar.gz
&#91;root@fs12 html&#93; cd davical-0.9.8.orig/dba
&#91;root@fs12 dba&#93; su postgres
bash-3.00$ ./update-davical-database 
The database is version 8.1 currently at revision 1.2.5.
Applying patch 1.2.6.sql ... succeeded.
Applying patch 1.2.7.sql ... succeeded.
Successfully applied 2 patches.
Supported locales updated.
Updated view: dav_principal.sql applied.
CalDAV functions updated.
RRULE functions updated.
Database permissions updated.
bash-3.00$ exit
&#91;root@fs12 html&#93; ln -s davical-0.9.8.orig [...]]]></description>
		<link>http://www.hrbac.cz/2010/02/upgrade-davical-0-9-7-2-to-0-9-8/</link>
			</item>
	<item>
		<title>Zoner Antivirus with Amavisd-new</title>
		<description><![CDATA[Today I have decided to test Amavisd-new with free Zoner Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration.

wget http://update.zonerantivirus.com/download/zav-1.2.2-redhat-i586.rpm --nodeps
rpm -Uhv zav-1.2.2-redhat-i586.rpm --test
rpm -Uhv zav-1.2.2-redhat-i586.rpm
chown amavis: /opt/zav -R
chown amavis: /var/run/zav -R
vi /etc/zav/zavd.conf

So, we have changed the ownership. Now we have [...]]]></description>
		<link>http://www.hrbac.cz/2010/02/zoner-antivirus-with-amavisd-new/</link>
			</item>
	<item>
		<title>Send file as attachment from commnad line</title>
		<description><![CDATA[There&#8217;s an easy way of sending files as attachment from command line:

uuencode file name &#124; mail -s &#34;Subject&#34; &#34;to@tld.cz&#34;  -- -ffrom@tld.cz

Yes, there is double hyphen and -f before the from email address.
]]></description>
		<link>http://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/</link>
			</item>
	<item>
		<title>pure-ftpd with geoip</title>
		<description><![CDATA[During the last few weeks we are experiencing compromised FTP accounts within our production. These accounts seem to be stolen from infected Windows client machines, infected by malware or trojans. As far as I know the issues, everyone of them is using Total Commander&#8230; TC seems to save the credentials in plain text form, unencrypted. [...]]]></description>
		<link>http://www.hrbac.cz/2009/10/pure-ftpd-with-geoip/</link>
			</item>
	<item>
		<title>AVG 8.5 with Amavisd-new</title>
		<description><![CDATA[Amavisd-new is  a quite powerful tool capable to co-operate with a large amount of AV scanners. Today I have decided to test it with free AVG Antivirus for Linux. First of all you have to download the package, (test it), install, and change the ownership. Then edit the configuration.

wget http://download.avgfree.com/filedir/inst/avg85flx-r287-a2632.i386.rpm
rpm -Uhv avg85flx-r287-a2632.i386.rpm --test
rpm -Uhv [...]]]></description>
		<link>http://www.hrbac.cz/2009/10/avg-8-5-with-amavisd-new/</link>
			</item>
	<item>
		<title>Benchmarking php with apc, memcached</title>
		<description><![CDATA[As we are very extensively using  techniques to speed up web applications we build or host, I&#8217;d like to share some benchmarks. One of our clients is running site on our machines which is using SOAP/WSDL to get data. The application is extremely  slow, result are very poor.
Apache is able to server this [...]]]></description>
		<link>http://www.hrbac.cz/2009/09/benchmarking-php-with-apc-memcached/</link>
			</item>
</channel>
</rss>
