Author Archives: hostslb.com

Install Tomcat And Deploy Web Applications With Rex

Install Tomcat And Deploy Web Applications With RexIn this tutorial I will show you how to manage your Tomcat installations and how to deploy Webapps in a repeatable way with Rex. In this tutorial I will use Debian Squeeze, but Rex is also available for other distributions. Introduction to RexRex is a tool, written in Perl, to ease the administration and deployment of many servers.From the Website: With (R)?ex you can manage all your boxes from a central point through the complete process of configuration management and software deployment.The starting point of a Rex project is its Rexfile. Re

Read More »

Debian/Ubuntu – ClamAV-clamd: Can’t connect to UNIX socket /var/run/clamav/clamd.ctl

Error: Debian/Ubuntu – ClamAV-clamd: Can’t connect to UNIX socket /var/run/clamav/clamd.ctlYou get the following errors in your mail log (/var/log/mail.log) on Debian/Ubuntu:Jul 28 22:04:28 server1 amavis[31819]: (31819-19) (!)ClamAV-clamd: Cant connect to UNIX socket /var/run/clamav/clamd.ctl: 2, retrying (2) Jul 28 22:04:34 server1 amavis[31819]: (31819-19) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Cant connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309. Jul 28 22:04:34 server1 amav

Read More »
Changing From Microsoft Windows To Linux Mint 11

Changing From Microsoft Windows To Linux Mint 11

Changing From Microsoft Windows To Linux Mint 11Version 1.0Author: Christian Schmalfeld This is a tutorial for people originally using the Windows Operating
System who want to try out Linux Mint 11. It is supposed to show the
differences and similarities between the two systems and depict Linux’
functions with examples. 1 Preliminary NoteI am using Linux Mint 11 for this tutorial and am referring to
functions of Microsoft Windows XP. I assume you have already fully
installed Linux Mint 11. 2 SimilaritiesThe first thing to notice is that Linux Mint’

Read More »

CentOS – Transaction Check Error : file /usr/bin/shasum from install of perl-Digest-SHA-5.50-1.el5.rf.x86_64 conflicts

Error: CentOS – Transaction Check Error : file /usr/bin/shasum from install of perl-Digest-SHA-5.50-1.el5.rf.x86_64 conflicts with file from package perl-Digest-SHA-PurePerl-5.48-1.el5.rf.noarchYou see the following error:13:30:46 : Transaction Check Error : file /usr/bin/shasum from install of perl-Digest-SHA-5.50-1.el5.rf.x86_64 conflicts with file from package perl-Digest-SHA-PurePerl-5.48-1.el5.rf.noarch SolutionRunyum -y -t -x perl-Digest-SHA upgrade

Read More »

Kernel Compilation – ERROR : “pm_idle” [arch/x86/kernel/apm.ko] undefined!

Kernel Compilation – ERROR : “pm_idle” [arch/x86/kernel/apm.ko] undefined!Error: Kernel Compilation – ERROR : “pm_idle” [arch/x86/kernel/apm.ko] undefined!You try to compile a Linux kernel and get the following errors:ERROR: “pm_idle” [arch/x86/kernel/apm.ko] undefined! ERROR: “default_idle” [arch/x86/kernel/apm.ko] undefined! WARNING: modpost: Found 7 section mismatch(es). To see full details build your kernel with: make CONFIG_DEBUG_SECTION_MISMATCH=y make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/huawei/linux-2.6 make: *** [debian/stamp/bui

Read More »

Apache2 + mod_auth_mysql – Internal error: pcfg_openfile() called with NULL filename

Error: Apache2 + mod_auth_mysql – Internal error: pcfg_openfile() called with NULL filenameYou use Apache2 and mod_auth_mysql to password-protect web folders. In Apache’s error log you see these errors:[Wed Jun 11 17:02:45 2008] [error] Internal error: pcfg_openfile() called with NULL filename [Wed Jun 11 17:02:45 2008] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) SolutionAddAuthBasicAuthoritative Off
AuthUserFile /dev/nullto your mod_auth_mysql configuration and restart Apache.

Read More »

Debian/Apache2/WebDAV – Permission denied: Could not open property database.

Error: Debian/Apache2/WebDAV – Permission denied: Could not open property database.You use Apache2 with WebDAV on Debian and see this in Apache’s error log (/var/log/apache2/error.log):[Wed Jun 11 15:39:04 2008] [error] [client 192.168.0.46] (13)Permission denied: Could not open property database. [500, #1] SolutionThis means that /var/lock/apache2 is not owned by the Apache user (www-data on Debian). You can fix this problem by running:chown www-data /var/lock/apache2

Read More »

Debian Squeeze/Apache2/PHP5 – PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/apache2/conf.d/ming.ini on

Error: Debian Squeeze/Apache2/PHP5 – PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0You see the following lines in Apache’s error log (/var/log/apache2/error.log):PHP Deprecated: Comments starting with # are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with # are deprecated in /etc/php5/apache2/conf.d/ps.ini on line 1 in Unknown on line 0 SolutionOpen /etc/php5/apache2/conf.d/ming.ini:vi /etc/php5/apache2/conf.d/ming.iniThe file looks like this:# con

Read More »