Mini-Howtos

Want to support HowtoForge? Become a subscriber!
 

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.ctl

You 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: Can't 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 (Can't 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 amavis[31819]: (31819-19) (!!)WARN: all primary virus scanners failed, considering backups

Ubuntu/Postfix/Saslauthd - SASL authentication failure: cannot connect to saslauthd server: Permission denied

Error: Ubuntu/Postfix/Saslauthd - SASL authentication failure: cannot connect to saslauthd server: Permission denied

On a Postfix with SMTP-Auth setup on Ubuntu you see the following error in your mail log:

Apr 26 10:55:19 tcc1 postfix/smtpd[21126]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr 26 10:55:19 tcc1 postfix/smtpd[21126]: warning: SASL authentication failure: Password verification failed
Apr 26 10:55:19 tcc1 postfix/smtpd[21126]: warning: laptop.local[192.168.1.2]: SASL PLAIN authentication failed: generic failure

SquirrelMail - Query: CREATE "Sent" Reason Given: Invalid mailbox name.

Error: SquirrelMail - Query: CREATE "Sent" Reason Given: Invalid mailbox name.

On CentOS/Fedora/RedHat, you see the follwing error message in SquirrelMail after you have logged in:

Query: CREATE "Sent" Reason Given: Invalid mailbox name.

Firefox - Content Encoding Error / Google Chrome - Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

Error: Firefox - Content Encoding Error / Google Chrome - Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

When you open a PHP page in your Firefox, you get the following error:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.

In Google Chrome, you get the following error:

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

Postfix - do not list domain example.com in BOTH mydestination and virtual_mailbox_domains

Error: Postfix - do not list domain example.com in BOTH mydestination and virtual_mailbox_domains

You see the following error in your mail log:

Feb 24 21:42:39 mail postfix/trivial-rewrite[1896]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains

Postfix - mail for example.com loops back to myself

Error: Postfix - mail for example.com loops back to myself

You see the following error in your mail log:

Feb 24 21:42:42 mail postfix/smtp[1911]: 8172723F60: to=<info@example.com>, relay=none, delay=0, status=bounced (mail for example.com loops back to myself)

Debian/Ubuntu - Can't locate LWP/UserAgent.pm in @INC

Error: Debian/Ubuntu - Can't locate LWP/UserAgent.pm in @INC

You get an error like this one:

Can't locate LWP/UserAgent.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.
BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.

PHP - It is not safe to rely on the system's timezone settings.

Error: PHP - It is not safe to rely on the system's timezone settings.

You get the following warning when you run a PHP script:

It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

yum - Warning: RPMDB altered outside of yum

Error: yum - Warning: RPMDB altered outside of yum.

You install a package using yum (on Fedora/CentOS/RedHat) and get the warning:

Warning: RPMDB altered outside of yum.

nginx - 413 Request Entity Too Large

Error: nginx - 413 Request Entity Too Large

You see the following error in your browser when you try to upload a file through http:

413 Request entity Too Large

first page
previous page
4
...
next page
last page