Mini-Howtos

Want to support HowtoForge? Become a subscriber!
 

MySQL - mysqldump: Got error: 1016: Can't open file: './exampledb/xxx.frm' (errno: 24) when using LOCK TABLES

Error: MySQL - mysqldump: Got error: 1016: Can't open file: './exampledb/xxx.frm' (errno: 24) when using LOCK TABLES

You try to create a MySQL database dump and get the following error:

mysqldump -u root -pmysecretpassword --opt exampledb > exampledb.sql

root@server11:/tmp/mysql# mysqldump -u root -pmysecretpassword --opt exampledb > exampledb.sql
mysqldump: Got error: 1016: Can't open file: './exampledb/xxx.frm' (errno: 24) when using LOCK TABLES
root@server1:/tmp/mysql#

Postfix/Dovecot - warning: SASL: Connect to private/auth failed: No such file or directory

Error: Postfix/Dovecot - warning: SASL: Connect to private/auth failed: No such file or directory

You have the following error messages in your mail log:

Aug 23 15:55:01 server1 postfix/smtpd[15194]: warning: SASL: Connect to private/auth failed: No such file or directory
Aug 23 15:55:01 server1 postfix/smtpd[15194]: fatal: no SASL authentication mechanisms
Aug 23 15:55:02 server1 postfix/master[3979]: warning: process /usr/libexec/postfix/smtpd pid 15194 exit status 1
Aug 23 15:55:02 server1 postfix/master[3979]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

SpamAssassin - config: no rules were found! Do you need to run 'sa-update'?

Error: SpamAssassin - config: no rules were found! Do you need to run 'sa-update'?

You run

spamassassin --lint

and get the following output:

[root ~]# spamassassin --lint
config: no rules were found! Do you need to run 'sa-update'?
[root ~]#

Nagios/Icinga (Debian Squeeze) - NRPE: Command 'check_procs' not defined

Error: Nagios/Icinga (Debian Squeeze) - NRPE: Command 'check_procs' not defined

You monitor a remote server with Nagios or Icinga and see the following errors in your Nagios/Icinga web interface:

NRPE: Command 'check_all_disks' not defined
NRPE: Command 'check_mysql_cmdlinecred' not defined
NRPE: Command 'check_procs' not defined

Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

Error: Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

You monitor a remote server with Nagios or Icinga and see the following error in your Nagios/Icinga web interface:

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

In /var/log/syslog on the remote server you see these messages:

Aug 23 14:20:20 server2 nrpe[11496]: Error: Request contained command arguments, but argument option is not enabled!
Aug 23 14:20:20 server2 nrpe[11496]: Client request was invalid, bailing out...

Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Error - Could not complete SSL handshake.

Error: Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Error - Could not complete SSL handshake.

You try to connect from your Nagios/Icinga host to a remote Nagios NRPE server like this...

/usr/lib/nagios/plugins/check_nrpe -H 9.8.7.6

... and get the following error:

root@server1:/etc/nagios-plugins/config# /usr/lib/nagios/plugins/check_nrpe -H 9.8.7.6
CHECK_NRPE: Error - Could not complete SSL handshake.
root@server1:/etc/nagios-plugins/config#

OpenSUSE - Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory

Error: OpenSUSE - Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory

You get the following error in your mail log:

Jul 7 09:13:35 hades amavis[21674]: (21674-01) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory) at (eval 101) line 325.

Postfix/amavisd - connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Error: Postfix/amavisd - connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

You use a Postfix setup with amavisd-new and get the following errors in your mail log:

Aug 17 14:58:33 server1 postfix/smtp[5993]: F0C57124E77: to=<info@example.com>, relay=none, delay=2524, delays=2524/0.27/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Or:

Aug 17 09:42:24 server1 postfix/error[7809]: 15D54124E53: to=<info@example.com>, relay=none, delay=269, delays=0.49/269/0/0.04, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)

Apache2 - mod_fcgid: HTTP request length exceeds MaxRequestLen

Error: Apache2 - mod_fcgid: HTTP request length exceeds MaxRequestLen

You try to upload a file through http to your web site running on Apache2/PHP5/mod_fcgid, and in your browser you get the error:

Error 500, Internal server error

In Apache's error log you see something like

[Thu Jan 27 15:14:15 2011] [warn] [client 192.168.1.151] mod_fcgid: HTTP request length 131484 (so far) exceeds MaxRequestLen (131072), referer: ...

Fedora 15 - ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

Error: Fedora 15 - ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory

While you run virt-manager on a Fedora 15 desktop and try to connect to a KVM host, you get the following error message:

cannot recv data: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Host key verification failed.
: Connection reset by peer

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1055, in _try_open
    None], flags)
  File "/usr/lib/python2.7/site-packages/libvirt.py", line 107, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: cannot recv data: ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Host key verification failed.
: Connection reset by peer

first page
previous page
3
...
next page
last page