Hi everyone!

  I'm trying to start a jailed mysql-max (snapshot 5.0) inside a chrooted
environment, and is not working. I'm not using the --chroot parameter,
because I want to get this implementation fully isolated to run another
(stable) version in the same server, without getting in trouble.
  This environment is shared with a (running flawless) apache server. I
followed all installation steps (twice) from the documentation and it's
still doing the same. When it starts (within the jail):

  /usr/local/mysql/bin/mysqld_safe --user=mysql

 it ends immediately, with the same error in the log:

--------------------------------8<--------------------------------------
041019 01:14:18  mysqld started
041019  1:14:18  Can't start server : Bind on unix socket: Permission denied
041019  1:14:18  Do you already have another mysqld server running on
socket: /usr/local/mysql/data/mysql.sock ?
041019  1:14:18  Aborting

041019  1:14:18  /usr/local/mysql/bin/mysqld: Shutdown complete

041019 01:14:18  mysqld ended
------------------------------------------------------------------------

  Of course, there's no other mysql running yet (and I mean not running
even in the real root environment), so I'm confusing about this error
message.

  The file/dirs permissions are set like this:

drwxr-xr-x   14 mysql    mysql        4096 Jul 27 22:53 ./
drwxr-xr-x    3 root     root         4096 Oct 19 00:31 ../
-rw-r--r--    1 mysql    mysql       22639 Jul 27 09:22 COPYING
-rw-r--r--    1 mysql    mysql        8361 Jul 27 09:22 INSTALL-BINARY
-rw-r--r--    1 mysql    mysql        1937 Jul 27 08:14 README
drwxr-xr-x    2 mysql    mysql        4096 Oct 19 03:23 bin/
-rwxr-xr-x    1 mysql    mysql         801 Jul 27 22:53 configure*
drwxr-x---    4 mysql    mysql        4096 Oct 19 03:30 data/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 docs/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 include/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 lib/
drwxr-xr-x    3 mysql    mysql        4096 Jul 27 22:53 man/
drwxr-xr-x    6 mysql    mysql        4096 Jul 27 22:53 mysql-test/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 scripts/
drwxr-xr-x    3 mysql    mysql        4096 Jul 27 22:53 share/
drwxr-xr-x    5 mysql    mysql        4096 Jul 27 22:53 sql-bench/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 support-files/
drwxr-xr-x    2 mysql    mysql        4096 Jul 27 22:53 tests

  I set the user/group as in the manual originally and it didn't run
anyway, so I changed permissions of everything (all dirs and files from
the installation) to mysql:mysql, set the --socket and --user params,
and nothing. The environment permissions are set normally (for a jail),
and the apache server is running without problems...
  I think there must be a permissions issue, but now I'm not sure...
  Any ideas will be highly appreciated.
  Thanks!

Best Regards,
   Gustavo Castro.
   Senior System Administrator.
   G.C.P. Software.

LPI Level-1 Certified (https://www.lpi.org/es/verify.html
LPID:LPI000042304 Verification Code: hp6re8w5qg )
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/IT/ED dx s-:- a? C(+++)$ UL++++*$ P+ L++++(++)$ E--- W+++$ N+ o?
K- w O M V-- PS PE++(-) Y-(+) PGP+ t(++) 5+ X++ R tv+ b++(++++) DI+++ D++
G++ e++ h--- r y+++
------END GEEK CODE BLOCK------
Registered Linux User #69342


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to