List:Bugs« Previous MessageNext Message »
From:Sergei Golubchik Date:February 27 2004 1:28pm
Subject:Re: wierd error message from mysqld
View as plain text  
Hi!

On Feb 26, Brent Bailey wrote:
> Im running mysql on a Freebsd 4.9.. In going through my logs this
> morning I saw this error.
> I find it odd that mysqd would try to open the /etc/hosts.allow file ..
> this makes me think that someone issued the command through mysql
> .with that in mind.
>  
> 1. Is there a way to get mysqld to log to a specific file ? 

Yes. Run 'mysqld --help' and search for option starting from --log
  
> 2. Does the below error mean that someone tried to access these files
> via mysql commands ?

No.
You probably are using MySQL as compiled from FreeBSD port collection -
and it also means that it is compiled with libwrap support
(try 'ldd mysqld' to know it for certain).

More information at

man 8 tcpd
man 5 hosts_access

> Feb 25 13:44:14 xxx mysqld[175]: warning: /etc/hosts.allow, line 59:
> cannot open /etc/hosts.allow: Permission denied
> Feb 25 13:44:14 xxx mysqld[175]: warning: /etc/hosts.allow, line 59:
> cannot open /etc/hosts.deny: Permission denied

Regards,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/  www.mysql.com
Thread
wierd error message from mysqldBrent Bailey26 Feb
  • Re: wierd error message from mysqldSinisa Milivojevic26 Feb
    • RE: wierd error message from mysqldBrent Bailey26 Feb
      • RE: wierd error message from mysqldSinisa Milivojevic26 Feb
  • Re: wierd error message from mysqldSergei Golubchik27 Feb